OPP JAVA HEAP Out of memory

hi all
ebs:11.5.10.2
db:9i
AIX 5 64-bit
we have 5 target process and 4 actual process
all the actual process are struck and one one is active
and log file of one process out 3 struck is (other 2 logs are same)
[6/20/11 9:12:44 PM] [15905:RT2458306] Starting XML Publisher post-processing action.
[6/20/11 9:12:44 PM] [15905:RT2458306]
Template code: XXXXXXXXXXXXX
Template app: WSH
Language: en
Territory: 00
Output type: PDF
java.lang.OutOfMemoryError
     at oracle.ias.cache.DefaultCacheLogger.flushRecords(Unknown Source)
     at oracle.ias.cache.DefaultCacheLogger.flushBuffer(Unknown Source)
     at oracle.ias.cache.DefaultCacheLogger.flush(Unknown Source)
     at oracle.ias.cache.CacheCleaner.run(Unknown Source)
java.lang.OutOfMemoryError
     at oracle.apps.fnd.cp.opp.OPPRequestThreadManager.checkThreads(OPPRequestThreadManager.java(Compiled Code))
java.lang.OutOfMemoryError
     at oracle.jdbc.driver.LRUStatementCache.addToImplicitCache(LRUStatementCache.java(Compiled Code))
     at oracle.jdbc.driver.OracleConnection.cacheImplicitStatement(OracleConnection.java(Inlined Compiled Code))
     at oracle.jdbc.driver.OraclePreparedStatement.privateClose(OraclePreparedStatement.java(Compiled Code))
     at oracle.jdbc.driver.OraclePreparedStatement.close(OraclePreparedStatement.java(Compiled Code))
     at oracle.jdbc.driver.OracleCallableStatement.close(OracleCallableStatement.java(Compiled Code))
     at oracle.apps.fnd.cp.opp.OPPAQMonitor.waitForMessage(OPPAQMonitor.java(Compiled Code))
     at oracle.apps.fnd.cp.opp.OPPAQMonitor.run(OPPAQMonitor.java(Compiled Code))
     at java.lang.Thread.run(Thread.java:570)
java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
     at oracle.apps.fnd.common.Pool.createObject(Pool.java(Compiled Code))
     at oracle.apps.fnd.common.Pool.createAvailableObject(Pool.java(Compiled Code))
     at oracle.apps.fnd.common.Pool.resize(Pool.java(Compiled Code))
     at oracle.apps.fnd.common.Pool.run(Pool.java(Compiled Code))
     at java.lang.Thread.run(Thread.java:570)
Exception: java.lang.OutOfMemoryError
java.lang.OutOfMemoryError
     at oracle.ias.cache.group.Sender.run(Unknown Source)
java.lang.OutOfMemoryError
     at oracle.jdbc.dbaccess.DBDataSetImpl._allocItemsAndBuffers(DBDataSetImpl.java(Compiled Code))
     at oracle.jdbc.dbaccess.DBDataSetImpl._allocDataAndItems(DBDataSetImpl.java(Inlined Compiled Code))
     at oracle.jdbc.dbaccess.DBDataSetImpl.setType(DBDataSetImpl.java(Compiled Code))
     at oracle.jdbc.dbaccess.DBDataSetImpl.setType(DBDataSetImpl.java(Compiled Code))
     at oracle.jdbc.driver.OracleCallableStatement.registerOutParameterBytes(OracleCallableStatement.java(Compiled Code))
     at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java(Inlined Compiled Code))
     at oracle.jdbc.driver.OracleCallableStatement.registerOutParameter(OracleCallableStatement.java(Compiled Code))
     at oracle.apps.fnd.cp.gsm.GenCartComm.getQueueMessage(GenCartComm.java:186)
     at oracle.apps.fnd.cp.gsf.GSMStateMonitor.waitForNextEvent(GSMStateMonitor.java:95)
     at oracle.apps.fnd.cp.gsf.GSMServiceController.mainLoop(GSMServiceController.java:236)
     at oracle.apps.fnd.cp.gsf.BaseServiceController.run(BaseServiceController.java:71)
     at java.lang.Thread.run(Thread.java:570)
[6/20/11 9:59:51 PM] [UNEXPECTED] [15905:RT2458306] java.lang.reflect.InvocationTargetException
Caused by: java.lang.OutOfMemoryError
     at oracle.xdo.parser.v2.XPathDescendantAxis.getNodeList(XPathAxis.java(Compiled Code))
     at oracle.xdo.parser.v2.XPathStep.evaluate(XPathStep.java(Compiled Code))
     at oracle.xdo.parser.v2.PathExpr.evaluate(XSLNodeSetExpr.java(Compiled Code))
     at oracle.xdo.parser.v2.XSLForEach.processAction(XSLForEach.java(Compiled Code))
     at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java(Compiled Code))
     at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java(Compiled Code))
     at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java(Compiled Code))
     at oracle.xdo.parser.v2.XSLTemplate.processAction(XSLTemplate.java:191)
     at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:508)
     at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:485)
     at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:264)
     at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:150)
     at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:187)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
     at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
     at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java(Compiled Code))
     at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java(Compiled Code))
     at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:233)
     at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
     at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
     at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
     at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
     at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
     at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
     at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
     at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
     at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
     at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
     at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
[6/20/11 9:59:51 PM] [15905:RT2458306] Completed post-processing actions for request 2458306.
java.lang.OutOfMemoryError
     at java.io.ObjectOutputStream$HandleTable.growSpine(ObjectOutputStream.java(Compiled Code))
     at java.io.ObjectOutputStream$HandleTable.assign(ObjectOutputStream.java(Inlined Compiled Code))
     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java(Compiled Code))
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java(Compiled Code))
     at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java(Compiled Code))
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java(Compiled Code))
     at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java(Compiled Code))
     at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java(Compiled Code))
     at java.util.Vector.writeObject(Vector.java(Inlined Compiled Code))
     at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
     at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
     at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java(Compiled Code))
     at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java(Compiled Code))
     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java(Compiled Code))
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java(Compiled Code))
     at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java(Inlined Compiled Code))
     at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java(Compiled Code))
     at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java(Compiled Code))
     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java(Compiled Code))
     at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java(Compiled Code))
     at oracle.ias.cache.group.StreamHandler.write(Unknown Source)
     at oracle.ias.cache.group.EndPoint.write(Unknown Source)
     at oracle.ias.cache.group.Transport.syncMulticast(Unknown Source)
     at oracle.ias.cache.group.Transport.multicast(Unknown Source)
     at oracle.ias.cache.group.Transport.multicast(Unknown Source)
     at oracle.ias.cache.group.Monitor.ping(Unknown Source)
     at oracle.ias.cache.group.Monitor.run(Unknown Source)
DG318: Heap dump file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/heapdump1511652.1308591323.phd
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/javacore1511652.1308591369.txt
JVMDG274: Dump Handler has Processed OutOfMemory.
JVMST109: Insufficient space in Javaheap to satisfy allocation request
JVMDG217: Dump Handler is Processing OutOfMemory - Please Wait.
JVMDG315: JVM Requesting Heap dump file
...........................................JVMDG318: Heap dump file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/heapdump1511652.1308591404.phd
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/javacore1511652.1308591451.txt
JVMDG274: Dump Handler has Processed OutOfMemory.
JVMST109: Insufficient space in Javaheap to satisfy allocation request
JVMDG217: Dump Handler is Processing OutOfMemory - Please Wait.
JVMDG315: JVM Requesting Heap dump file
...........................................JVMDG318: Heap dump file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/heapdump1511652.1308591486.phd
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/javacore1511652.1308591533.txt
JVMDG274: Dump Handler has Processed OutOfMemory.
JVMST109: Insufficient space in Javaheap to satisfy allocation request
JVMDG217: Dump Handler is Processing OutOfMemory - Please Wait.
JVMDG315: JVM Requesting Heap dump file
...........................................JVMDG318: Heap dump file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/heapdump1511652.1308591569.phd
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/javacore1511652.1308591614.txt
JVMDG274: Dump Handler has Processed OutOfMemory.
JVMST109: Insufficient space in Javaheap to satisfy allocation request
JVMDG217: Dump Handler is Processing OutOfMemory - Please Wait.
JVMDG315: JVM Requesting Heap dump file
...........................................JVMDG318: Heap dump file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/heapdump1511652.1308591652.phd
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/javacore1511652.1308591700.txt
JVMDG274: Dump Handler has Processed OutOfMemory.
JVMST109: Insufficient space in Javaheap to satisfy allocation request
JVMDG217: Dump Handler is Processing OutOfMemory - Please Wait.
JVMDG315: JVM Requesting Heap dump file
...........................................JVMDG318: Heap dump file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/heapdump1511652.1308591734.phd
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/javacore1511652.1308591780.txt
JVMDG274: Dump Handler has Processed OutOfMemory.
JVMST109: Insufficient space in Javaheap to satisfy allocation request
JVMDG217: Dump Handler is Processing OutOfMemory - Please Wait.
JVMDG315: JVM Requesting Heap dump file
...........................................JVMDG318: Heap dump file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/heapdump1511652.1308591815.phd
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/javacore1511652.1308591861.txt
JVMDG274: Dump Handler has Processed OutOfMemory.
JVMST109: Insufficient space in Javaheap to satisfy allocation request
JVMDG217: Dump Handler is Processing OutOfMemory - Please Wait.
JVMDG315: JVM Requesting Heap dump file
...........................................JVMDG318: Heap dump file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/heapdump1511652.1308591900.phd
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/javacore1511652.1308591946.txt
JVMDG274: Dump Handler has Processed OutOfMemory.
JVMST109: Insufficient space in Javaheap to satisfy allocation request
JVMXE003
JVMDG217: Dump Handler is Processing OutOfMemory - Please Wait.
JVMDG315: JVM Requesting Heap dump file
...........................................JVMDG318: Heap dump file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/heapdump1511652.1308591981.phd
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/javacore1511652.1308592027.txt
JVMDG274: Dump Handler has Processed OutOfMemory.
JVMST109: Insufficient space in Javaheap to satisfy allocation request
JVMDG217: Dump Handler is Processing OutOfMemory - Please Wait.
JVMDG315: JVM Requesting Heap dump file
...........................................JVMDG318: Heap dump file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/heapdump1511652.1308592061.phd
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/javacore1511652.1308592109.txt
JVMDG274: Dump Handler has Processed OutOfMemory.
JVMST109: Insufficient space in Javaheap to satisfy allocation request
JVMDG217: Dump Handler is Processing OutOfMemory - Please Wait.
JVMDG315: JVM Requesting Heap dump file
...........................................JVMDG318: Heap dump file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/heapdump1511652.1308592143.phd
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/javacore1511652.1308592189.txt
JVMDG274: Dump Handler has Processed OutOfMemory.
JVMST109: Insufficient space in Javaheap to satisfy allocation request
JVMDG217: Dump Handler is Processing OutOfMemory - Please Wait.
JVMDG315: JVM Requesting Heap dump file
...........................................JVMDG318: Heap dump file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/heapdump1511652.1308592224.phd
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/javacore1511652.1308592270.txt
JVMDG274: Dump Handler has Processed OutOfMemory.
JVMST109: Insufficient space in Javaheap to satisfy allocation request
JVMDG217: Dump Handler is Processing OutOfMemory - Please Wait.
JVMDG315: JVM Requesting Heap dump file
...........................................JVMDG318: Heap dump file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/heapdump1511652.1308592305.phd
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/javacore1511652.1308592351.txt
JVMDG274: Dump Handler has Processed OutOfMemory.
JVMST109: Insufficient space in Javaheap to satisfy allocation request
JVMDG217: Dump Handler is Processing OutOfMemory - Please Wait.
JVMDG315: JVM Requesting Heap dump file
...........................................JVMDG318: Heap dump file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/heapdump1511652.1308592385.phd
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/javacore1511652.1308592433.txt
JVMDG274: Dump Handler has Processed OutOfMemory.
JVMST109: Insufficient space in Javaheap to satisfy allocation request
JVMDG217: Dump Handler is Processing OutOfMemory - Please Wait.
JVMDG315: JVM Requesting Heap dump file
...........................................JVMDG318: Heap dump file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/heapdump1511652.1308592467.phd
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/javacore1511652.1308592513.txt
JVMDG274: Dump Handler has Processed OutOfMemory.
JVMST109: Insufficient space in Javaheap to satisfy allocation request
JVMDG217: Dump Handler is Processing OutOfMemory - Please Wait.
JVMDG315: JVM Requesting Heap dump file
...........................................JVMDG318: Heap dump file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/heapdump1511652.1308592547.phd
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/javacore1511652.1308592593.txt
JVMDG274: Dump Handler has Processed OutOfMemory.
JVMST109: Insufficient space in Javaheap to satisfy allocation request
JVMDG217: Dump Handler is Processing OutOfMemory - Please Wait.
JVMDG315: JVM Requesting Heap dump file
...........................................JVMDG318: Heap dump file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/heapdump1511652.1308592628.phd
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/javacore1511652.1308592674.txt
JVMDG274: Dump Handler has Processed OutOfMemory.
JVMST109: Insufficient space in Javaheap to satisfy allocation request
JVMDG217: Dump Handler is Processing OutOfMemory - Please Wait.
JVMDG315: JVM Requesting Heap dump file
...........................................JVMDG318: Heap dump file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxxx/heapdump1511652.1308592708.phd
JVMDG303: JVM Requesting Java core file
JVMDG304: Java core file written to /prod/oracle/prodcomn/admin/log/PROD_xxxxx/javacore1511652.1308592755.txt
JVMDG274: Dump Handler has Processed OutOfMemory.
JVMST109: Insufficient space in Javaheap to satisfy allocation request
JVMXE003
JVMST109: Insufficient space in Javaheap to satisfy allocation request
how to get through this error?
Thankz
ApPsMaSti

Please see these MOS docs.
XML Publisher Report Issues [ID 862644.1]
Output Post Processor (OPP) Log Contains Error "java.lang.OutOfMemoryError: Java heap space" Error [ID 1268217.1]
Output Post Processor (OPP) Log Contains Error "java.lang.OutOfMemoryError" [ID 1266368.1]
OPP Service Log for the 'Create Accounting' process shows 'java.lang.OutOfMemoryError: Java heap space ' Error [ID 1129283.1]
Retro-Notifications Report (Enhanced) - PDF Errors With 'java.lang.OutOfMemoryError' [ID 557898.1]
Costing Summary Rep Errors with Jvmst109: Insufficient Space In Javaheap [ID 391131.1]
Thanks,
Hussein

Similar Messages

  • Java heap out of memory error with -Xms1g -Xmx4g 64 bit VM

    We are getting Java Heap memory error for the application we are running on linux 64 bit machine (VM).
    The OOM came when heap usage was 1.7gb though we have specified min as 1gb and max as 4gb. If I understand correctly then it should not have been thrown as we have specified max as 4gb. If address space was the problem then it should have thrown swap space error.
    Also, there were no other processes running on this node.
    Below are the specifics of linux node we are using:
    linux kernel: 2.6.18-128.el5
    Linux Version: Red Hat Enterprise Linux Server release 5.3 (Tikanga) 64 Bit
    Ulimts
    [ppoker@aquariusvir11 ~]$ ulimit -a
    core file size (blocks, -c) unlimited
    data seg size (kbytes, -d) unlimited
    scheduling priority (-e) 0
    file size (blocks, -f) unlimited
    pending signals (-i) 139264
    max locked memory (kbytes, -l) unlimited
    max memory size (kbytes, -m) unlimited
    open files (-n) 100000
    pipe size (512 bytes, -p) 8
    POSIX message queues (bytes, -q) 819200
    real-time priority (-r) 0
    stack size (kbytes, -s) 10240
    cpu time (seconds, -t) unlimited
    max user processes (-u) 139264
    virtual memory (kbytes, -v) unlimited
    file locks (-x) unlimited
    Java Version
    [ppoker@aquariusvir11 ~]$ java -version
    java version "1.6.0_21"
    Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
    Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)
    Kernel Semaophores
    [ppoker@aquariusvir11 ~]$ ipcs -l
    ------ Shared Memory Limits --------
    max number of segments = 4096
    max seg size (kbytes) = 67108864
    max total shared memory (kbytes) = 17179869184
    min seg size (bytes) = 1
    ------ Semaphore Limits --------
    max number of arrays = 128
    max semaphores per array = 250
    max semaphores system wide = 32000
    max ops per semop call = 32
    semaphore max value = 32767
    ------ Messages: Limits --------
    max queues system wide = 16
    max size of message (bytes) = 65536
    default max size of queue (bytes) = 65536
    Please suggest what could be the reason for this error.
    Thanks,
    Ashish

    javaguy4u wrote:
    the OOM error ... wasn't coming when we had set min and max both as 4 GB.You deviously withheld that information.
    When the JVM needs to grow the heap it asks the OS for a bigger memory block than the one it has.
    The OS may refuse this and the JVM will throw an OOME.

  • Java.lag out of memory error

    my x2 cannot work with the pdf reader i downloaded from nokia store as there is java.lag out of memory error what should i do

    it is common in most s40 phones.....even my C3 does thesame

  • Java Mail - Out of memory

    Hi,
    I connect to a pop3 server downloading mails with attachments (up to 10MB in size).
    The problems is that my applications runs fine upto 20-30 mails then a 'out of memory error'.
    Does anybody know a possible solution ?
    Thank you
    Roberto

    I find the solution...
    I fetch (with the option DELETE) n emails at a time ( where n could be 10-20-30, etc..) and then I execute the method folder.close with the parameter 'expunge'.
    All the messages marked as DELETED are removed from memory.
    Then I re-open the folder and start fetching emails.

  • OutOfMemoryError: Java heap space

    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

    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.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Out ot memory

    I got this error: Java lang out of memory when i am saving audio in aByteArrayOutputStream,i can only record about 8 minutes. The initial size of memory is: 256m
    My code is:
    public void run(){
           int frameSizeInBytes = frtoData.getFrameSize();
           int bufferLengthInFrames = line.getBufferSize() / 8;
           bufferLengthInBytes = bufferLengthInFrames * frameSizeInBytes;
           bufferTemp = new byte[bufferLengthInBytes];
           while (!stopped) {
                    if (paused) {
                        synchronized (this) {
                            while (paused) {
                                try {
                                    position = (int) (line.getMicrosecondPosition() / 1000000);
                                    this.wait();
                                } catch (InterruptedException ex) {
                                    Logger.getLogger(Audio.class.getName()).log(Level.SEVERE, null, ex);
                    if ((numBytesRead = linea.read(bufferTem, 0, bufferLengthInBytes)) == -1) {
                        break;
                     rewind.write(bufferTemp 0, numBytesRead);
    code}
    rewind is an object of a class: RewindAudio that extends from ByteArrayOutputStream.
    I can save more data audio,about 17 minutes, if i increment the size of memory with this: -Xmx450m, but i have to get to at least 1 hour.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    About the analysis of volumen can you tell what is the logic that you use, because i have a method that needs and array of bytes to make the analysis:
    public void setVolume(byte[] b, int off, int length) {
            int finalBuffer = off + b.length;
            int sampleRate = (frtoDatos.getSampleSizeInBits() + 7) / 8;
            int max = 0;
            if (sampleRate == 1) {
                //8 bits:
                for (; off < finalBuffer; off++) {
                    int muest = (byte) (b[finalBuffer] + 128);
                    if (muest< 0) {
                        muest = -muest;
                    if (muestreo > max) {
                        max = muest;
                maxVolume = max;
            } else if (sampleRate == 2) {
                if (frtoDatos.isBigEndian()) {
                    // 16-bit big endian
                    for (; off < finalBuffer; off += 2) {
                        int muest = (short) ((b[off] << 8) | (b[off + 1] & 0xFF));
                        if (muest< 0) {
                            muest = -muest;
                        if (muest > max) {
                            max = muest;
                } else {
                    // 16-bit little endian
                    for (; off < finalBuffer; off += 2) {
                        int muest = (short) ((b[off + 1] << 8) | (b[off] & 0xFF));
                        if (muest < 0) {
                            muest = -muest;
                        if (muest > max) {
                            max = muest;
                maxVolume= max >> 8;
            } else {
                maxVolume = -1;
            prgVolumen.setValue(maxVolume);  // setting the maxVolume in a JProgressBar
        }I need the arrary because I m reading from the line, an saved what i 've got in an array of bytes.
    I will continue posting tomorrow, because know i got go to my classes.

  • Java/lang/out of memoryerror

    i have nokia c2-06 and i have installed a app in it but when went to open it didn't open and it showed me java/lang/out of memory error so help how 2 solve this promblem

    Hi,
    May I ask what is the name of the application that you are trying to install? Is the application came from Nokia Store?
    thanks,

  • Mapviewer out-of-memory A3-size pictures

    I'm getting a Java.lang.out-of-memory error when I try to generate a A3 size picture using 300 dpi. A4 size pictures with 300 dpi are no problem. This is with Mapviewer version 1012. I'm not getting this error on another PC with the Mapviewer version before 1012.
    I tried to enlarge the cache size to 128 Mb but this doesn't help.

    More info:
    The PC where the error occurs has Windows XP, 1 Gb memory and has an Oracle 9.2 database running. The other PC without the error has Windows 2000, 256 Mb memory but no Oracle database running.
    I use OC4J standalone on both PC's.

  • Out of memory: Java heap space

    Hello,
    I am working on a project, that simulates large populations, with each individual being a separate Objecta(a couple of kilobytes in size each).
    Once i reach a bug enough number of those Objects (stored in a Vector), i get Out of memory: Java heap space exception.
    Am i having a memory leak in Java? Or am i really reaching the maximal JVM limit and i need to reconfigure it, to support larger heap size?
    :)

    Am i having a memory leak in Java?Because of garbage collection there, by far and large, aren't memory leaks in java. However, there certainly is memory waste.
    If each of these objects you make room for are unnecessarily laden with references to other large objects creating huge networks of objects that never free their memory, and then you allocate 1 million of them, then, while not a leak, you are wasting your memory space.
    Look through your class and inspect each field to see if any of them could be holding more data than you intend. If so, multiply the amount of that data by 1,000,000 or however many objects you are going to instantiate to determine if this produces and absurd amount of memory. You should be able to predict ~how much storage your data will need...each char is 2bytes, each int is 4 bytes, doubles are 8 etc

  • Out of memory in java swing application

    Hi,
    I am continously getting out of memory in my java application. I collected the java heap dump and found major memory chunk ( >90%) of total java heap is taken by some "class [I", which is array of 'Inetger' objects and sometimes by "class [S", which is array of 'Short' objects.
    Elements of these arrays are referred by:
    java.awt.image.DataBufferUShort and
    sun.awt.image.ShortInterleavedRaster
    and these are consuming major memory chunks.
    Has anyone observed this kind of problem?
    I am not able to proceed in my analysis and kind of struck at these Integer and Short arrays. Please help.
    Thanks
    Charanjeet                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Sounds like you're retaining a lot of image resources - make sure you're doing the following:
    1. flush()ing images once you've used them
    2. not retaining references you no longer need
    3. not creating duplicate Image objects where not required
    4. not creating Image objects which are never needed, or creating a huge pile of images at once when they are not all required at the same time

  • Connecting through java to HSQLDB: Out of Memory

    Through my java program i am connecting to hsqldb which has .data file of approx 6.5 GB and getting the error java.sql.SqlException: out of memory (am not getting anything else)
    have increased jvm option -Xms256m -Xmx1024m -XX:PermSize=64M -XX:MaxPermSize=2000M
    What else can be tried...??? A complete Stacktrace for the same
    exception in thread HSQL timer
    java.lang.OutofMemoryError: Java Heap Space
    Besides that also got this on netbeans console but seems this is something else... and not an error
    Mar 19, 2009 4:55:36 AM sun.awt.X11.XToolkit processException
    WARNING: Exception on Toolkit thread
    java.lang.OutOfMemoryError: Java heap space
    Edited by: shubham on Mar 19, 2009 1:57 AM
    Edited by: shubham on Mar 19, 2009 3:31 AM

    Well The issue was somewhere else due to it reading too much of data. It ran but my program is very slow (approx 2-3 hrs).
    I am worried about the speed...
    is it because of the large amount of data.. 23,355,459 records..?? or there could be some issue in programming probably memory leak etc..??
    -> reads db
    -> for each record set
    -> perform different operation/ writes to file

  • Java Out of Memory Error

    Hi,
    I'm running a Java app that's been working perfectly for 12 months. I did the latest Java upgrade from Apple and I now have heap space errors. The result of running Java version is as follows:
    java version "1.6.0_20"
    Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065)
    Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode)
    The error listing is below. I'd be grateful for any help in setting memory in the .sh file that I use to launch the app or for other ways to resolve this.
    A search of this forum yielded no assistance on this.
    Regards
    Mike
    error: ************* Exception String *************
    Error (1205): Out of memory.
    : Java heap space
    at com.bluestream.xdocs.local.explorer.worker.job.Importer.runJob(Importer.java:192)
    at com.bluestream.xdocs.local.explorer.worker.job.ExpJob.run(ExpJob.java:70)
    at foxtrot.AbstractWorkerThread$2.run(AbstractWorkerThread.java:49)
    at java.security.AccessController.doPrivileged(Native Method)
    at foxtrot.AbstractWorkerThread.runTask(AbstractWorkerThread.java:45)
    at foxtrot.workers.DefaultWorkerThread.run(DefaultWorkerThread.java:153)
    at java.lang.Thread.run(Thread.java:637)
    Caused by: java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Arrays.java:2786)
    at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)
    at sun.net.www.http.PosterOutputStream.write(PosterOutputStream.java:61)
    at javax.activation.DataHandler.writeTo(DataHandler.java:294)
    at com.sun.xml.ws.encoding.MtomCodec$ByteArrayBuffer.write(MtomCodec.java:195)
    at com.sun.xml.ws.encoding.MtomCodec.encode(MtomCodec.java:162)
    at com.sun.xml.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:258)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:153)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
    at com.sun.xml.ws.client.Stub.process(Stub.java:222)
    at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
    at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
    at $Proxy46.fixAndImportParts(Unknown Source)
    at com.bluestream.xdocs.local.wsrvclient.impl.LocWSrvResourceMgrImpl.fixAndImportParts(LocWSrvResourceMgrImpl.java:591)
    at com.bluestream.xdocs.local.api.onimpl.LocImportMgrOnImpl.importParts(LocImportMgrOnImpl.java:158)
    at com.bluestream.xdocs.local.explorer.worker.job.Importer.doImport(Importer.java:286)
    at com.bluestream.xdocs.local.explorer.worker.job.Importer.runJob(Importer.java:154)
    ... 6 more
    --- history item -----
    java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Arrays.java:2786)
    at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)
    at sun.net.www.http.PosterOutputStream.write(PosterOutputStream.java:61)
    at javax.activation.DataHandler.writeTo(DataHandler.java:294)
    at com.sun.xml.ws.encoding.MtomCodec$ByteArrayBuffer.write(MtomCodec.java:195)
    at com.sun.xml.ws.encoding.MtomCodec.encode(MtomCodec.java:162)
    at com.sun.xml.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:258)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:153)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
    at com.sun.xml.ws.client.Stub.process(Stub.java:222)
    at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
    at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
    at $Proxy46.fixAndImportParts(Unknown Source)
    at com.bluestream.xdocs.local.wsrvclient.impl.LocWSrvResourceMgrImpl.fixAndImportParts(LocWSrvResourceMgrImpl.java:591)
    at com.bluestream.xdocs.local.api.onimpl.LocImportMgrOnImpl.importParts(LocImportMgrOnImpl.java:158)
    at com.bluestream.xdocs.local.explorer.worker.job.Importer.doImport(Importer.java:286)
    at com.bluestream.xdocs.local.explorer.worker.job.Importer.runJob(Importer.java:154)
    at com.bluestream.xdocs.local.explorer.worker.job.ExpJob.run(ExpJob.java:70)
    at foxtrot.AbstractWorkerThread$2.run(AbstractWorkerThread.java:49)
    at java.security.AccessController.doPrivileged(Native Method)
    at foxtrot.AbstractWorkerThread.runTask(AbstractWorkerThread.java:45)
    at foxtrot.workers.DefaultWorkerThread.run(DefaultWorkerThread.java:153)
    at java.lang.Thread.run(Thread.java:637)
    error: ************* Exception String *************
    Error (1205): Out of memory.
    : Java heap space
    at com.bluestream.xdocs.local.explorer.mvc.action.folder.AddToFolder.buildBPS(AddToFolder.java:137)
    at com.bluestream.xdocs.local.explorer.mvc.action.folder.AddToFolder.doWork(AddToFolder.java:110)
    at com.bluestream.xdocs.local.explorer.mvc.action.ExpAction.actionPerformed(ExpAction.java:90)
    at com.bluestream.xdocs.local.explorer.util.GuiUtils.performAction(GuiUtils.java:553)
    at com.bluestream.xdocs.local.explorer.mvc.base.EToolBar$ToolBarButton.mouseReleased(EToolBar.java:248)
    at com.bluestream.xdocs.local.explorer.mvc.base.EToolBar$Button.mouseReleased(EToolBar.java:368)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
    at java.awt.Component.processMouseEvent(Component.java:6348)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6113)
    at java.awt.Container.processEvent(Container.java:2085)
    at java.awt.Component.dispatchEventImpl(Component.java:4714)
    at java.awt.Container.dispatchEventImpl(Container.java:2143)
    at java.awt.Component.dispatchEvent(Component.java:4544)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
    at java.awt.Container.dispatchEventImpl(Container.java:2129)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4544)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: Error (1205): Out of memory.
    : Java heap space
    at com.bluestream.xdocs.local.explorer.worker.job.Importer.runJob(Importer.java:192)
    at com.bluestream.xdocs.local.explorer.worker.job.ExpJob.run(ExpJob.java:70)
    at foxtrot.AbstractWorkerThread$2.run(AbstractWorkerThread.java:49)
    at java.security.AccessController.doPrivileged(Native Method)
    at foxtrot.AbstractWorkerThread.runTask(AbstractWorkerThread.java:45)
    at foxtrot.workers.DefaultWorkerThread.run(DefaultWorkerThread.java:153)
    at java.lang.Thread.run(Thread.java:637)
    Caused by: java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Arrays.java:2786)
    at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)
    at sun.net.www.http.PosterOutputStream.write(PosterOutputStream.java:61)
    at javax.activation.DataHandler.writeTo(DataHandler.java:294)
    at com.sun.xml.ws.encoding.MtomCodec$ByteArrayBuffer.write(MtomCodec.java:195)
    at com.sun.xml.ws.encoding.MtomCodec.encode(MtomCodec.java:162)
    at com.sun.xml.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:258)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:153)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
    at com.sun.xml.ws.client.Stub.process(Stub.java:222)
    at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
    at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
    at $Proxy46.fixAndImportParts(Unknown Source)
    at com.bluestream.xdocs.local.wsrvclient.impl.LocWSrvResourceMgrImpl.fixAndImportParts(LocWSrvResourceMgrImpl.java:591)
    at com.bluestream.xdocs.local.api.onimpl.LocImportMgrOnImpl.importParts(LocImportMgrOnImpl.java:158)
    at com.bluestream.xdocs.local.explorer.worker.job.Importer.doImport(Importer.java:286)
    at com.bluestream.xdocs.local.explorer.worker.job.Importer.runJob(Importer.java:154)
    ... 6 more
    --- history item -----
    Error (1205): Out of memory.
    : Java heap space
    at com.bluestream.xdocs.local.explorer.worker.job.Importer.runJob(Importer.java:192)
    at com.bluestream.xdocs.local.explorer.worker.job.ExpJob.run(ExpJob.java:70)
    at foxtrot.AbstractWorkerThread$2.run(AbstractWorkerThread.java:49)
    at java.security.AccessController.doPrivileged(Native Method)
    at foxtrot.AbstractWorkerThread.runTask(AbstractWorkerThread.java:45)
    at foxtrot.workers.DefaultWorkerThread.run(DefaultWorkerThread.java:153)
    at java.lang.Thread.run(Thread.java:637)
    Caused by: java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Arrays.java:2786)
    at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)
    at sun.net.www.http.PosterOutputStream.write(PosterOutputStream.java:61)
    at javax.activation.DataHandler.writeTo(DataHandler.java:294)
    at com.sun.xml.ws.encoding.MtomCodec$ByteArrayBuffer.write(MtomCodec.java:195)
    at com.sun.xml.ws.encoding.MtomCodec.encode(MtomCodec.java:162)
    at com.sun.xml.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:258)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:153)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
    at com.sun.xml.ws.client.Stub.process(Stub.java:222)
    at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
    at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
    at $Proxy46.fixAndImportParts(Unknown Source)
    at com.bluestream.xdocs.local.wsrvclient.impl.LocWSrvResourceMgrImpl.fixAndImportParts(LocWSrvResourceMgrImpl.java:591)
    at com.bluestream.xdocs.local.api.onimpl.LocImportMgrOnImpl.importParts(LocImportMgrOnImpl.java:158)
    at com.bluestream.xdocs.local.explorer.worker.job.Importer.doImport(Importer.java:286)
    at com.bluestream.xdocs.local.explorer.worker.job.Importer.runJob(Importer.java:154)
    ... 6 more
    --- history item -----
    java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Arrays.java:2786)
    at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)
    at sun.net.www.http.PosterOutputStream.write(PosterOutputStream.java:61)
    at javax.activation.DataHandler.writeTo(DataHandler.java:294)
    at com.sun.xml.ws.encoding.MtomCodec$ByteArrayBuffer.write(MtomCodec.java:195)
    at com.sun.xml.ws.encoding.MtomCodec.encode(MtomCodec.java:162)
    at com.sun.xml.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:258)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:153)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
    at com.sun.xml.ws.client.Stub.process(Stub.java:222)
    at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
    at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
    at $Proxy46.fixAndImportParts(Unknown Source)
    at com.bluestream.xdocs.local.wsrvclient.impl.LocWSrvResourceMgrImpl.fixAndImportParts(LocWSrvResourceMgrImpl.java:591)
    at com.bluestream.xdocs.local.api.onimpl.LocImportMgrOnImpl.importParts(LocImportMgrOnImpl.java:158)
    at com.bluestream.xdocs.local.explorer.worker.job.Importer.doImport(Importer.java:286)
    at com.bluestream.xdocs.local.explorer.worker.job.Importer.runJob(Importer.java:154)
    at com.bluestream.xdocs.local.explorer.worker.job.ExpJob.run(ExpJob.java:70)
    at foxtrot.AbstractWorkerThread$2.run(AbstractWorkerThread.java:49)
    at java.security.AccessController.doPrivileged(Native Method)
    at foxtrot.AbstractWorkerThread.runTask(AbstractWorkerThread.java:45)
    at foxtrot.workers.DefaultWorkerThread.run(DefaultWorkerThread.java:153)
    at java.lang.Thread.run(Thread.java:637)
    error: java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Arrays.java:2786)
    at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)
    at sun.net.www.http.PosterOutputStream.write(PosterOutputStream.java:61)
    at javax.activation.DataHandler.writeTo(DataHandler.java:294)
    at com.sun.xml.ws.encoding.MtomCodec$ByteArrayBuffer.write(MtomCodec.java:195)
    at com.sun.xml.ws.encoding.MtomCodec.encode(MtomCodec.java:162)
    at com.sun.xml.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:258)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:153)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
    at com.sun.xml.ws.client.Stub.process(Stub.java:222)
    at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
    at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
    at $Proxy46.fixAndImportParts(Unknown Source)
    at com.bluestream.xdocs.local.wsrvclient.impl.LocWSrvResourceMgrImpl.fixAndImportParts(LocWSrvResourceMgrImpl.java:591)
    at com.bluestream.xdocs.local.api.onimpl.LocImportMgrOnImpl.importParts(LocImportMgrOnImpl.java:158)
    at com.bluestream.xdocs.local.explorer.worker.job.Importer.doImport(Importer.java:286)
    at com.bluestream.xdocs.local.explorer.worker.job.Importer.runJob(Importer.java:154)
    at com.bluestream.xdocs.local.explorer.worker.job.ExpJob.run(ExpJob.java:70)
    at foxtrot.AbstractWorkerThread$2.run(AbstractWorkerThread.java:49)
    at java.security.AccessController.doPrivileged(Native Method)
    at foxtrot.AbstractWorkerThread.runTask(AbstractWorkerThread.java:45)
    at foxtrot.workers.DefaultWorkerThread.run(DefaultWorkerThread.java:153)
    at java.lang.Thread.run(Thread.java:637)
    Error (1205): Out of memory.
    : Java heap space
    at com.bluestream.xdocs.local.explorer.worker.job.Importer.runJob(Importer.java:192)
    at com.bluestream.xdocs.local.explorer.worker.job.ExpJob.run(ExpJob.java:70)
    at foxtrot.AbstractWorkerThread$2.run(AbstractWorkerThread.java:49)
    at java.security.AccessController.doPrivileged(Native Method)
    at foxtrot.AbstractWorkerThread.runTask(AbstractWorkerThread.java:45)
    at foxtrot.workers.DefaultWorkerThread.run(DefaultWorkerThread.java:153)
    at java.lang.Thread.run(Thread.java:637)
    Caused by: java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Arrays.java:2786)
    at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)
    at sun.net.www.http.PosterOutputStream.write(PosterOutputStream.java:61)
    at javax.activation.DataHandler.writeTo(DataHandler.java:294)
    at com.sun.xml.ws.encoding.MtomCodec$ByteArrayBuffer.write(MtomCodec.java:195)
    at com.sun.xml.ws.encoding.MtomCodec.encode(MtomCodec.java:162)
    at com.sun.xml.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:258)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:153)
    at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93)
    at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598)
    at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557)
    at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542)
    at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439)
    at com.sun.xml.ws.client.Stub.process(Stub.java:222)
    at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
    at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
    at $Proxy46.fixAndImportParts(Unknown Source)
    at com.bluestream.xdocs.local.wsrvclient.impl.LocWSrvResourceMgrImpl.fixAndImportParts(LocWSrvResourceMgrImpl.java:591)
    at com.bluestream.xdocs.local.api.onimpl.LocImportMgrOnImpl.importParts(LocImportMgrOnImpl.java:158)
    at com.bluestream.xdocs.local.explorer.worker.job.Importer.doImport(Importer.java:286)
    at com.bluestream.xdocs.local.explorer.worker.job.Importer.runJob(Importer.java:154)
    ... 6 more
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at com.bluestream.xdocs.local.explorer.util.ExpException.showFatalError(ExpException.java:170)
    at com.bluestream.xdocs.local.explorer.util.ExpException.showError(ExpException.java:128)
    at com.bluestream.xdocs.local.explorer.util.ExpException.<init>(ExpException.java:54)
    at com.bluestream.xdocs.local.explorer.mvc.action.folder.AddToFolder.buildBPS(AddToFolder.java:137)
    at com.bluestream.xdocs.local.explorer.mvc.action.folder.AddToFolder.doWork(AddToFolder.java:110)
    at com.bluestream.xdocs.local.explorer.mvc.action.ExpAction.actionPerformed(ExpAction.java:90)
    at com.bluestream.xdocs.local.explorer.util.GuiUtils.performAction(GuiUtils.java:553)
    at com.bluestream.xdocs.local.explorer.mvc.base.EToolBar$ToolBarButton.mouseReleased(EToolBar.java:248)
    at com.bluestream.xdocs.local.explorer.mvc.base.EToolBar$Button.mouseReleased(EToolBar.java:368)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
    at java.awt.Component.processMouseEvent(Component.java:6348)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6113)
    at java.awt.Container.processEvent(Container.java:2085)
    at java.awt.Component.dispatchEventImpl(Component.java:4714)
    at java.awt.Container.dispatchEventImpl(Container.java:2143)
    at java.awt.Component.dispatchEvent(Component.java:4544)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
    at java.awt.Container.dispatchEventImpl(Container.java:2129)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4544)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    Post Java and other Unix queries to the Unix or developer forums under OS X Technologies. I have the Java Update 2 installed and there have been no errors reported here.

  • Exception in thread "AWT-Event Queue 0" Mem Out of Bounds. Java Heap Space

    Hello,
    I'm not sure how to resolve this Java Heap Space Memory Out of Bounds error. Could someone please assist me with this error?
    A SCENARIO:
    I am reading in tons of data from 5 separate text files. The files have tons of rows (up to 64,220 in one). The data must be read into the program and assembled. When I have all of the files populated, I receive the OOM Error. If I remove the data from one of the 5 files the program runs successfully. If I add the data back into the file and then remove the data from some other file, the program runs successfully.
    Thanks
    RodneyM

    ff.skip(18);
    i = ff.read();
    i = ((ff.read() << 8) | i);
    i = ((ff.read() << 16) | i);
    i = ((ff.read() << 24) | i);
    xsize = i;
    System.out.println("width=" + xsize);
    i = 0;
    i = ff.read();
    i = ((ff.read() << 8) | i);
    i = ((ff.read() << 16) | i);
    i = ((ff.read() << 24) | i);
    ysize = i;
    System.out.println("Height=" + ysize);
    ff.skip(38);//62-(2+16+4+4=26)=36, actually total=62 Bytes header This is completely wrong. First an foremost you should not have this code in the paint(Graphics g) method. This is a GUI thing. The paint method may be called for any reason and you do not+ want to open a file stream, read it, and do the distance transformation every single time the method is called. There's also the issue that you have overridden the paint method as opposed to subclassing a component, overriding the paintComponent method, and adding it to the frame. But that can be ignored for right now (it will come back later and cause complications).
    Next, you've said that the header is 62 bytes. This is incorrect for a png file. The code you have posted assumes (very specifically) that you have inputted a BMP version 3 with 2-color entry palette. In other words you can only open a very specific type of image with that code. Definitely not a png. This is what was causing the out of memory error since it interprets the width and height wrong when reading the bytes and you end up trying to create a 2-D int array that will take up several hundred megabytes in size
    //xsize and ysize are interpreted wrongly
    pix=new int[xsize][ysize];
    mat1=new int[xsize][ysize]; Now granted, BMP v3 is the most common type you will encounter but you must admit that the code is not very robust at all (since it requires a very specific input).

  • 30EA1: 100% CPU until out of Java Heap space

    Hi,
    Just my initial 20 minute eval of the new 3.0, and already had 2 lockups on my XP and 10g DB; 1 on opening the Tasks view (just keeps looking for application tasks, with progress bar), the other on opening the Query Builder tab (keeps Loading available objects and relationships, with hourglass). No exceptions in the debug console until running out of heap space.
    Hope these get reviewed and debugged before production,
    K.

    After about 10 minutes, it stopped, so I switched from from Current Project to Current Application and back again to get going again.
    Now memory use just continued growing, until after about 10 minutes, my main sqldev window just disappeared. I was just in time to capture a dump before the console also disappeared on its own:
    Full thread dump Java HotSpot(TM) Client VM (14.2-b01 mixed mode, sharing):
    "Thread-4" prio=6 tid=0x0632f400 nid=0x1570 runnable [0x0e9bf000]
       java.lang.Thread.State: RUNNABLE
            at sun.reflect.Reflection.getClassAccessFlags(Native Method)
            at sun.reflect.Reflection.quickCheckMemberAccess(Reflection.java:51)
            at java.lang.reflect.Method.invoke(Method.java:576)
            at oracle.javatools.marshal.xml.PropertyInfo.getPropertyValue(PropertyInfo.java:128)
            at oracle.ide.marshal.xml.Object2Dom.toElement(Object2Dom.java:772)
            at oracle.ide.marshal.xml.Object2Dom.toElement(Object2Dom.java:433)
            at oracle.ide.marshal.xml.List2Dom.toElement(List2Dom.java:48)
            at oracle.ide.marshal.xml.Object2Dom.toElement(Object2Dom.java:760)
            at oracle.ide.marshal.xml.Object2Dom.toElement(Object2Dom.java:433)
            at oracle.ide.marshal.xml.Map2Dom.getValueElement(Map2Dom.java:215)
            at oracle.ide.marshal.xml.Map2Dom.toElement(Map2Dom.java:84)
            at oracle.ide.marshal.xml.Object2Dom.toElement(Object2Dom.java:760)
            at oracle.ide.marshal.xml.Object2Dom.toElement(Object2Dom.java:433)
            at oracle.ide.marshal.xml.Object2Dom.toElement(Object2Dom.java:794)
            at oracle.ide.marshal.xml.Object2Dom.toElement(Object2Dom.java:433)
            at oracle.ide.marshal.xml.Map2Dom.getValueElement(Map2Dom.java:215)
            at oracle.ide.marshal.xml.Map2Dom.toElement(Map2Dom.java:84)
            at oracle.ide.marshal.xml.Object2Dom.toElement(Object2Dom.java:760)
            at oracle.ide.marshal.xml.Object2Dom.toDocument(Object2Dom.java:209)
            at oracle.ide.marshal.xml.Object2Dom.toDocument(Object2Dom.java:158)
            at oracle.ide.marshal.xml.Object2Dom.toDocument(Object2Dom.java:148)
            at oracle.ide.config.DTCache.save(DTCache.java:252)
            at oracle.dbtools.raptor.config.NonUserConfigOptions.saveSettings(NonUserConfigOptions.java:25)
            at oracle.dbtools.raptor.config.NonUserConfigOptions.put(NonUserConfigOptions.java:29)
            at oracle.dbtools.raptor.config.NonUserConfigOptions.removeUserAgent(NonUserConfigOptions.java:52)
            at oracle.dbtools.migration.workbench.core.MigrationAddin.updateUserAgentString(MigrationAddin.java:1075)
            at oracle.dbtools.migration.workbench.core.MigrationAddin.access$000(MigrationAddin.java:111)
            at oracle.dbtools.migration.workbench.core.MigrationAddin$1.run(MigrationAddin.java:285)
    "SIGINT handler" daemon prio=10 tid=0x064d7400 nid=0x11c8 in Object.wait() [0x0612f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.Thread.join(Thread.java:1143)
            - locked <0x177b00d8> (a oracle.dbtools.migration.workbench.core.MigrationAddin$1)
            at java.lang.Thread.join(Thread.java:1196)
            at java.lang.ApplicationShutdownHooks.runHooks(ApplicationShutdownHooks.java:79)
            at java.lang.ApplicationShutdownHooks$1.run(ApplicationShutdownHooks.java:24)
            at java.lang.Shutdown.runHooks(Shutdown.java:79)
            at java.lang.Shutdown.sequence(Shutdown.java:123)
            at java.lang.Shutdown.exit(Shutdown.java:168)
            - locked <0x2b7de638> (a java.lang.Class for java.lang.Shutdown)
            at java.lang.Terminator$1.handle(Terminator.java:35)
            at sun.misc.Signal$1.run(Signal.java:195)
            at java.lang.Thread.run(Thread.java:619)
    "RaptorTask: StatementRunner Task" prio=6 tid=0x06366000 nid=0xe88 waiting on condition [0x0597f000]
       java.lang.Thread.State: WAITING (parking)
            at sun.misc.Unsafe.park(Native Method)
            - parking to wait for  <0x17a5d908> (a java.util.concurrent.SynchronousQueue$TransferStack)
            at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
            at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:422)
            at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:323)
            at java.util.concurrent.SynchronousQueue.take(SynchronousQueue.java:857)
            at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
            at java.lang.Thread.run(Thread.java:619)
    "ToDoQueryTask" prio=6 tid=0x0644e000 nid=0x184 waiting on condition [0x05b7f000]
       java.lang.Thread.State: WAITING (parking)
            at sun.misc.Unsafe.park(Native Method)
            - parking to wait for  <0x1eaf25a0> (a java.util.concurrent.FutureTask$Sync)
            at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
            at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:747)
            at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:905)
            at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1217)
            at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:218)
            at java.util.concurrent.FutureTask.get(FutureTask.java:83)
            at oracle.ideimpl.index.task.BackgroundTaskImpl.get(BackgroundTaskImpl.java:44)
            at oracle.ideimpl.index.IndexImpl$IndexTask.get(IndexImpl.java:708)
            at oracle.jdevimpl.todo.ToDoManagerImpl$SearchForTagsTask.run(ToDoManagerImpl.java:2226)
            at java.lang.Thread.run(Thread.java:619)
    "file-table-thread-1" prio=6 tid=0x06478400 nid=0x1674 waiting on condition [0x0ecbf000]
       java.lang.Thread.State: RUNNABLE
            at java.util.Arrays.copyOf(Arrays.java:2882)
            at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
            at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:461)
            at java.lang.StringBuilder.append(StringBuilder.java:179)
            at oracle.ide.net.URLFactory.sanitizePath(URLFactory.java:710)
            at oracle.ide.net.URLFactory.newDirURL(URLFactory.java:496)
            at oracle.ide.net.URLFactory.newDirURL(URLFactory.java:518)
            at oracle.ide.net.FileURLFileSystemHelper.getParent(FileURLFileSystemHelper.java:353)
            at oracle.ide.net.URLFileSystemHelperDecorator.getParent(URLFileSystemHelperDecorator.java:164)
            at oracle.ide.net.URLFileSystemHelperDecorator.getParent(URLFileSystemHelperDecorator.java:164)
            at oracle.ide.net.VirtualFileSystemHelper.getActiveRoot(VirtualFileSystemHelper.java:2320)
            - locked <0x17601f50> (a java.util.HashMap)
            at oracle.ide.net.VirtualFileSystemHelper.findOrFetchDirEntry(VirtualFileSystemHelper.java:2036)
            at oracle.ide.net.VirtualFileSystemHelper.ls(VirtualFileSystemHelper.java:688)
            at oracle.ide.net.VirtualFileSystemHelper.ls(VirtualFileSystemHelper.java:675)
            at oracle.ide.net.URLFileSystemHelperDecorator.ls(URLFileSystemHelperDecorator.java:259)
            at oracle.ide.net.URLFileSystem.ls(URLFileSystem.java:1152)
            at oracle.ideimpl.index.file.DirFileTable.updateDir(DirFileTable.java:299)
            at oracle.ideimpl.index.file.DirFileTable.processQueue(DirFileTable.java:288)
            at oracle.ideimpl.index.file.DirFileTable.fullUpdate(DirFileTable.java:201)
            at oracle.ideimpl.index.file.DirFileTable.updateFileTable(DirFileTable.java:136)
            at oracle.ideimpl.index.file.AbstractFileTable.update(AbstractFileTable.java:379)
            at oracle.ideimpl.index.file.AbstractFileTable$FileTableUpdater.call(AbstractFileTable.java:914)
            at oracle.ideimpl.index.file.AbstractFileTable$FileTableUpdater.call(AbstractFileTable.java:903)
            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
            at java.util.concurrent.FutureTask.run(FutureTask.java:138)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            at java.lang.Thread.run(Thread.java:619)
    "index-query-thread-1" prio=6 tid=0x0646a400 nid=0xb68 waiting on condition [0x0eabf000]
       java.lang.Thread.State: WAITING (parking)
            at sun.misc.Unsafe.park(Native Method)
            - parking to wait for  <0x1f216380> (a java.util.concurrent.FutureTask$Sync)
            at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
            at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:747)
            at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:905)
            at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1217)
            at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:218)
            at java.util.concurrent.FutureTask.get(FutureTask.java:83)
            at oracle.ideimpl.index.task.BackgroundTaskImpl.get(BackgroundTaskImpl.java:44)
            at oracle.ideimpl.index.file.FileTableManagerImpl.getFileTable(FileTableManagerImpl.java:106)
            at oracle.ideimpl.index.IndexRoot.lock(IndexRoot.java:296)
            at oracle.ideimpl.index.IndexImpl.lock(IndexImpl.java:161)
            at oracle.ideimpl.index.IndexImpl$IndexQuery.call(IndexImpl.java:510)
            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
            at java.util.concurrent.FutureTask.run(FutureTask.java:138)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            at java.lang.Thread.run(Thread.java:619)
    "Image Animator 3" daemon prio=4 tid=0x062cc000 nid=0x268 waiting for monitor entry [0x0776f000]
       java.lang.Thread.State: BLOCKED (on object monitor)
            at java.awt.Frame.getExtendedState(Frame.java:743)
            - waiting to lock <0x1755c688> (a oracle.ideimpl.MainWindowImpl)
            at javax.swing.RepaintManager.addDirtyRegion0(RepaintManager.java:419)
            at javax.swing.RepaintManager.addDirtyRegion(RepaintManager.java:465)
            at javax.swing.JComponent.repaint(JComponent.java:4734)
            at java.awt.Component.imageUpdate(Component.java:3297)
            at sun.awt.image.ImageWatched$WeakLink.newInfo(ImageWatched.java:114)
            at sun.awt.image.ImageWatched.newInfo(ImageWatched.java:151)
            at sun.awt.image.ImageRepresentation.imageComplete(ImageRepresentation.java:649)
            at sun.awt.image.ImageDecoder.imageComplete(ImageDecoder.java:135)
            at sun.awt.image.GifFrame.dispose(GifImageDecoder.java:645)
            at sun.awt.image.GifImageDecoder.readImage(GifImageDecoder.java:441)
            at sun.awt.image.GifImageDecoder.produceImage(GifImageDecoder.java:195)
            at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:246)
            at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
            at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
    "IconOverlayTracker Timer" prio=6 tid=0x0645e800 nid=0xe30 in Object.wait() [0x0786f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.Object.wait(Object.java:485)
            at java.util.TimerThread.mainLoop(Timer.java:483)
            - locked <0x18d3ffe0> (a java.util.TaskQueue)
            at java.util.TimerThread.run(Timer.java:462)
    "status-0" prio=2 tid=0x06440400 nid=0x12c4 waiting on condition [0x0577f000]
       java.lang.Thread.State: WAITING (parking)
            at sun.misc.Unsafe.park(Native Method)
            - parking to wait for  <0x17812428> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
            at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
            at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
            at java.util.concurrent.DelayQueue.take(DelayQueue.java:160)
            at oracle.ide.status.StatusExecutor$StatusQueue.take(StatusExecutor.java:329)
            at oracle.ide.status.StatusExecutor$StatusQueue.take(StatusExecutor.java:291)
            at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
            at java.lang.Thread.run(Thread.java:619)
    "WaitCursor-Timer" prio=6 tid=0x063a2400 nid=0x111c in Object.wait() [0x0756f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x185b32e8> (a java.util.TaskQueue)
            at java.lang.Object.wait(Object.java:485)
            at java.util.TimerThread.mainLoop(Timer.java:483)
            - locked <0x185b32e8> (a java.util.TaskQueue)
            at java.util.TimerThread.run(Timer.java:462)
    "Native Directory Watcher" prio=2 tid=0x0629d800 nid=0x1788 runnable [0x0746f000]
       java.lang.Thread.State: RUNNABLE
            at oracle.ide.natives.NativeHandler.enterWatcherThread(Native Method)
            at oracle.ide.natives.NativeHandler$2.run(NativeHandler.java:252)
            at java.lang.Thread.run(Thread.java:619)
    "Background Parser" prio=6 tid=0x0634ec00 nid=0x434 waiting on condition [0x0736f000]
       java.lang.Thread.State: TIMED_WAITING (sleeping)
            at java.lang.Thread.sleep(Native Method)
            at oracle.dbtools.raptor.plsql.BackgroundParser$1.construct(BackgroundParser.java:127)
            at oracle.dbtools.raptor.utils.NamedSwingWorker$2.run(NamedSwingWorker.java:115)
            at java.lang.Thread.run(Thread.java:619)
    "Background Parser" prio=6 tid=0x04cd1800 nid=0x1378 waiting on condition [0x0726f000]
       java.lang.Thread.State: TIMED_WAITING (sleeping)
            at java.lang.Thread.sleep(Native Method)
            at oracle.dbtools.raptor.plsql.BackgroundParser$1.construct(BackgroundParser.java:127)
            at oracle.dbtools.raptor.utils.NamedSwingWorker$2.run(NamedSwingWorker.java:115)
            at java.lang.Thread.run(Thread.java:619)
    "TextBufferScavenger" prio=6 tid=0x04ae7400 nid=0x11b4 in Object.wait() [0x05e7f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x1839ca00> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
            - locked <0x1839ca00> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
            at oracle.ide.model.TextNode$FacadeBufferReference$PollingThread.run(TextNode.java:1949)
    "Checkpointer" daemon prio=6 tid=0x04d0dc00 nid=0x564 in Object.wait() [0x05d7f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x18023560> (a java.lang.Object)
            at java.lang.Object.wait(Object.java:485)
            at com.sleepycat.je.utilint.DaemonThread.run(DaemonThread.java:152)
            - locked <0x18023560> (a java.lang.Object)
            at java.lang.Thread.run(Thread.java:619)
    "INCompressor" daemon prio=6 tid=0x04d0d800 nid=0x10b4 in Object.wait() [0x05c7f000]
       java.lang.Thread.State: TIMED_WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at com.sleepycat.je.utilint.DaemonThread.run(DaemonThread.java:154)
            - locked <0x18023528> (a java.lang.Object)
            at java.lang.Thread.run(Thread.java:619)
    "BaseTreeExplorer.NodeOpeningExecutor" prio=6 tid=0x03925400 nid=0x14c0 waiting on condition [0x05a7f000]
       java.lang.Thread.State: WAITING (parking)
            at sun.misc.Unsafe.park(Native Method)
            - parking to wait for  <0x17a650c0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
            at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
            at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925)
            at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358)
            at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
            at java.lang.Thread.run(Thread.java:619)
    "Scheduler" daemon prio=6 tid=0x04ad4800 nid=0x1514 in Object.wait() [0x0587f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.Object.wait(Object.java:485)
            at oracle.dbtools.raptor.backgroundTask.TaskLinkedList.takeNextTask(TaskLinkedList.java:47)
            - locked <0x17a5d308> (a oracle.dbtools.raptor.backgroundTask.TaskLinkedList)
            at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$SchedulerThread.run(RaptorTaskManager.java:429)
    "ChangeSetService" prio=2 tid=0x04ac9000 nid=0x1740 in Object.wait() [0x0567f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x178db328> (a oracle.jdevimpl.vcs.changeset.ChangeSetService)
            at java.lang.Object.wait(Object.java:485)
            at oracle.jdevimpl.vcs.changeset.ChangeSetService.awaitEvents(ChangeSetService.java:178)
            - locked <0x178db328> (a oracle.jdevimpl.vcs.changeset.ChangeSetService)
            at oracle.jdevimpl.vcs.changeset.ChangeSetService.eventLoop(ChangeSetService.java:199)
            at oracle.jdevimpl.vcs.changeset.ChangeSetService.access$200(ChangeSetService.java:56)
            at oracle.jdevimpl.vcs.changeset.ChangeSetService$2.run(ChangeSetService.java:138)
            at java.lang.Thread.run(Thread.java:619)
    "TimerQueue" daemon prio=6 tid=0x04a2b800 nid=0x10a4 in Object.wait() [0x0516f000]
       java.lang.Thread.State: TIMED_WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at javax.swing.TimerQueue.postExpiredTimers(TimerQueue.java:218)
            - locked <0x175e7768> (a javax.swing.TimerQueue)
            at javax.swing.TimerQueue.run(TimerQueue.java:234)
            - locked <0x175e7768> (a javax.swing.TimerQueue)
            at java.lang.Thread.run(Thread.java:619)
    "TimedCache-Timer" daemon prio=6 tid=0x03975c00 nid=0x113c in Object.wait() [0x03cdf000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.Object.wait(Object.java:485)
            at java.util.TimerThread.mainLoop(Timer.java:483)
            - locked <0x17204200> (a java.util.TaskQueue)
            at java.util.TimerThread.run(Timer.java:462)
    "JarIndex Timer" daemon prio=6 tid=0x0396c400 nid=0x1058 in Object.wait() [0x040ef000]
       java.lang.Thread.State: TIMED_WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.util.TimerThread.mainLoop(Timer.java:509)
            - locked <0x171e8d50> (a java.util.TaskQueue)
            at java.util.TimerThread.run(Timer.java:462)
    "AWT-EventQueue-0" prio=6 tid=0x02fbc400 nid=0x998 runnable [0x03fdf000]
       java.lang.Thread.State: RUNNABLE
            at sun.awt.windows.WFramePeer.getState(Native Method)
            at java.awt.Frame.getExtendedState(Frame.java:745)
            - locked <0x1755c688> (a oracle.ideimpl.MainWindowImpl)
            at oracle.bali.ewt.olaf2.OracleRootPaneUI._isResizable(OracleRootPaneUI.java:210)
            at oracle.bali.ewt.olaf2.OracleRootPaneUI.access$400(OracleRootPaneUI.java:44)
            at oracle.bali.ewt.olaf2.OracleRootPaneUI$ResizeComponent.getWidth(OracleRootPaneUI.java:335)
            at javax.swing.JComponent.getBounds(JComponent.java:4178)
            at javax.swing.JComponent.getObscuredState(JComponent.java:5171)
            at javax.swing.JComponent._paintImmediately(JComponent.java:4984)
            at javax.swing.JComponent.paintImmediately(JComponent.java:4882)
            at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:803)
            at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
            at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
            at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    "AWT-Shutdown" prio=4 tid=0x03830400 nid=0x17e4 in Object.wait() [0x03edf000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.Object.wait(Object.java:485)
            at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
            - locked <0x171ae868> (a java.lang.Object)
            at java.lang.Thread.run(Thread.java:619)
    "Java2D Disposer" daemon prio=10 tid=0x03019400 nid=0xbc0 in Object.wait() [0x03bdf000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
            - locked <0x171ae8f8> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
            at sun.java2d.Disposer.run(Disposer.java:125)
            at java.lang.Thread.run(Thread.java:619)
    "Low Memory Detector" daemon prio=6 tid=0x02f99c00 nid=0xd70 runnable [0x00000000]
       java.lang.Thread.State: RUNNABLE
    "CompilerThread0" daemon prio=10 tid=0x02f93c00 nid=0xbe4 waiting on condition [0x00000000]
       java.lang.Thread.State: RUNNABLE
    "Attach Listener" daemon prio=10 tid=0x02f92400 nid=0xf40 runnable [0x00000000]
       java.lang.Thread.State: RUNNABLE
    "Signal Dispatcher" daemon prio=10 tid=0x02f91000 nid=0x17f4 waiting on condition [0x00000000]
       java.lang.Thread.State: RUNNABLE
    "Finalizer" daemon prio=8 tid=0x02f4f000 nid=0xa90 in Object.wait() [0x0332f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
            - locked <0x17130288> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
            at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=10 tid=0x02f4dc00 nid=0x17ec in Object.wait() [0x0322f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            at java.lang.Object.wait(Object.java:485)
            at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
            - locked <0x17130310> (a java.lang.ref.Reference$Lock)
    "main" prio=6 tid=0x00bb7800 nid=0x17b8 waiting on condition [0x00000000]
       java.lang.Thread.State: RUNNABLE
    "VM Thread" prio=10 tid=0x02f4c000 nid=0x17dc runnable
    "VM Periodic Task Thread" prio=10 tid=0x02fa4000 nid=0x83c waiting on condition
    JNI global references: 11823
    Heap
    def new generation   total 14208K, used 14203K [0x161d0000, 0x17130000, 0x17130000)
      eden space 12672K, 100% used [0x161d0000, 0x16e30000, 0x16e30000)
      from space 1536K,  99% used [0x16fb0000, 0x1712ef00, 0x17130000)
      to   space 1536K,   0% used [0x16e30000, 0x16e30000, 0x16fb0000)
    tenured generation   total 189056K, used 189056K [0x17130000, 0x229d0000, 0x229d0000)
       the space 189056K, 100% used [0x17130000, 0x229d0000, 0x229d0000, 0x229d0000)
    compacting perm gen  total 43520K, used 43279K [0x229d0000, 0x25450000, 0x2a9d0000)
       the space 43520K,  99% used [0x229d0000, 0x25413e80, 0x25414000, 0x25450000)
        ro space 8192K,  67% used [0x2a9d0000, 0x2af39040, 0x2af39200, 0x2b1d0000)
        rw space 12288K,  54% used [0x2b1d0000, 0x2b84d348, 0x2b84d400, 0x2bdd0000)So with a slightly different outcome from yesterday, when I was logically using more of sqldev. That gave me a lot of out of memory exceptions before sqldev become unusable. I eventually killed it myself.
    I haven't reproduced the query builder situation (yet), but as it's internal query is almost as long as this one, it might very well be the same or a related issue.
    Hope that helps,
    K.

  • Confusion on Java heap memory and WLS_FORMS

    Hello all,
    Background first:
    Oracle Forms/Reports 11.1.2 64-bit
    WebLogic Server 10.3.6
    JDK 1.6 update 37 64-bit
    Microsoft Windows 2008 R2
    Using nodemanager to start/stop managed servers
    After having read all of the documentation and searched both this forum and the Internet for advice, I'm still utterly confused about the best way to make use of memory on the server (the server I'm working on now has 8GB). The two trains of thought that I have discovered in my search:
    1). Don't change the Javaheap size at all (stick with the defaults) and just create additional managed servers on the same machine.
    2). Increase the Java heap size for WLS_FORMS
    Having said that, here are my questions:
    A). What is the best-practices approach (#1 or #2)?
    B). If it's #2, what's the approved way to increase the heap size? I have tried adding -Xms and -Xmx arguments to the WLS server start arguments in the WLS console. These are applied when the managed server is started (confirmed in the log file), but because of the way WLS_FORMS is started, there are more -Xms and -Xmx arguments applied after mine, and Java picks the last one mentioned if there are duplicates.
    First update: Question #2 seems to be answered by support note 1260074.1 (the one place I hadn't yet looked)
    Thanks for any insight you can provide. If there's a document I've missed somewhere, I'm happy to be told where it is and will read and summarize findings here.
    Regards,
    John

    John,
    Let me try to comment on each of yours:
    1). We had been getting some "Apache unable to contact the forms server" type errors (the users were seeing the "Failure of server APACHE bridge" error). The log files showed nothing of interest. I increased the memory allocated using setDomainEnv.cmd, and the error seems to have gone away. Yes, I know that it was a shotgun approach, trying something without really having a reason to do so, but it seems to have helped Edit: Now that I review the OHS logs instead of the WLS_FORMS logs, I have found log messages, which leads me to Doc 1380762.1, which tells me I need a patch. DOH. And, oh crikey, Forms 11.1.2.1 is out, it came out shortly after we downloaded 11.1.2.0 to create these environments. Good news/bad news kind of thing... <blockquote>The Apache Bridge error is fairly straight forward if you understand what it is telling you. It is an error generated by mod_wl_ohs who is owned by OHS (Apache). This module is responsible for the connection between OHS and WLS. The Apache Bridge error means that OHS (mod_wls) was unable to get a response from the WLS managed server it was calling. Basically it was unable to cross the bridge ;) The cause could be anything from the managed server is not running, to the managed server is over tasked, or there is a network configuration issue and the managed server simply didn't hear OHS calling.
    This is all discussed in MOS note 1304095.1
    As for 11.1.2.1, this can be installed fresh or as a patch over 11.1.2.0. So for machines that don't currently have anything installed, you can go directly to 11.1.2.1 without having to install 11.1.2.0 first.</blockquote>
    2). As tony.g suggested, we are looking for what we should do to solve the "I have n servers with x GB of RAM, what should I do to the out-of-the-box configuration of Forms for stability" question. <blockquote>As I mentioned, there really are no "Forms" specific tweaks related to how much RAM your machine has. The only exception to this is (although somewhat indirect) to use JVM Pooling. JVM Pooling can reduce the size of each runtime process's memory footprint by moving its java calls to the jvm pool then sharing common requests with other running runtimes. Memory usage by OHS or the WLS managed server really has little to do directly with Forms. Specifically to the managed server, from a Forms point of view, I would not expect the memory cost of WLS_FORMS to increase much because of load. I expect it to increase as concurrent load increases, but I would not expect it to be significant. If I had to guess, seeing an increase of 1m or less per user would not surprise me (this is just a guess - I don't know what the expected values would be). If we were to use our (Oracle) older scalability guidelines, typically we would have suggested that you should consider about 100 sessions per 1 jvm for best performance. Given that v11 uses a newer java version and scalability is better today, I suspect you can easily scale to a few hundred (e.g. 300) or so before performance drops off. Beyond that, the need to add more managed servers would likely be necessary.
    This is discussed in MOS note 989118.1</blockquote>
    3). HA is important to us, so we are implementing a cluster of Forms/Reports servers with an LBR in front of it. I have read in the docs on clustering, cloning a managed server, and via Support, how to increase the heap memory for the WLS_FORMS server. My thought process was "if Oracle gives me instructions on how to increase heap memory and how to clone managed servers, there must be a scenario in which doing so provides benefit." I'm trying to understand the scenarios in which we would do either of those activities. <blockquote>Refer to the note I mentioned above. Generally, if you limit the number of concurrent sessions to less than around 300-400, I would think the default settings should be fine. If you think you would like to go beyond 300 or 400 per managed server then likely you will need to increase the max heap for the managed server. Again, refer to the note I mentioned previously.
    Also see MOS note 1260074.1</blockquote>
    I am aware of the JVM pooling (yes we do call out to Reports) - I've yet to implement this, but it's on my to-do list.
    <blockquote>This is discussed in the [url http://docs.oracle.com/cd/E38115_01/doc.111210/e24477/jvm.htm]Forms Deployment Guide</blockquote>
    Hope that helps ;)
    .

Maybe you are looking for

  • Problem in seeing ole object at runtime...

    I am using MSR(magnetic stripe reader) component in my OLE container in form in design time. But as soon as i run that form., the component gets disappeared. to work on that same object i.e MSR i have to insert that Component once again. But i want t

  • Problem with Type Reference "TYPE' in JCO

    Hi All, I am facing a weard situation when i am creating a custom RFC function module. This FM is called by Java program with JCO. But, if i define the FM parameters with Reference type as 'TYPE', the Java application is not able to get the data. But

  • Can't Import _MG files into Lightroom

    Im running Lightroom 2 and normally import images from my MkII without problems, with the IMG file extension. I used a friends 70D and am trying to import _MG files but the files won't import. Can anyone help as I need the images from this card and n

  • I need a scrollable JMenu is it possible?

    Hello Ladies and Gentle men! I'm in a fix to solve this problem! When I try to add to many Item in a JMenu it falls beyond my screen area. Can you tell how I can have a scrollable JMenu? I've provided the code below...plz tell me where I should modif

  • Help Needed connecting a second Airport Express

    I have a perfectly functioning Airport Express. It is connected to a Router and I have DSL. I have encryption and it is password protected. We have 5 Macs that blissfully use this A.E. You would think I would be happy, right? My (ahem) wife, then wan