Problems(java.lang.OutOfMemoryError)  Migrating from jdk1.3 to jdk1.4

Hi,
We are trying to migrate our application written using Swing EJB,JMS from jdk 1.3.1_06-b01 version to jdk1.4.1. With jdk1.3 everything works fine, but with jdk1.4, after the client is launched I get a java.lang.OutOfMemoryError, even for simple operation like seleting a node in the tree. We had set the initial heap size to 64m and max heap size to 150m. If I change the heap size to -Xms=96m an d-Xmx=256m the application works fine, but it hogs a lot of memory(nearly 210m for simple operations). Is there a memory issue with jdk1.4. If yes are there any possible workarounds?
Any help would be appreciated.
Thanks
Dheeresh

Don't use any memory settings, the memory will be allowed dynamically.
Denis

Similar Messages

  • OSB Problem: java.lang.OutOfMemoryError: getNewTla

    Hi there,
    Yesterday I posted a problem related to the OSB console not loading and giving an error (<BEA-381951> JCA inbound request only invocation failed
    Since then I've looked harder at the problem and realised that the real problem was the following exception:
    ####<28/Jul/2010 11H16m BST> <Error> <Kernel> <Server> <AdminServerOsb> <[ACTIVE] ExecuteThread: '9' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <a7acfb4f5f216892:-3c87e2be:12a1882fb62:-8000-000000000001fc60> <1280312179687> <BEA-000802> <ExecuteRequest failed
    java.lang.OutOfMemoryError: getNewTla.
    java.lang.OutOfMemoryError: getNewTla
         at java.util.concurrent.ConcurrentHashMap$KeySet.iterator(ConcurrentHashMap.java:1169)
         at weblogic.socket.SocketMuxer.getSocketsIterator(SocketMuxer.java:610)
         at weblogic.socket.SocketMuxer$TimerListenerImpl.timerExpired(SocketMuxer.java:955)
         at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    This exception is occurring every time I make a request to the weblogic server.
    I can't find any explanation about this problem anywhere so I'm asking for some help.
    Best Regards,
    Daniel Alves

    sorry for interfering but this kind of issues should be accompanied by analysis done with JRockit Mission Control Runtime Analysis (Flight Recording)
    http://download.oracle.com/docs/cd/E15289_01/doc.40/e15070/toc.htm
    take also advantage of the oomdiagnostics flag of JRockit.
    JRockit contains WONDERFUL diagnostics tools, if you learn how to use them you are the King of Persia.
    unless you determine the cause it's very difficult to address it by trial and error. Besides, if (if!) you have a memory leak there is no point in changing the JVM parameters....

  • Java.lang.OutOfMemoryError - Trapping from DOS

    Hi
    I invoke my Java from a DOS .bat file, something similar to this below
    java.exe -classpath my.jar;%classpath% my.batch.Application %BATCH_LOGS% testing=YI know I can add -Xmx500m to add memory however I dont want to do this for every app I build as its a bit of a waste (and I have two hundred that I have).
    I therefore need to trap for when my program gives a java.lang.OutOfMemoryError so that I can then exit the DOS .bat file cleanly or not (this is so that Autosys then SUCCEED or FAILs)
    For normal return codes the return code is passed out via System.exit(return_code) from a specific interface based method for all programs.
    Is it a case that a finalize method is the best way to do this and do a System.exit(return_code) ? Or is there a better way?
    TVMIA
    Robin

    kajbj wrote:
    Odd, that it isn't a value != 0.It is. It's 1
    db
    Tested with:
    Java codeimport java.util.*;
    public class OOMECreator {
      public static void main(String[] args) {
        List<String> list = new ArrayList<String>();
        while (true) {
          list.add("");
    }BAT file@echo off
    java OOMECreator
    echo %errorlevel%
    if errorlevel 1 goto bad
    echo good
    goto end
    :bad
    echo bad
    :endPrints:E:\Java\examples\build\classes>oome
    Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
            at java.util.Arrays.copyOf(Unknown Source)
            at java.util.Arrays.copyOf(Unknown Source)
            at java.util.ArrayList.ensureCapacity(Unknown Source)
            at java.util.ArrayList.add(Unknown Source)
            at OOMECreator.main(OOMECreator.java:9)
    1
    bad
    E:\Java\examples\build\classes>

  • Java.lang.OutOfMemoryError: PermGen space

    <Oct 25, 2011 12:15:53 AM IST> <Error> <netuix> <BEA-423405> <An exception [java.lang.OutOfMemoryError: PermGen space] w
    as thrown while rendering the content at [jsp/changemgmt/ChangeManager.jsp].
    javax.servlet.ServletException: java.lang.OutOfMemoryError: PermGen space
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
    at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
    at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
    at org.apache.beehive.netui.pageflow.scoping.internal.ScopedRequestDispatcher.include(ScopedRequestDispatcher.ja
    va:119)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.OutOfMemoryError: PermGen space
    at sun.misc.Unsafe.defineClass(Native Method)
    at sun.reflect.ClassDefiner.defineClass(ClassDefiner.java:63)
    at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:399)
    at sun.reflect.MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    Truncated. see log file for complete stacktrace
    >
    <Oct 25, 2011 12:15:53 AM IST> <Error> <netuix> <BEA-423137> <There was an error loading the requested URI /jsp/changemg
    mt/ChangeManager.jsp.>
    <Oct 25, 2011 12:16:14 AM IST> <Error> <HTTP> <BEA-101017> <[ServletContext@22272290[app:consoleapp module:console path:
    /console spec-version:2.5]] Root cause of ServletException.
    java.lang.OutOfMemoryError: PermGen space
    >
    <Oct 25, 2011 12:16:15 AM IST> <Error> <HTTP> <BEA-101107> <[ServletContext@22272290[app:consoleapp module:console path:
    /console spec-version:2.5]] Problem occurred while serving the error page.
    java.lang.OutOfMemoryError: PermGen space
    >
    Exception in thread "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '1' fo
    r queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '0' fo
    r queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception in thread "[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '3' fo
    r queue: 'weblogic.kernel.Default (self-tuning)'"
    Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
    the VM may need to be forcibly terminated
    Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
    the VM may need to be forcibly terminated
    Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
    the VM may need to be forcibly terminated
    Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
    the VM may need to be forcibly terminated
    Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
    the VM may need to be forcibly terminated
    Java HotSpot(TM) Client VM warning: Exception java.lang.OutOfMemoryError occurred dispatching signal UNKNOWN to handler-
    the VM may need to be forcibly terminated
    Environment:
    OS: Windows Vista
    Weblogic 10.3.5
    JDK: java version "1.7.0"
    Java(TM) SE Runtime Environment (build 1.7.0-b147)
    Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)
    I created a new domain and when access the Admin console I get the " OutOfMemory " Error
    I revisited the domain creation steps and identified that when selecting the available JDK it shows " JRockit SDK 1.7.0 @ E:\Development\Java\jdk1.7.0"
    But if I do a java-version I get Sun JDK
    java version "1.7.0"
    Java(TM) SE Runtime Environment (build 1.7.0-b147)
    Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)
    Start-up Argument
    JAVA Memory arguments: -Xms512m -Xmx512m
    WLS Start Mode=Production
    CLASSPATH=D:\BEA_HOME\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\BEA_HOME\patch_ocp360\profiles\default\sys_manifest_classpath\weblogic_patch.jar;E:\DEVELO~1\Java\JDK17~1.0\lib\tools.jar;D:\BEA_HOME\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\BEA_HOME\WLSERV~1.3\server\lib\weblogic.jar;D:\BEA_HOME\modules\features\weblogic.server.modules_10.3.5.0.jar;D:\BEA_HOME\WLSERV~1.3\server\lib\webservices.jar;D:\BEA_HOME\modules\ORGAPA~1.1/lib/ant-all.jar;D:\BEA_HOME\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\BEA_HOME\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\BEA_HOME\WLSERV~1.3\server\lib\xqrl.jar;.;C:\Program Files\Java\jre7\lib\ext\QTJava.zip
    PATH=D:\BEA_HOME\patch_wls1035\profiles\default\native;D:\BEA_HOME\patch_ocp360\profiles\default\native;D:\BEA_HOME\WLSERV~1.3\server\native\win\32;D:\BEA_HOME\WLSERV~1.3\server\bin;D:\BEA_HOME\modules\ORGAPA~1.1\bin;E:\DEVELO~1\Java\JDK17~1.0\jre\bin;E:\DEVELO~1\Java\JDK17~1.0\bin;D:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Broadcom\Broadcom 802.11\Driver;C:\Program Files\QuickTime\QTSystem\;D:\BEA_HOME\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    Starting WLS with line:
    E:\DEVELO~1\Java\JDK17~1.0\bin\java -Xms512m -Xmx512m -Dweblogic.Name=MyAdmin -Djava.security.policy=D:\BEA_HOME\WLSERV~1.3\server\lib\weblogic.policy -Dweblogic.ProductionModeEnabled=true -da -Dplatform.home=D:\BEA_HOME\WLSERV~1.3 -Dwls.home=D:\BEA_HOME\WLSERV~1.3\server -Dweblogic.home=D:\BEA_HOME\WLSERV~1.3\server -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=D:\BEA_HOME\patch_wls1035\profiles\default\sysext_manifest_classpath;D:\BEA_HOME\patch_ocp360\profiles\default\sysext_manifest_classpath weblogic.Server
    <Oct 25, 2011 12:24:20 AM IST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <Oct 25, 2011 12:24:20 AM IST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <Oct 25, 2011 12:24:21 AM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 21.0-b17 from Oracle Corporation>
    <Oct 25, 2011 12:24:22 AM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
    Any possible pointers to the issue. Is it a issue with incompatible JDK 1.7 with weblogic 10.3.5.

    I just checked on the Oracle Support site. Oracle WebLogic Server 10.3.5.0.0 is certified with Oracle JDK (1.6.0_24+). There are other JDKs listed but they're all in the Java 6 family, no Java 7.
    Also, Oracle WebLogic Server 12.1.1.0.0 shows as certified with Oracle JDK 1.6.0_29+.
    Of course, this is all as of this writing.
    D

  • Java.lang.OutofmemoryError while loading message in mapping

    Hi,
    I encountered a Strange problem while performing message mapping.
    I have to transform Orders05 message into another message format(the size of the XSD file is 17 KB) which has got 100 elements(approx count) in it.
    After selecting the source message(Orders05) when i tried to select the target message (whihc was imported into XI as external definations), the system hangs up and i get below error message.
    <b>Display Problem
    java.lang.OutofmemoryError
    Internal problem occurred (INTERNAL_PROBLEM)
    MESSAGE ID: com.sap.aii.utilxi.swing.framework.rb_exceptions.INTERNAL_PROBLEM</b>
    The system i tried this was a P4-processor512 MB RAM. so i used my laptop(1 GB RAM Intel centrino) to perform the same. But no change in message mapping, but the only thing i noticed was the system did not hangup.
    Later i went to perform the same mapping on the server 3 GB RAM, dual processor. Initially the message could be selected as target field. But after performing 2-3 field level mapping, the Design time hanged up. I had to close the session and open up again to perform 2-3 field mappings again. This went on for over 20 times and only then i could finish the entire mapping.
    I have never encountered such a problem earlier. Is there any solution to rectify this. My problem is, i have to perform 10 such mappings :-((
    Here is the complete errror i got .
    Internal problem occurred (INTERNAL_PROBLEM)
    MESSAGE ID: com.sap.aii.utilxi.swing.framework.rb_exceptions.INTERNAL_PROBLEM
    STACKTRACE:
    com.sap.aii.utilxi.swing.framework.FrameworkException: Internal problem occurred
        at com.sap.aii.utilxi.swing.toolkit.ExceptionDialog.init(ExceptionDialog.java:116)
        at com.sap.aii.utilxi.swing.toolkit.ExceptionDialog.<init>(ExceptionDialog.java:93)
        at com.sap.aii.mappingtool.fwutil.util.ToolUtil.restartTool(ToolUtil.java:362)
        at com.sap.aii.ibrep.gui.mapping.xitrafo.XiTransformationView.loadIfrSchema(XiTransformationView.java:274)
        at com.sap.aii.ibrep.gui.mapping.xitrafo.XiMappingView.searchForRepositoryObject(XiMappingView.java:245)
        at com.sap.aii.ibrep.gui.mapping.xitrafo.RepObjSearchHelpAction.actionPerformed(RepObjSearchHelpAction.java:90)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.AbstractButton.doClick(Unknown Source)
        at com.sap.plaf.frog.FrogMenuItemUI$MouseInputHandler.mouseReleased(FrogMenuItemUI.java:833)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
    java.lang.OutOfMemoryError
    STACKTRACE:
    Regards,
    Siva Maranani

    Hi Siva,
    Goto the exchange profile via URL
    http://<>:port/exchangeProfile, goto
    IntegrationBuilder in the left tree and increase parameter com.sap.aii.ib.client.jnlp.j2se.maxheapsize from 512m to 768m (or higherif necessary). Press the save button.
    Goto http://<>:port/rep/support/admin/index.html,
    press AII Properties on the left side and then press the REFRESH button until you see the new value on the right side.
    if the problem is no resolved even after doing the above, take a look at a look at note:
    580351 Java WebStart troubleshooting in XI 2.0
    855471
    (This note is also valid for XI3.0)
    Cheers,
    Naveen
    Message was edited by: Naveen Pandrangi

  • WebLogic startup --- java.lang.OutOfMemoryError

    Hello,
    after many Error's i get now this trace.
    Until now, i fixed the MBean error, and the Permgen error. [Link | https://kr.forums.oracle.com/forums/thread.jspa?threadID=2306365 ]
    But now i get this ... and google dont help me with the printed errors.
    Does anyone of you got a hint for me?
    greets Jens
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http://hostname:port/console *
    starting weblogic with Java version:
    java version "1.7.0_19"
    OpenJDK Runtime Environment (rhel-2.3.9.1.el6_4-x86_64)
    OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
    Starting WLS with line:
    /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.19.x86_64/bin/java -Xms512m -Xmx512m -Dweblogic.Name=AdminServer -Djava.security.policy=/opt/oracle/wlserver_12.1/server/lib/weblogic.policy -Djava.endorsed.dirs=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.19.x86_64/jre/lib/endorsed:/opt/oracle/wlserver_12.1/endorsed -da -Dplatform.home=/opt/oracle/wlserver_12.1 -Dwls.home=/opt/oracle/wlserver_12.1/server -Dweblogic.home=/opt/oracle/wlserver_12.1/server -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/opt/oracle/patch_wls1211/profiles/default/sysext_manifest_classpath:/opt/oracle/patch_ocp371/profiles/default/sysext_manifest_classpath weblogic.Server
    <May 27, 2013 2:56:51 PM CEST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <May 27, 2013 2:56:51 PM CEST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <May 27, 2013 2:56:51 PM CEST> <Notice> <WebLogicServer> <BEA-000395> <The following extensions directory contents added to the end of the classpath:
    /opt/oracle/user_projects/domains/weblogic/lib/hsql.jar:/opt/oracle/user_projects/domains/weblogic/lib/portal-service.jar:/opt/oracle/user_projects/domains/weblogic/lib/portlet.jar.>
    <May 27, 2013 2:56:52 PM CEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with OpenJDK 64-Bit Server VM Version 23.7-b01 from Oracle Corporation.>
    <May 27, 2013 2:56:53 PM CEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for 13340309 Thu Feb 16 18:30:21 IST 2012
    WebLogic Server Temporary Patch for 13019800 Mon Jan 16 16:53:54 IST 2012
    WebLogic Server Temporary Patch for BUG13391585 Thu Feb 02 10:18:36 IST 2012
    WebLogic Server Temporary Patch for 13516712 Mon Jan 30 15:09:33 IST 2012
    WebLogic Server Temporary Patch for BUG13641115 Tue Jan 31 11:19:13 IST 2012
    WebLogic Server Temporary Patch for BUG13603813 Wed Feb 15 19:34:13 IST 2012
    WebLogic Server Temporary Patch for 13424251 Mon Jan 30 14:32:34 IST 2012
    WebLogic Server Temporary Patch for 13361720 Mon Jan 30 15:24:05 IST 2012
    WebLogic Server Temporary Patch for BUG13421471 Wed Feb 01 11:24:18 IST 2012
    WebLogic Server Temporary Patch for BUG13657792 Thu Feb 23 12:57:33 IST 2012
    WebLogic Server 12.1.1.0 Wed Dec 7 08:40:57 PST 2011 1445491 >
    <May 27, 2013 2:56:56 PM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
    <May 27, 2013 2:56:56 PM CEST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.>
    <May 27, 2013 2:56:56 PM CEST> <Notice> <LoggingService> <BEA-320400> <The log file /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/logs/AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms, such as Windows.>
    <May 27, 2013 2:56:56 PM CEST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/logs/AdminServer.log00012. Log messages will continue to be logged in /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/logs/AdminServer.log.>
    <May 27, 2013 2:56:56 PM CEST> <Notice> <Log Management> <BEA-170019> <The server log file /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
    <May 27, 2013 2:57:01 PM CEST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <May 27, 2013 2:57:05 PM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY.>
    <May 27, 2013 2:57:05 PM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
    May 27, 2013 2:57:22 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
    INFO: Detected server weblogic
    Loading zip:/opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay_Deployment/wdm7jy/war/WEB-INF/lib/portal-impl.jar!/system.properties
    May 27, 2013 2:57:23 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
    INFO: Global shared lib directory /opt/oracle/modules/
    May 27, 2013 2:57:23 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
    INFO: Global lib directory /opt/oracle/user_projects/domains/weblogic/lib/
    May 27, 2013 2:57:23 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
    INFO: Portal lib directory /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay_Deployment/wdm7jy/war/WEB-INF/lib/
    May 27, 2013 2:57:23 PM com.liferay.portal.kernel.log.Jdk14LogImpl info
    INFO: Properties for portal loaded from [file:/opt/oracle/user_projects/domains/portal-ext.properties, zip:/opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay_Deployment/wdm7jy/war/WEB-INF/lib/portal-impl.jar!/portal.properties]
    Loading zip:/opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay_Deployment/wdm7jy/war/WEB-INF/lib/portal-impl.jar!/portal.properties
    Loading file:/opt/oracle/user_projects/domains/portal-ext.properties
    <May 27, 2013 2:57:58 PM CEST> <Warning> <HTTP> <BEA-101342> <liferay_Deployment: Error(s) encountered while precompiling JSP jspURI
    configuration.jsp:17:18: Error in "init.jsp" at line 249: The code of method _jspService(HttpServletRequest, HttpServletResponse) is exceeding the 65535 bytes limit
    <%@ include file="/html/portlet/asset_publisher/init.jsp" %>
    ^--------------------------------------^
    >
    <May 27, 2013 2:57:59 PM CEST> <Warning> <J2EE> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: javax.crypto, referenced from: /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay_Deployment/wdm7jy/war/WEB-INF/lib/_wl_cls_gen.jar]. Ensure that the referenced optional package has been deployed as a library.>
    14:58:20,366 INFO [[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'][DialectDetector:71] Determine dialect for Oracle 11
    14:58:20,556 INFO [[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'][DialectDetector:136] Found dialect org.hibernate.dialect.Oracle10gDialect
    May 27, 2013 2:58:33 PM net.sf.ehcache.Cache initialise
    WARNING: Cache: com.liferay.portal.service.impl.PortletLocalServiceImpl has a maxElementsInMemory of 0. In Ehcache 2.0 this has been changed to mean a store with no capacity limit. Set it to 1 if you want no elements cached in memory
    May 27, 2013 2:59:17 PM org.quartz.impl.StdSchedulerFactory instantiate
    INFO: Using default implementation for ThreadExecutor
    ^X ^X^X^X^XException in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception in thread "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception in thread "[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception in thread "[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[STANDBY] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'"
    >
    <May 27, 2013 2:57:59 PM CEST> <Warning> <J2EE> <BEA-160140> <Unresolved optional package references (in META-INF/MANIFEST.MF): [Extension-Name: javax.crypto, referenced from: /opt/oracle/user_projects/domains/weblogic/servers/AdminServer/tmp/_WL_user/liferay_Deployment/wdm7jy/war/WEB-INF/lib/_wl_cls_gen.jar]. Ensure that the referenced optional package has been deployed as a library.>
    14:58:20,366 INFO [[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'][DialectDetector:71] Determine dialect for Oracle 11
    14:58:20,556 INFO [[STANDBY] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'][DialectDetector:136] Found dialect org.hibernate.dialect.Oracle10gDialect
    May 27, 2013 2:58:33 PM net.sf.ehcache.Cache initialise
    WARNING: Cache: com.liferay.portal.service.impl.PortletLocalServiceImpl has a maxElementsInMemory of 0. In Ehcache 2.0 this has been changed to mean a store with no capacity limit. Set it to 1 if you want no elements cached in memory
    May 27, 2013 2:59:17 PM org.quartz.impl.StdSchedulerFactory instantiate
    INFO: Using default implementation for ThreadExecutor
    ^X ^X^X^X^XException in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception in thread "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'"
    Edited by: 1008097 on 28.05.2013 00:12

    I think you should consider increasing heap size and check whether you still face the OOM. In addition to that you can consider implementing GC logging using: -verbose:gc -XX:PrintGCTimeStamps and other parameters..
    http://www.oracle.com/technetwork/java/javase/gc-tuning-6-140523.html
    You can consider implementing -XX:HeapDumpOnOutOfMemory or capture heap dump using jmap etc and check out the contents in the heap using MAT to understand the possible suspects.
    https://blogs.oracle.com/alanb/entry/heap_dumps_are_back_with
    The above are the basic stuff that needs to be looked into to understand the cause of this issue.
    Cheers!!
    AJ
    Edited by: AJ on May 28, 2013 4:28 PM

  • Migration from Mysql 5 to Oracle fails- java.lang.OutOfMemoryError

    Hello Folks,
    I m trying to migrate my DB from mysql 5 to Oracle 10g .
    I m meeting with some issues.
    1) My table data are missing.
    2) My foreign key indexing is missed.
    Any idea why so?
    This is a portion of Error log:
    ** Started : Wed Dec 20 13:06:56 GMT+05:30 2006
    ** Workbench Repository : Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Repository Connection URL: jdbc:oracle:thin:@192.168.0.2:1521:tpss10g
    ** The following plugins are installed:
    ** MySQL 3.22/3.23 Plugin, Production Release 10.1.0.4.1
    ** MySQL 4.X Plugin, Production Release 10.1.0.4.1
    ** MySQL 5.X Plugin, Beta Release for 10.1.0.4.0
    ** Active Plugin : MySQL5
    EXCEPTION : MySQLSourceModelMap._mapforeignKeys(): nios.root.order_rejection_notice_ibfk_1; Referenced schema not found.
    EXCEPTION : MySQLSourceModelMap._mapforeignKeys(): nios.root.trading_partner_2_sm_link_ibfk_2; Referenced schema not found.
    java.lang.OutOfMemoryError
    java.lang.OutOfMemoryError
    java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 12173
    Nested Stack Trace:
    ** BEGIN NESTED EXCEPTION **
    java.lang.ArrayIndexOutOfBoundsException
    MESSAGE: 12173
    STACKTRACE:
    java.lang.ArrayIndexOutOfBoundsException: 12173
         at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
         at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
         at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
         at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
         at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    ** END NESTED EXCEPTION **
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11823
    Nested Stack Trace:
    ** BEGIN NESTED EXCEPTION **
    java.lang.ArrayIndexOutOfBoundsException
    MESSAGE: 11823
    STACKTRACE:
    java.lang.ArrayIndexOutOfBoundsException: 11823
         at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
         at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
         at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
         at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
         at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    ** END NESTED EXCEPTION **
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 12152
    Nested Stack Trace:
    ** BEGIN NESTED EXCEPTION **
    java.lang.ArrayIndexOutOfBoundsException
    MESSAGE: 12152
    STACKTRACE:
    java.lang.ArrayIndexOutOfBoundsException: 12152
         at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
         at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
         at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
         at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
         at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    ** END NESTED EXCEPTION **
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11572
    Nested Stack Trace:
    ** BEGIN NESTED EXCEPTION **
    java.lang.ArrayIndexOutOfBoundsException
    MESSAGE: 11572
    STACKTRACE:
    java.lang.ArrayIndexOutOfBoundsException: 11572
         at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
         at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
         at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
         at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
         at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    ** END NESTED EXCEPTION **
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11693
    Nested Stack Trace:
    ** BEGIN NESTED EXCEPTION **
    java.lang.ArrayIndexOutOfBoundsException
    MESSAGE: 11693
    STACKTRACE:
    java.lang.ArrayIndexOutOfBoundsException: 11693
         at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
         at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
         at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
         at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
         at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    ** END NESTED EXCEPTION **
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11569
    Nested Stack Trace:
    ** BEGIN NESTED EXCEPTION **
    java.lang.ArrayIndexOutOfBoundsException
    MESSAGE: 11569
    STACKTRACE:
    java.lang.ArrayIndexOutOfBoundsException: 11569
         at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
         at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
         at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
         at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
         at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    ** END NESTED EXCEPTION **
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11569
    Nested Stack Trace:
    ** BEGIN NESTED EXCEPTION **
    java.lang.ArrayIndexOutOfBoundsException
    MESSAGE: 11569
    STACKTRACE:
    java.lang.ArrayIndexOutOfBoundsException: 11569
         at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
         at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
         at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
         at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
         at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    ** END NESTED EXCEPTION **
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11569
    Nested Stack Trace:
    ** BEGIN NESTED EXCEPTION **
    java.lang.ArrayIndexOutOfBoundsException
    MESSAGE: 11569
    STACKTRACE:
    java.lang.ArrayIndexOutOfBoundsException: 11569
         at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
         at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
         at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
         at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
         at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    ** END NESTED EXCEPTION **
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11569
    Nested Stack Trace:
    ** BEGIN NESTED EXCEPTION **
    java.lang.ArrayIndexOutOfBoundsException
    MESSAGE: 11569
    STACKTRACE:
    java.lang.ArrayIndexOutOfBoundsException: 11569
         at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
         at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
         at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
         at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
         at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    ** END NESTED EXCEPTION **

    Hello Folks,
    I m trying to migrate my DB from mysql 5 to Oracle 10g .
    I m meeting with some issues.
    1) My table data are missing.
    2) My foreign key indexing is missed.
    Any idea why so?
    This is a portion of Error log:
    ** Started : Wed Dec 20 13:06:56 GMT+05:30 2006
    ** Workbench Repository : Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Repository Connection URL: jdbc:oracle:thin:@192.168.0.2:1521:tpss10g
    ** The following plugins are installed:
    ** MySQL 3.22/3.23 Plugin, Production Release 10.1.0.4.1
    ** MySQL 4.X Plugin, Production Release 10.1.0.4.1
    ** MySQL 5.X Plugin, Beta Release for 10.1.0.4.0
    ** Active Plugin : MySQL5
    EXCEPTION : MySQLSourceModelMap._mapforeignKeys(): nios.root.order_rejection_notice_ibfk_1; Referenced schema not found.
    EXCEPTION : MySQLSourceModelMap._mapforeignKeys(): nios.root.trading_partner_2_sm_link_ibfk_2; Referenced schema not found.
    java.lang.OutOfMemoryError
    java.lang.OutOfMemoryError
    java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 12173
    Nested Stack Trace:
    ** BEGIN NESTED EXCEPTION **
    java.lang.ArrayIndexOutOfBoundsException
    MESSAGE: 12173
    STACKTRACE:
    java.lang.ArrayIndexOutOfBoundsException: 12173
         at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
         at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
         at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
         at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
         at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    ** END NESTED EXCEPTION **
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11823
    Nested Stack Trace:
    ** BEGIN NESTED EXCEPTION **
    java.lang.ArrayIndexOutOfBoundsException
    MESSAGE: 11823
    STACKTRACE:
    java.lang.ArrayIndexOutOfBoundsException: 11823
         at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
         at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
         at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
         at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
         at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    ** END NESTED EXCEPTION **
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 12152
    Nested Stack Trace:
    ** BEGIN NESTED EXCEPTION **
    java.lang.ArrayIndexOutOfBoundsException
    MESSAGE: 12152
    STACKTRACE:
    java.lang.ArrayIndexOutOfBoundsException: 12152
         at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
         at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
         at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
         at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
         at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    ** END NESTED EXCEPTION **
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11572
    Nested Stack Trace:
    ** BEGIN NESTED EXCEPTION **
    java.lang.ArrayIndexOutOfBoundsException
    MESSAGE: 11572
    STACKTRACE:
    java.lang.ArrayIndexOutOfBoundsException: 11572
         at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
         at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
         at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
         at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
         at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    ** END NESTED EXCEPTION **
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11693
    Nested Stack Trace:
    ** BEGIN NESTED EXCEPTION **
    java.lang.ArrayIndexOutOfBoundsException
    MESSAGE: 11693
    STACKTRACE:
    java.lang.ArrayIndexOutOfBoundsException: 11693
         at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
         at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
         at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
         at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
         at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    ** END NESTED EXCEPTION **
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11569
    Nested Stack Trace:
    ** BEGIN NESTED EXCEPTION **
    java.lang.ArrayIndexOutOfBoundsException
    MESSAGE: 11569
    STACKTRACE:
    java.lang.ArrayIndexOutOfBoundsException: 11569
         at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
         at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
         at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
         at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
         at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    ** END NESTED EXCEPTION **
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11569
    Nested Stack Trace:
    ** BEGIN NESTED EXCEPTION **
    java.lang.ArrayIndexOutOfBoundsException
    MESSAGE: 11569
    STACKTRACE:
    java.lang.ArrayIndexOutOfBoundsException: 11569
         at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
         at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
         at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
         at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
         at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    ** END NESTED EXCEPTION **
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11569
    Nested Stack Trace:
    ** BEGIN NESTED EXCEPTION **
    java.lang.ArrayIndexOutOfBoundsException
    MESSAGE: 11569
    STACKTRACE:
    java.lang.ArrayIndexOutOfBoundsException: 11569
         at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
         at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
         at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
         at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
         at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    ** END NESTED EXCEPTION **
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2312)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    java.sql.SQLException: Error during query: Unexpected Exception: java.lang.ArrayIndexOutOfBoundsException message given: 11569
    Nested Stack Trace:
    ** BEGIN NESTED EXCEPTION **
    java.lang.ArrayIndexOutOfBoundsException
    MESSAGE: 11569
    STACKTRACE:
    java.lang.ArrayIndexOutOfBoundsException: 11569
         at com.mysql.jdbc.Buffer.readFieldLength(Buffer.java:246)
         at com.mysql.jdbc.Buffer.fastSkipLenString(Buffer.java:107)
         at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:472)
         at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
         at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    ** END NESTED EXCEPTION **

  • Java.lang.OutOfMemoryError when viewing JSP with records from Oracle DB

    Hi,
    I did an import of data from my damp file.I have exported the file from my other Oracle10g database I have the following error after I try to access data from my table I populated with import:
    javax.servlet.ServletException: Servlet execution threw an exception
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    root cause
    java.lang.OutOfMemoryError: Java heap space
         oracle.jdbc.driver.DateTimeCommonAccessor.getDate(DateTimeCommonAccessor.java:105)
         oracle.jdbc.driver.OracleResultSetImpl.getDate(OracleResultSetImpl.java:737)
         oracle.jdbc.driver.OracleResultSet.getDate(OracleResultSet.java:1637)
         org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.getDate(DelegatingResultSet.java:255)
         com.myapp.app.OrderHelper.getAllOrders(OrderHelper.java:4137)
         com.myapp.app.GetOrderDO.execute(GetOrderDO.java:172)
         org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
         org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    a fragment of my OrderHelper with line where error occurs (line 4137):
    public class Orders {
    public List getAllOrders(){
    List lineOrders = new ArrayList();
    Connection conn = null;
    Statement stat = null;
    ResultSet rst = null;
    OrdersDTO order = null;
    String select = "SELECT * FROM TBL_ORDERS";
    DbConnection dbConn = new DbConnection();
    try {
    conn = dbConn.getDbConnection(Constants.MY_JNDI);
    stat = conn.createStatement();
    rst = stat.executeQuery(select);
    while(rst.next()){
    order = new OrdersDTO();
    order.setOrderAsmtDate(rst.getDate("order_asmt_date"));////line: 4137
    lineOrders.add(order);
    }catch (SQLException ex) {
    ex.printStackTrace();
    } finally{
    SQLHelper.cleanUp(rst, stat, conn);
    return lineOrders;
    GetOrderDO.java is just my action class which calls the getAllOrders method for my JSP to list orders. Am using Apache Tomcat/5.5.17 and struts 1.2.9 and Orcale10g.
    thnx,
    xsiyez

    thank you Avi and Bipin for the responce. I have installed Oracle on my RedHat Enterprise Linux 4 box and did an export of the TBL_ORDERS table from my database on Windows Vista . Am not getting this error when running my application on this machine. I get the error on when I run it on windows vista where I have also installed Oracle 10g and running tomcat.
    Yes Avi the ArrayList object is actually getting to big. Its returning more than 100 000 rows. I am using displaytag to do pegination. Any guidelines on how I can increase jvm heap memory on of tomcat?
    Thanx.

  • Problem with java.lang.OutOfMemoryError

    hi
    i am developping a web application
    i am using jfreechart in my jsf application to generate statistic diagrams
    to update my diagrams i am calling the methode ChartUtilities.saveChartAsPNG(file1, chart, 400, 300, null) every 10 seconds
    my application become more and more slow and the cpnsommatio of memory is more and more important until getting this exception:
    javax.faces.el.EvaluationException: java.lang.OutOfMemoryError: Java heap space
         at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at javax.faces.component.UICommand.broadcast(UICommand.java:387)
         at org.ajax4jsf.component.AjaxActionComponent.broadcast(AjaxActionComponent.java:55)
         at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)
         at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296)
         at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253)
         at org.ajax4jsf.component.AjaxViewRoot.processDecodes(AjaxViewRoot.java:409)
         at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78)
         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at TimeoutFilter.doFilter(TimeoutFilter.java:64)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
         at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
         at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
         at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.OutOfMemoryError: Java heap space
         at java.awt.image.DataBufferInt.<init>(Unknown Source)
         at java.awt.image.Raster.createPackedRaster(Unknown Source)
         at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
         at java.awt.image.BufferedImage.<init>(Unknown Source)
         at org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1407)
         at org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1389)
         at org.jfree.chart.ChartUtilities.writeChartAsPNG(ChartUtilities.java:183)
         at org.jfree.chart.ChartUtilities.saveChartAsPNG(ChartUtilities.java:320)
         at SWIMLogStatistiques.generateChartMethod(SWIMLogStatistiques.java:98)
         at SWIMmoduleStatistiques.generateChartMethod(SWIMmoduleStatistiques.java:39)
         at ListModules.mesServicesAttributs(ListModules.java:199)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.el.parser.AstValue.invoke(AstValue.java:172)
         at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
         at org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:68)
         at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at javax.faces.component.UICommand.broadcast(UICommand.java:387)
         at org.ajax4jsf.component.AjaxActionComponent.broadcast(AjaxActionComponent.java:55)
         at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321)
         at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296)
         at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253)
         at org.ajax4jsf.component.AjaxViewRoot.processDecodes(AjaxViewRoot.java:409)
         at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:78)
         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    after doing some searches, i found that the solution is to change the memory allocated for the JVM but in my case, the memory consommed by my application is increasing along with time.
    i think that the problem is with:*ChartUtilities.saveChartAsPNG(file1, chart, 400, 300, null);*:does this instruction consume a lot of memory and how can i resolve thos problem?

    riadhhwajdii wrote:
    i am using jfreechart in my jsf application to generate statistic diagrams
    to update my diagrams i am calling the methode ChartUtilities.saveChartAsPNG(file1, chart, 400, 300, null) every 10 seconds
    my application become more and more slow and the cpnsommatio of memory is more and more important until getting this exception:This bit (slowing down over several cycles of the code)..and this bit:
    after doing some searches, i found that the solution is to change the memory allocated for the JVM but in my case, the memory consommed by my application is increasing along with time.(increasing memory simply delays the exception), are usually a pointer that you have a memory leak somewhere.
    i think that the problem is with:*ChartUtilities.saveChartAsPNG(file1, chart, 400, 300, null);*:does this instruction consume a lot of memory and how can i resolve thos problem?Take some heap dumps (especially when the out of memory occurs) and stick them in a memory analyser. Just because the exception is being thrown during saveChartAsPNG() does not mean that's the culprit. All that means is it was the final straw.

  • Java.lang.OutOfMemoryError during transfer of large data from SAP to PI

    Hi experts,
    We are trying to transfer large data from SAP to external system via PI but the transfer stucked in sm58 of SAP system with 'error java.lang.OutOfMemoryError'. We have tested before this and we can only get approximately 100K of records to go through successfully. We neeed approximately transfer 300k datas per time. Current setting of max heap size (in mb) of our PI system is 512 at message server and bootstap tab. At servers general tab the max heap size (in mb) is 2048 and its java parameters are having the values below:
    -Xmx1024m
    -Xms1024m
    -Djco.jarm=1
    -XX:PermSize=512m
    -XX:MaxPermSize=512m
    -XX:NewSize=320m
    -XX:MaxNewSize=320m
    What need to be increased to solve the error?
    Thanks.
    Regards,
    Thava

    Hi Thava,
    We can set a limit on the request body message length that can be accepted by the HTTP Provider Service on the Java dispatcher. The system controls this limit by inspecting the Content-Length header of the request or monitoring the chunked request body (in case chunked encoding is applied to the message). If the value of the Content-Length header exceeds the maximum request body length, then the HTTP Provider Service will reject the request with a 413 u201CRequest Entity Too Largeu201D error response. You can limit the length of the request body using the tting MaxRequestContentLength property of the HTTP Provider Service running on the Java dispatcher. By default, the maximum permitted value is 131072 KB (or 128MB).You can configure the MaxRequestContentLength property using the Visual Administrator tool. Proceed as follows:
           1.      Go to the Properties tab of the HTTP Provider Service running on the dispatcher.
           2.      Choose MaxRequestContentLength property and enter a value in the Value field. The length is specified in KB.
           3.      Choose Update to add it to the list of properties.
           4.      To apply these changes, choose  (Save Properties).
    The value of the parameter MaxRequestContentLength has to be set to a high value.
    In short parameters to reset values for ABAP side are
    icm/HTTP/max_request_size_KB
    icm/server_port_ TIMEOUT
    rdisp/max_wprun_time
    zttp/max_memreq_MB
    Parameter to reset values for JAVA side is MaxRequestContentLength.
    You can use following link to know more about ICM parameters
    http://help.sap.com/saphelp_nw04/helpdata/EN/61/f5183a3bef2669e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/EN/25/b0a4f6f2b03a43a727a165a4d6a555/frameset.htm
    regards
    Anupam

  • Java.lang.OutOfMemoryError when calling invokeMethod from CO

    Hi All,
    We are developing some custom pages using OA. All the pages were working properly utill yestarday and all of of a sudden I started getting java.lang.OutOfMemoryError error in my local Jdeveloper.I have not installed any new software or any upgrade between now and then, and there has been no changes to my application either. I even tried running this page standalone. I uninstalled Jdeveloper and reinstalled it again still the same. When I copy the code from AM into my CO it works fine. What could be causing the issue ?
    java.lang.OutOfMemoryError, msg=null
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:864)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:985)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:210)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:152)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:692)
         at fpi.oracle.apps.xbol.gwo.webui.GWOOrderHeaderCO.processRequest(GWOOrderHeaderCO.java:126)

    Thanks for taking my query.
    Here is the code from fpi.oracle.apps.xbol.gwo.webui.GWOOrderHeaderCO where the exception originated.. this is not just with this CO but in all the CO. This code is exactly the same as in the PO Tutorial. Also I could not locate the option to set the JVM memory parameter in Project setting. I have set the Java heap size -mx512m which I believe is what you wanted me to do.
         OAApplicationModule am = pageContext.getApplicationModule(webBean);
         Serializable[] parameters = { pageContext.getParameter("headerId") };
         boolean rowFound = ((Boolean)am.invokeMethod("init", parameters)).booleanValue();
    Here is the complete stack..
    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.OutOfMemoryError, msg=null
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:864)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:985)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:210)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:152)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:692)
         at fpi.oracle.apps.xbol.gwo.webui.GWOOrderHeaderCO.processRequest(GWOOrderHeaderCO.java:126)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:518)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:244)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:920)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1536)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:866)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:833)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:575)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:244)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:363)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:866)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:833)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:575)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:244)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:330)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2121)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1562)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.OutOfMemoryError
    Here is the code from fpi.oracle.apps.xbol.gwo.webui.GWOOrderHeaderCO where the exception originated.. this is not just with this CO but in all the CO. This code is exactly the same as in the PO Tutorial.
         OAApplicationModule am = pageContext.getApplicationModule(webBean);
         Serializable[] parameters = { pageContext.getParameter("headerId") };
         boolean rowFound = ((Boolean)am.invokeMethod("init", parameters)).booleanValue();
    Message was edited by:
    Bismi

  • PaintComponent()  and jave.lang.OutOfMemoryError problem

    I have a paintComponent() method that in it , I paint the GraphicsContexts with a big BufferedImage
    here is the code:
    void doPaint(){ //do some painting on the buffer
    buffer = new BufferedImage(waveForm.viewPortDim.width,waveForm.viewPortDim.height,
    BufferedImage.TYPE_4BYTE_ABGR_PRE);
    waveForm.xPanel.paintEcgBuffer(buffer);
    public void paintComponent(Graphics g){
    //super.paintComponent(g);//??
    Graphics2D g2 = (Graphics2D)g;
    try{            
    g2.drawImage(buffer,0,0,this);
    }catch(OutOfMemoryError e){
    e.printStackTrace();
    System.out.println("error "+e.getMessage());
    I use doPaint() to do some painting over the buffer but i get jave.lang.OutOfMemoryError when i try to do
    g2.drawImage(buffer,0,0,this);
    Is there a limit on the height or width of the GraphicsContexts?
    The dimension of the bufeer can be about 1400x2800 or 1400x5500.
    What can I do?
    Thank you in advance.
    Yair.

    I don't know the answer to this question, but it may help you out to examine it.
    Is it possible that your graphics card is running out of the memory to display this large image?
    You may want to just display what the screen is displaying, so clip the rest beforehand, which would lead to a smaller buffered image.

  • Error getting while deploying the application (java.lang.OutOfMemoryError).

    Hi,
    I am trying to migrate an application from JBoss to SAP Netweaver WAS.
    I am getting an exception when i am trying to deploy the application from Netweaver developer studio as "<b>java.lang.OutOfMemoryError</b>". The portion of the stack is given below,
    <b>Caused by: com.sap.engine.services.ejb.exceptions.deployment.EJBFileGenerationException: Errors while compiling:
    The system is out of resources.
    Consult the following stack trace for details.
    java.lang.OutOfMemoryError
         at com.sap.engine.services.ejb.util.AdminUtils.compile(AdminUtils.java:476)
         at com.sap.engine.services.ejb.deploy.DeployAdmin.deploySingleJar(DeployAdmin.java:625)
         at com.sap.engine.services.ejb.deploy.DeltaDeployAdmin.makeUpdate(DeltaDeployAdmin.java:185)
         at com.sap.engine.services.ejb.EJBAdmin.makeUpdate(EJBAdmin.java:529)</b>
    I heard that by changing some configuration values, we can resolve the problem (like adjusting -Xms & - Xmx parameters as well as the Max threads). But i don't know in which script/ tool should i find these settings to change.
    Could you please share your knowledge in this regard,
    Best regards,
    Sudheesh...

    Hi
    You can change the XMX and thread  parameter in the Visual Administrator.
    Please refer to the link below:
    http://help.sap.com/saphelp_erp2005/helpdata/en/42/c98d6b11886babe10000000a1553f6/frameset.htm
    Hope this helps,
    Regards,
    Harish
    (Please award points for useful answers)

  • XML Publisher report failing with java.lang.outofmemoryerror.

    Hi,
    We have developed a custom Oracle report that produces an XML output file that is about 13M in size (about 18K rows from the database). When running report as concurrent request, post processing fails with java.lang.outofmemoryerror. The failure occurs when specifying output format as Excel, RTF or HTML. However, the process completes successfully when specifying output format as PDF. We have also noticed that Excel, RTF and HTML will complete successfully if the XML data file is smaller (around 3M).
    Is anyone aware of a restriction on the size of the XML data file when specifying output formats Excel, RTF or HTML? We have tried setting temp directory but that has not helped.
    Thanks.

    Hi
    I found this at metalink [Note:390968.1].. hope it helps =)
    Symptoms: When attempting to run an XML Publisher concurrent program the following error occurs:
    ERROR: Warning!!! Got out of memory exception, retrying with scalable option..
    Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
    Oracle.apps.xdo.oa.cp.JCP4XDODataEngine
    Program exited with status 1
    Solution: To implement the solution, please execute the following steps:
    1. Login select the responsibility: System Administrator.
    2. Navigate to Concurrent > Program > Define.
    3. Query for concurrent program that is receiving the error.
    4. In the 'Options' field please enter -Xmx512M.
    5. Save the change and retest the issue.
    6. If the report still fails with the option set to -Xmx512M change the value to -Xmx1024M, save and try again
    7. Migrate the solution as appropriate to other environments.

  • Java.lang.OutOfMemoryError:growableArray.cpp. Out of swap space?

    Hello,
    My Application(a Desktop application) through the following exception
    Can any one please help me finding what are the possible reasons and solution for the below error?
    https://forums.oracle.com/message/6443182#6443182
    https://forums.oracle.com/message/6646295#6646295
    I have seen in the above discussions that reducing the the heap size (Xmx) would give a solution, can any one please suggest me how much do I have to reduce my Xmx.
    Here are my log details.
    # An unexpected error has been detected by Java Runtime Environment:
    # java.lang.OutOfMemoryError: requested 4096000 bytes for GrET in C:\BUILD_AREA\jdk6_12\hotspot\src\share\vm\utilities\growableArray.cpp. Out of swap space?
    #  Internal Error (allocation.inline.hpp:42), pid=1508, tid=5848
    #  Error: GrET in C:\BUILD_AREA\jdk6_12\hotspot\src\share\vm\utilities\growableArray.cpp
    # Java VM: Java HotSpot(TM) Server VM (11.2-b01 mixed mode windows-x86)
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    ---------------  T H R E A D  ---------------
    Current thread (0x070d0400):  VMThread [stack: 0x071b0000,0x072b0000] [id=5848]
    Stack: [0x071b0000,0x072b0000]
    [error occurred during error reporting (printing stack bounds), id 0xc0000005]
    VM_Operation (0x0a21fae4): ParallelGCSystemGC, mode: safepoint, requested by thread 0x070e4800
    ---------------  P R O C E S S  ---------------
    Java Threads: ( => current thread )
      0x0d1da400 JavaThread "RMI RenewClean-[NCOSJPEPRD02:56100]" daemon [_thread_blocked, id=6104, stack(0x45440000,0x454c0000)]
      0x0d1d9000 JavaThread "RMI RenewClean-[NCOSJPEPRD07:56100]" daemon [_thread_blocked, id=7312, stack(0x3abd0000,0x3ac50000)]
      0x0d1d9c00 JavaThread "RMI RenewClean-[NCOSJPEPRD04:56100]" daemon [_thread_blocked, id=7244, stack(0x38340000,0x383c0000)]
      0x17e82c00 JavaThread "RMI RenewClean-[NCOSJPEPRD06:56100]" daemon [_thread_blocked, id=4432, stack(0x0e210000,0x0e290000)]
      0x17e80800 JavaThread "RMI RenewClean-[NCOSJPEPRD05:56100]" daemon [_thread_blocked, id=4128, stack(0x00e40000,0x00ec0000)]
      0x17e7fc00 JavaThread "RMI RenewClean-[NCOSJPEPRD01:56100]" daemon [_thread_blocked, id=7472, stack(0x0b060000,0x0b0e0000)]
      0x17e81400 JavaThread "WGN ThreadPool Message Receiver(20826) (Inactive)" daemon [_thread_blocked, id=5036, stack(0x37bc0000,0x37c40000)]
      0x17e82800 JavaThread "RMI TCP Connection(261363)-10.22.91.38" daemon [_thread_blocked, id=5560, stack(0x0f460000,0x0f4e0000)]
      0x17e80400 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=6800, stack(0x0cbb0000,0x0cc30000)]
      0x17e7f800 JavaThread "RMI RenewClean-[NCOSJPEPRD03:56100]" daemon [_thread_blocked, id=7784, stack(0x097c0000,0x09840000)]
      0x17e81000 JavaThread "RMI TCP Connection(261367)-10.22.91.39" daemon [_thread_in_native, id=6972, stack(0x00dc0000,0x00e40000)]
      0x0d1d9800 JavaThread "WGN ThreadPool Message Receiver(20825) (Inactive)" daemon [_thread_blocked, id=7872, stack(0x1fe10000,0x1fe90000)]
      0x17e7f400 JavaThread "RMI TCP Connection(261366)-10.22.81.92" daemon [_thread_in_native, id=7948, stack(0x0e070000,0x0e0f0000)]
      0x17e82000 JavaThread "RMI TCP Connection(idle)" daemon [_thread_blocked, id=7672, stack(0x38440000,0x384c0000)]
      0x08eed400 JavaThread "RMI TCP Connection(261320)-10.22.91.39" daemon [_thread_in_native, id=5640, stack(0x37eb0000,0x37f30000)]
      0x17e81c00 JavaThread "RMI TCP Connection(261357)-10.22.81.92" daemon [_thread_in_native, id=8060, stack(0x22e90000,0x22f10000)]
      0x19dd3c00 JavaThread "RMI TCP Connection(261369)-10.22.91.38" daemon [_thread_in_native, id=1360, stack(0x73da0000,0x73e20000)]
      0x19dd3000 JavaThread "RMI TCP Connection(261360)-10.22.81.92" daemon [_thread_in_native, id=2144, stack(0x71d60000,0x71de0000)]
      0x070e8800 JavaThread "RMI TCP Connection(261368)-10.22.81.92" daemon [_thread_in_native, id=7188, stack(0x4dac0000,0x4db40000)]
      0x19dd0800 JavaThread "WGN ThreadPool Application Data Monitor(20737) (Inactive)" [_thread_blocked, id=6420, stack(0x0cd10000,0x0cd90000)]
      0x19dd0c00 JavaThread "WGN ThreadPool Application Data Monitor(20687) (Inactive)" [_thread_blocked, id=3504, stack(0x0a7a0000,0x0a820000)]
      0x19dd1800 JavaThread "WGN ThreadPool Application Data Monitor(20657) (Inactive)" [_thread_blocked, id=3084, stack(0x0b1e0000,0x0b260000)]
      0x0d1dcc00 JavaThread "WGN ThreadPool Application Data Monitor(20446) (Inactive)" [_thread_blocked, id=7352, stack(0x0ab60000,0x0abe0000)]
      0x08eecc00 JavaThread "RMI RenewClean-[VNCOSJCMSPRD:56102,[email protected]9b3ec]" daemon [_thread_blocked, id=1880, stack(0x0b8e0000,0x0b960000)]
      0x08eec800 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=5100, stack(0x0b820000,0x0b8a0000)]
      0x08eebc00 JavaThread "WGN filter validation thread" [_thread_blocked, id=6412, stack(0x0b6a0000,0x0b720000)]
      0x08eeb400 JavaThread "WGN ID cache(preloader thread)" [_thread_blocked, id=5280, stack(0x0b5e0000,0x0b660000)]
      0x08eeb000 JavaThread "WGN Username cache(preloader thread)" [_thread_blocked, id=6808, stack(0x0b520000,0x0b5a0000)]
      0x08eeac00 JavaThread "WGN Username cache(invalidator thread)" [_thread_blocked, id=3628, stack(0x0b460000,0x0b4e0000)]
      0x08eea400 JavaThread "WGN E-mail address cache(preloader thread)" [_thread_blocked, id=5548, stack(0x0b3a0000,0x0b420000)]
      0x08eea000 JavaThread "WGN E-mail address cache(invalidator thread)" [_thread_blocked, id=3844, stack(0x0b2e0000,0x0b360000)]
      0x08ee8800 JavaThread "WGN Lookup cancellation thread" [_thread_blocked, id=4296, stack(0x0afe0000,0x0b060000)]
      0x08ee8000 JavaThread "WGN RSRegister-FallbackMonitorThread" [_thread_blocked, id=4180, stack(0x0af20000,0x0afa0000)]
      0x08ee7c00 JavaThread "WGN NotifyScheduler (Scheduler)" [_thread_blocked, id=1712, stack(0x0ae60000,0x0aee0000)]
      0x08ee7800 JavaThread "WGN ThreadPool Application Data Monitor(0) - TPQE(NCOSJPEPRD03)" [_thread_blocked, id=6184, stack(0x0ada0000,0x0ae20000)]
      0x08ee7000 JavaThread "WGN DBManagement (Scheduler)" [_thread_blocked, id=3524, stack(0x0ace0000,0x0ad60000)]
      0x070e8c00 JavaThread "WGN Database Event Logging Queue Handler" daemon [_thread_blocked, id=2152, stack(0x0ac20000,0x0aca0000)]
      0x070e7000 JavaThread "RMI RenewClean-[VNCOSJCMSPRD:56101,wigan.infrastruct.serviceutil.ClientSocketFactory@f5d9b3ec]" daemon [_thread_blocked, id=5836, stack(0x0a720000,0x0a7a0000)]
      0x070e6c00 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=6704, stack(0x0a660000,0x0a6e0000)]
      0x070e5800 JavaThread "RMI RenewClean-[VNCOSJCMSPRD:56100]" daemon [_thread_blocked, id=5984, stack(0x0a420000,0x0a4a0000)]
      0x070e5400 JavaThread "RMI Scheduler(0)" daemon [_thread_blocked, id=6224, stack(0x0a360000,0x0a3e0000)]
      0x070e4800 JavaThread "GC Daemon" daemon [_thread_blocked, id=660, stack(0x0a1a0000,0x0a220000)]
      0x070e4400 JavaThread "RMI Reaper" [_thread_blocked, id=5084, stack(0x0a0e0000,0x0a160000)]
      0x070e3c00 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=4916, stack(0x0a060000,0x0a0e0000)]
      0x070e3800 JavaThread "WGN Ping (Ping Server)" [_thread_in_native, id=5112, stack(0x09ea0000,0x09f20000)]
      0x070e3000 JavaThread "RMI TCP Accept-56099" daemon [_thread_in_native, id=4548, stack(0x09d30000,0x09db0000)]
      0x070e2000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1452, stack(0x07870000,0x078f0000)]
      0x070ed800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=4024, stack(0x07730000,0x07830000)]
      0x070ed400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5480, stack(0x075f0000,0x076f0000)]
      0x070e1c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=6908, stack(0x07530000,0x075b0000)]
      0x070e1400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5792, stack(0x07470000,0x074f0000)]
      0x070d4c00 JavaThread "Finalizer" daemon [_thread_blocked, id=4516, stack(0x073b0000,0x07430000)]
      0x070d2400 JavaThread "Reference Handler" daemon [_thread_blocked, id=5384, stack(0x072f0000,0x07370000)]
      0x017fb800 JavaThread "main" [_thread_blocked, id=4796, stack(0x01480000,0x01580000)]
    Other Threads:
    =>0x070d0400 VMThread [stack: 0x071b0000,0x072b0000] [id=5848]
      0x070f9800 WatcherThread [stack: 0x07930000,0x07a30000] [id=5408]
    VM state:at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
    [0x017f9a10] UNKNOWN - owner thread: 0x070d0400
    [0x017f9e70] UNKNOWN - owner thread: 0x070e4800
    Heap
    PSYoungGen      total 173696K, used 8225K [0xdeaa0000, 0xe9f50000, 0xe9ff0000)
      eden space 162752K, 0% used [0xdeaa0000,0xdeaa0000,0xe8990000)
      from space 10944K, 75% used [0xe8990000,0xe9198528,0xe9440000)
      to   space 11136K, 0% used [0xe9470000,0xe9470000,0xe9f50000)
    PSOldGen        total 470848K, used 221413K [0x83ff0000, 0xa0bc0000, 0xdeaa0000)
      object space 470848K, 47% used [0x83ff0000,0x918297a0,0xa0bc0000)
    PSPermGen       total 20352K, used 20093K [0x7fff0000, 0x813d0000, 0x83ff0000)
      object space 20352K, 98% used [0x7fff0000,0x8138f528,0x813d0000)
    Dynamic libraries:
    0x00400000 - 0x004d0000 C:\Program Files (x86)\CA\CA DLP\system\wgninfra.exe
    0x77800000 - 0x77980000 C:\Windows\SysWOW64\ntdll.dll
    0x762d0000 - 0x763e0000 C:\Windows\syswow64\kernel32.dll
    0x75ba0000 - 0x75be7000 C:\Windows\syswow64\KERNELBASE.dll
    0x71c80000 - 0x71c92000 C:\Windows\system32\MPR.dll
    0x75de0000 - 0x75ee0000 C:\Windows\syswow64\USER32.dll
    0x758b0000 - 0x75940000 C:\Windows\syswow64\GDI32.dll
    0x773f0000 - 0x773fa000 C:\Windows\syswow64\LPK.dll
    0x75810000 - 0x758ad000 C:\Windows\syswow64\USP10.dll
    0x77290000 - 0x7733c000 C:\Windows\syswow64\msvcrt.dll
    0x77350000 - 0x773f0000 C:\Windows\syswow64\ADVAPI32.dll
    0x75a50000 - 0x75a69000 C:\Windows\SysWOW64\sechost.dll
    0x761e0000 - 0x762d0000 C:\Windows\syswow64\RPCRT4.dll
    0x75250000 - 0x752b0000 C:\Windows\syswow64\SspiCli.dll
    0x75240000 - 0x7524c000 C:\Windows\syswow64\CRYPTBASE.dll
    0x75c80000 - 0x75ddc000 C:\Windows\syswow64\ole32.dll
    0x759c0000 - 0x75a4f000 C:\Windows\syswow64\OLEAUT32.dll
    0x735c0000 - 0x73647000 C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a\MSVCP80.dll
    0x74ae0000 - 0x74b7b000 C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.6195_none_d09154e044272b9a\MSVCR80.dll
    0x68600000 - 0x68645000 C:\Program Files (x86)\CA\CA DLP\system\infrahlp.dll
    0x75ee0000 - 0x75f15000 C:\Windows\syswow64\WS2_32.dll
    0x75c60000 - 0x75c66000 C:\Windows\syswow64\NSI.dll
    0x76640000 - 0x7728a000 C:\Windows\syswow64\SHELL32.dll
    0x75480000 - 0x754d7000 C:\Windows\syswow64\SHLWAPI.dll
    0x71650000 - 0x7173b000 C:\Windows\system32\dbghelp.dll
    0x75bf0000 - 0x75c50000 C:\Windows\system32\IMM32.DLL
    0x75730000 - 0x757fc000 C:\Windows\syswow64\MSCTF.dll
    0x68200000 - 0x68229000 C:\Program Files (x86)\CA\CA DLP\common\wgnprod.dll
    0x734e0000 - 0x734e9000 C:\Windows\system32\VERSION.dll
    0x10000000 - 0x1000d000 C:\Program Files (x86)\CA\CA DLP\common\wgnprod_en.dll
    0x74ad0000 - 0x74adb000 C:\Windows\system32\profapi.dll
    0x6db30000 - 0x6def4000 C:\Program Files (x86)\CA\CA DLP\system\jre160_12\bin\server\jvm.dll
    0x717b0000 - 0x717e2000 C:\Windows\system32\WINMM.dll
    0x7c340000 - 0x7c396000 C:\Program Files (x86)\CA\CA DLP\system\jre160_12\bin\MSVCR71.dll
    0x71de0000 - 0x71e2c000 C:\Windows\system32\apphelp.dll
    0x6d340000 - 0x6d348000 C:\Program Files (x86)\CA\CA DLP\system\jre160_12\bin\hpi.dll
    0x777d0000 - 0x777d5000 C:\Windows\syswow64\PSAPI.DLL
    0x6d860000 - 0x6d86c000 C:\Program Files (x86)\CA\CA DLP\system\jre160_12\bin\verify.dll
    0x6d3e0000 - 0x6d3ff000 C:\Program Files (x86)\CA\CA DLP\system\jre160_12\bin\java.dll
    0x6d8a0000 - 0x6d8af000 C:\Program Files (x86)\CA\CA DLP\system\jre160_12\bin\zip.dll
    0x75ae0000 - 0x75b63000 C:\Windows\syswow64\CLBCatQ.DLL
    0x72f20000 - 0x72f27000 C:\Windows\system32\msiltcfg.dll
    0x72ba0000 - 0x72de0000 C:\Windows\system32\msi.dll
    0x71d50000 - 0x71d53000 C:\Windows\SysWOW64\SFC.DLL
    0x71600000 - 0x7160d000 C:\Windows\system32\sfc_os.DLL
    0x68400000 - 0x6845e000 C:\Program Files (x86)\CA\CA DLP\common\WgnPerf.dll
    0x6d840000 - 0x6d848000 C:\Program Files (x86)\CA\CA DLP\system\jre160_12\bin\sunmscapi.dll
    0x76060000 - 0x76180000 C:\Windows\syswow64\CRYPT32.dll
    0x76180000 - 0x7618c000 C:\Windows\syswow64\MSASN1.dll
    0x73fb0000 - 0x73fc6000 C:\Windows\system32\CRYPTSP.dll
    0x73f70000 - 0x73fab000 C:\Windows\system32\rsaenh.dll
    0x72f40000 - 0x72f4e000 C:\Windows\system32\RpcRtRemote.dll
    0x2d000000 - 0x2d070000 C:\Program Files (x86)\CA\CA DLP\system\wgnrdm.dll
    0x71610000 - 0x71626000 C:\Windows\system32\MAPI32.dll
    0x71370000 - 0x713c8000 C:\Windows\system32\WINHTTP.dll
    0x70b50000 - 0x70b9f000 C:\Windows\system32\webio.dll
    0x68000000 - 0x6802e000 C:\Program Files (x86)\CA\CA DLP\common\wgnps.dll
    0x70f80000 - 0x70f97000 C:\Windows\system32\USERENV.dll
    0x6d6c0000 - 0x6d6d3000 C:\Program Files (x86)\CA\CA DLP\system\jre160_12\bin\net.dll
    0x73580000 - 0x735bc000 C:\Windows\system32\mswsock.dll
    0x73560000 - 0x73566000 C:\Windows\System32\wship6.dll
    0x73570000 - 0x73575000 C:\Windows\System32\wshtcpip.dll
    0x72ed0000 - 0x72f14000 C:\Windows\system32\DNSAPI.dll
    0x72e40000 - 0x72e5c000 C:\Windows\system32\IPHLPAPI.DLL
    0x72e30000 - 0x72e37000 C:\Windows\system32\WINNSI.DLL
    0x72e20000 - 0x72e26000 C:\Windows\system32\rasadhlp.dll
    0x72de0000 - 0x72e18000 C:\Windows\System32\fwpuclnt.dll
    0x6d7b0000 - 0x6d7b6000 C:\Program Files (x86)\CA\CA DLP\system\jre160_12\bin\rmi.dll
    0x6d610000 - 0x6d619000 C:\Program Files (x86)\CA\CA DLP\system\jre160_12\bin\management.dll
    0x24200000 - 0x24221000 C:\Program Files (x86)\CA\CA DLP\common\streams.dll
    0x2e600000 - 0x2e682000 C:\Program Files (x86)\CA\CA DLP\common\smtputils.dll
    0x0ce30000 - 0x0ce66000 C:\Program Files (x86)\CA\CA DLP\common\mimepp.dll
    0x72f80000 - 0x72f90000 C:\Windows\system32\NLAapi.dll
    0x72f30000 - 0x72f40000 C:\Windows\system32\napinsp.dll
    0x72e60000 - 0x72e68000 C:\Windows\System32\winrnr.dll
    0x71340000 - 0x7136e000 C:\Windows\system32\mlang.dll
    0x6f780000 - 0x6f788000 C:\Windows\system32\credssp.dll
    0x70650000 - 0x7068f000 C:\Windows\SysWOW64\schannel.dll
    0x723c0000 - 0x723c8000 C:\Windows\system32\secur32.dll
    0x70f20000 - 0x70f58000 C:\Windows\system32\ncrypt.dll
    0x70f00000 - 0x70f17000 C:\Windows\system32\bcrypt.dll
    0x70ec0000 - 0x70efd000 C:\Windows\SysWOW64\bcryptprimitives.dll
    0x70f60000 - 0x70f76000 C:\Windows\system32\GPAPI.dll
    0x24800000 - 0x2482e000 C:\Program Files (x86)\CA\CA DLP\common\wgnstore.dll
    0x24600000 - 0x24660000 C:\Program Files (x86)\CA\CA DLP\common\emstore.dll
    0x12330000 - 0x123ab000 C:\Program Files (x86)\CA\CA DLP\client\wgnemol.dll
    VM Arguments:
    jvm_args: -Dsun.net.inetaddr.ttl=10 vfprintf exit abort -Xms5242880 -Xmx1711276032 -XX:NewSize=2621440 -XX:MaxNewSize=855638016 -XX:+HeapDumpOnOutOfMemoryError -Dsun.rmi.dgc.server.gcInterval=60000 -Dsun.rmi.dgc.client.gcInterval=60000 -Djava.security.properties=wigan.java.security -Xss512K
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    PATH=C:\Oracle\Default\product\11.2.0\client_1;C:\Oracle\Default\product\11.2.0\client_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\
    USERNAME=osjapp
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 45 Stepping 7, GenuineIntel
    ---------------  S Y S T E M  ---------------
    OS: Windows NT 6.1 Build 7601 Service Pack 1
    CPU:total 24 (16 cores per cpu, 2 threads per core) family 6 model 13 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, ht
    Memory: 4k page, physical 4194303k(4194303k free), swap 4194303k(4194303k free)
    vm_info: Java HotSpot(TM) Server VM (11.2-b01) for windows-x86 JRE (1.6.0_12-b04), built on Jan 17 2009 09:52:33 by "java_re" with MS VC++ 7.1

    Hi
    Out of memory they can result from different causes:
    - The application is consuming too many resources inappropriately
    - The application is opening and not enough threads are closing, leaving no space for the JVM
    - You lose the connection with database, causing the connection pool is saturated, which makes the memory of the container is depleted and reaches its peak.
    - The container does not have sufficient resources or is not tuned to meet the load generated. But would recommend to discard the above before using this option, because when using this option could work around the problem but could not really be attacking the cause.
    bye

Maybe you are looking for