4 Replies Latest reply: Aug 7, 2012 1:48 AM by User332967 RSS

    OutOfMemoryError: Java heap space

    User332967
      Hi There
      i am facing som problem in my one of concurrent manager (Output Post Processor) and its showing value of Actual 2 and Target 3 and getting some exception in one of process's log which as follwos.

      Exception in thread "PacketReceiver for [172.20.2.11:15028]" java.lang.OutOfMemoryError: Java heap space
           at java.net.SocketInputStream.read(SocketInputStream.java:181)
           at oracle.ias.cache.group.HttpHandler.read(Unknown Source)
           at oracle.ias.cache.group.StreamHandler.read(Unknown Source)
           at oracle.ias.cache.group.EndPoint.read(Unknown Source)
           at oracle.ias.cache.group.PacketReceiver.run(Unknown Source)
      Exception in thread "OPPAQMON:206703" java.lang.OutOfMemoryError: Java heap space
           at oracle.jdbc.driver.T4CMAREngine.unmarshalDALC(T4CMAREngine.java:2125)
           at oracle.jdbc.driver.T4C8TTIrxh.unmarshalV10(T4C8TTIrxh.java:119)
           at oracle.jdbc.driver.T4CTTIiov.unmarshalV10(T4CTTIiov.java:188)
           at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:614)
           at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:191)
           at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:950)
           at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1225)
           at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387)
           at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3488)
           at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:3857)
           at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
           at oracle.apps.fnd.cp.opp.OPPAQMonitor.waitForMessage(OPPAQMonitor.java:429)
           at oracle.apps.fnd.cp.opp.OPPAQMonitor.run(OPPAQMonitor.java:114)
           at java.lang.Thread.run(Thread.java:619)
      please help me out how to resolved this issue.

      Application: Oracle Ebs-R12(12.1.2)
      DB: 11.1.0.7
      OS: linux 5*86x64

      Waiting for valuable response.

      Regards,
      Mohsin
        • 1. Re: OutOfMemoryError: Java heap space
          Vijay.Cherukuri-Oracle
          Hi,

          1 . Increase the heap size allocated for OPP

          or tune your request / concurrent program to avoid this error.

          Also please see bellow MOS doc ID s


          Output Post Processor Fails Due To java.lang.OutOfMemoryError [ID 371303.1]     To Bottom     

          Output Post Processor (OPP) Log Contains Error "java.lang.OutOfMemoryError" [ID 1266368.1]

          --Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
          • 2. Re: OutOfMemoryError: Java heap space
            Hussein Sawwan-Oracle
            Mohsin,

            In addition to the docs referenced above (by Vijay), please see:

            Output Post Processor (OPP) Log Contains Error "java.lang.OutOfMemoryError: Java heap space" [ID 1268217.1]
            How to Configure the Account Analysis Report in Release 12 for Large Reports [ID 737311.1]
            R12: Troubleshooting Known XML Publisher and E-Business Suite (EBS) Integration Issues [ID 1410160.1]
            EBS - Technology Area - Webcast Recording 'E-Business Suite - Concurrent Manager Performance - Best Practices' [video] [ID 1367676.1]

            Thanks,
            Hussein
            • 3. Re: OutOfMemoryError: Java heap space
              Vijay.Cherukuri-Oracle
              Hi Hussein

              I have a question on this OPP java heap space .

              Let say I have 10 Process allocated for OPP and heap space allocated to OPP is 1024 MB.

              Q 1 . Let say 5 requests are running by 5 OPP processes.. Then how this heap memory allocated ?

              is it something like heap space / number of running requests by OPP (1024/5 in this case )

              Q 2. Let say i have submitted 2 requests . One request needs 800 MB of heap space (based on the past runs )
              And Second one requires 500 MB of heap space .

              In this we will get java out of memory error ? Am I correct ?

              Q 3 . Will all requests after submitted after test case 2 ( Q 2) encounter out of memory errors Since the heap space was exhausted until OPP bounced or full /GC Completed/

              Please Correct me if I am wrong

              --Thanks In advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
              • 4. Re: OutOfMemoryError: Java heap space
                User332967
                Thanks a lot you both guys its realy help full.

                Regards,
                Mohsin