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.

Similar Messages

  • Large insert and java.lang.OutOfMemoryError

    Hello.
    I have an application that is trying to insert a large amount of data into the database (could be 200,000 rows). We are getting a java.lang.OutOfMemoryError in the process of doing the insert. The inserts are currently being done by looping over a Vector where each element in the Vector contains an id that is needed to do each insert. Actually, the Vector contains instances of DatabaseRow from a previous query done using "executingSelectingCall()". For each DatabaseRow in the Vector, a row is added to another table in the database:
    for(int i=0; i<trackingSelectRes.size(); i++)
    DatabaseRow dbRow = (DatabaseRow)trackingSelectRes.get(i);
                                  BigDecimal recordId = (BigDecimal)dbRow.get(PREMIUM_PK_IN_TMP_TABLE);
                                  trackingUpdateSql.setSQLString("INSERT INTO " + trackingTableName + " (" + PK_IN_TRACKING + ", " + PREMIUM_PK_IN_TRACKING + ", " + BMTID + ", " + RULEID + ", " + TIMESTAMP + ") " + "VALUES" +
                                                                          " ("+ TRACKING_PK_SEQ + ".nextval, " + recordId.longValue() + ", '" + rule.getBmtId().getBmtId() + "', '" + rule.getRuleId() + "', sysdate)");
                                  //System.out.println("TRACKING PREMIUM INSERT STATEMENT: " + trackingUpdateSql.getSQLString());
                                  session.executeNonSelectingCall(trackingUpdateSql);
    My first thought is to do a ReportQuery to get the ids that are needed to do the insert instead of loading all of the rows that contain the ids into memory. But, I'm also thinking that we are taking the incorrect approach to the problem. I looked at TopLink's batch writing, but I don't want to create objects for this data. Does TopLink have another way of doing a mass insert or would it be better to use a stored procedure?
    Thanks,
    Katie

    Thanks for your reply. I have another quick question? Could I get a UnitOfWork and call executeNonSelectingCall() with calls to commitAndResume() at a predetermined interval? Would that allow me to not have to commit every row?
    Thanks,
    Katie

  • CSSTokenNotAcceptedException and java.lang.OutOfMemoryError

    Hi
    Our 11.1.1.1 Planning service crashed this morning and I would like to know if anyone can suggest what might have caused it? Here are the details:
    The Planning service hung at approximately 9.15am on 6.9.2011.
    Steps to restore service:
    1) Standard services restart script failed to resolve. Planning service did not stop.
    2) Terminated the Planning.exe process.
    3) Restarted the Planning service in Services.msc.
    Analysis:
    HYS9Planning.exe during outage:
    CPU: 50
    Mem Usage: 1,357,648K
    HYS9Planning.exe after service was restored:
    CPU: 00
    Mem Usage: 221,736K
    The first error in the HYS9Planning-sysout.log occurred sometime after 8.50am:
    Reaquired task list lease: Tue Sep 06 08:50:20 GMT10:00 2011: 1315263020136+
    +[HspCSS:GetTokenFromIdentity] CSSTokenNotAcceptedException+
    Error Code: 11
    com.hyperion.css.CSSTokenNotAcceptedException: 25:1014:Token is not valid.     Error Code: 11
    The above repeated about a dozen times before the below error presented in the log :
    Exception in thread "Thread-86" java.lang.OutOfMemoryError: Java heap space
    Exception in thread "Timer-0" Exception in thread "Thread-6" java.lang.OutOfMemoryError: Java heap space
    Query Failed: SQL_DELETE_EXPIRED_EXTERNAL_ACTIONS:[100]
    java.lang.OutOfMemoryError: Java heap space
    java.lang.OutOfMemoryError: Java heap space
    Error encountered with Database connection, recreating connections.Exception in thread "Thread-76" java.lang.OutOfMemoryError: Java heap space
    +Exception in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" java.lang.OutOfMemoryError: Java heap space+
    +Exception in thread "Thread-51" java.lang.OutOfMemoryError: Java heap space+
    +Exception in thread "RMI TCP Connection(6062)-10.192.64.46" java.lang.OutOfMemoryError: Java heap space+
    +Java heap space+
    +Exception in thread "TP-Processor3" java.lang.OutOfMemoryError: Java heap space+
    +Exception in thread "TP-Processor2" java.lang.OutOfMemoryError: Java heap space+
    +deleteing a HBRServer connection+
    At the time, a Smartview user was experiencing a timeout issue. Could this be a possible cause?
    Your assistance is appreciated.
    Cheers

    It does sound like your web application has fallover because it has hit the maximum java size allowed.
    By default I thought it was set to something like 512mb
    As you are on windows and no doube you are running planning as a service you can increase the max JVM by going into the registry and to
    HKEY_LOCAL_MACHINE\SOFTWARE\Hyperion Solutions\HyperionPlanning\HyS9Planning
    You will see an option with -Xmx which is possibily set to -Xmx512m
    You can increase that to say -Xmx1024m
    Though on your version and OS planning is probably 32bit so I wouldn't increase it much more than that.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Netbeans profiler and "java.lang.OutOfMemoryError: Java heap space"

    I have a swing application. When I run this program, I get java.lang.OutOfMemoryError: Java heap space periodically.
    I am using the netbeans profiler to figure out how my heap size is increasing and whether or not I have any memory leaks. What I see is that I have lots of int[] getting generated. When I take the snapshot and look at the allocation stack traces, I cannot find the packages in my code at all. I see classes in java.awt.image.*, sun.awt.image.*, javax.swing.*, etc., but nothing referring to the classes I have developed. What could be wrong and how come I do not see anything referring to my code so that I can fix it?

    Take a look here.
    It seems that you may have a similar situation. If you read through, you'll see that the number of surviving generations gives an indication of where to look.

  • SetLookAndFeel and java.lang.ClassNotFoundException problem

    Hi there, I'll admit I'm a newbie, but I really need help. I'm trying to create a GUI with a Metal layout: here the code:
    public static void main(String[] argument) {
    UIManager.setLookAndFeel
    ("javax.swing.plaf.metal.MetalLookAndFeel");
    when I try to compile the file, it gives following error:
    unreported exception java.lang.ClassNotFoundException; must be caught or declared to be thrown
    UIManager.setLookAndFeel
    ("javax.swing.plaf.metal.MetalLookAndFeel");
    ^
    please remember i'm a newbie, so go easy on the lingo

    import javax.swing.*;
    import java.awt.*;
    public class MainFrame extends JFrame {
         public MainFrame() {
              super("Vloot Verslag 2006");
              setSize(350, 100);
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              setVisible(true);
              Container pane = getContentPane();
              FlowLayout flo = new FlowLayout();
              pane.setLayout(flo);
              JButton Accounting = new JButton("Accounting");
              Accounting.setEnabled(false);
              JButton Logistics = new JButton("Logistics");
              JButton Exit = new JButton("Exit");
              pane.add(Accounting);
              pane.add(Logistics);
              pane.add(Exit);
              setContentPane(pane);
         public static void main(String[] argument) {
              UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
              MainFrame sal = new MainFrame();
    Ok there is my whole file, I just need to know what I am doing wrong

  • Jimi and java.lang.OutOfMemoryError

    Hi there,
    Whilst opening several images at once, upon opening the third or fourth Image, we get a outOfMemoryError. Is this a known problem? Are there resolutions?
    With thanks,
    Mark.

    My solution was to change the way the image was loaded:
    Jimi.getImage(fileName, Jimi.ONE_SHOT)
    This seemed to stop the memory leeks.
    - Mark.

  • Java.lang.OutOfMemoryError + java.lang.VerifyError

    Hi all,
    We are working on an ADF 11g application where several transient attributes are feeded by Groovy expressions. Once deployed on a standalone WLS, we're getting java.lang.VerifyError and java.lang.OutOfMemoryError exceptions.
    Need some help with JVM tuning on Weblogic Server: SUSE Linux Enterprise Server 11 (x86_64) with 4GB RAM
    Here are the current JVM arguments for the managed server:
    -Xms256m -Xmx512m -XX:MaxPermSize=512m ...
    Has anybody ever seen this before? Any help will be appreciated.
    Version
    ADF Business Components 11.1.1.56.60
    Java(TM) Platform 1.6.0_18
    Oracle IDE 11.1.1.3.37.56.60
    [2010-12-10T11:10:42.614+01:00] [mserver1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000InFkhRAFGBO5yjw0yW1CxDpG0006Zk,0] [APP: Adoapp#20101210_9515_9510] [dcid: 7e59a3b02e4976f0:7c638206:12c9c80c29a:-8000-0000000000007c4e] Server Exception during PPR, #1[[
    javax.servlet.ServletException: java.lang.OutOfMemoryError
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    Caused by: java.lang.OutOfMemoryError
         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
         at bc4j.com_ado_model_mng_queries_BudgetView_ImpAn1Sum.gs.run(bc4j.com_ado_model_mng_queries_BudgetView_ImpAn1Sum.gs.groovy:1)
         at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:816)
         at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:867)
         at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:761)
         at oracle.jbo.server.AttributeDefImpl.evaluateTransientExpression(AttributeDefImpl.java:2029)
         at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java:1671)
         at oracle.jbo.server.ViewRowImpl.getAttributeValue(ViewRowImpl.java:1831)
         at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java:796)
         at oracle.jbo.server.ViewRowImpl.getAttrInvokeAccessor(ViewRowImpl.java:878)
         at oracle.jbo.server.ViewRowImpl.getAttribute(ViewRowImpl.java:826)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGetAttributeValueFromRow(JUCtrlValueBinding.java:1139)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeFromRow(JUCtrlValueBinding.java:733)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValueInRow(JUCtrlValueBinding.java:2798)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2702)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.getInputValue(JUCtrlValueBinding.java:2691)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.getInputValue(FacesCtrlAttrsBinding.java:185)
         at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGet(JUCtrlValueBinding.java:2273)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding.internalGet(FacesCtrlAttrsBinding.java:277)
         at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:750)
         at javax.el.MapELResolver.getValue(MapELResolver.java:164)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
         at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
         at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
         at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
         at oracle.adfinternal.view.faces.renderkit.rich.ValueRenderer.getValue(ValueRenderer.java:184)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         ... 35 more
    [2010-12-10T11:10:49.258+01:00] [mserver1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000InFkj3YFGBO5yjw0yW1CxDpG0006Zl,0] [APP: Adoapp#20101210_9515_9510] [dcid: 7e59a3b02e4976f0:7c638206:12c9c80c29a:-8000-0000000000007c4f] Server Exception during PPR, #2[[
    javax.servlet.ServletException: java.lang.VerifyError: (class: org/codehaus/groovy/runtime/ArrayUtil, method: createArray signature: ()[Ljava/lang/Object;) Illegal type in constant pool
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.VerifyError: (class: org/codehaus/groovy/runtime/ArrayUtil, method: createArray signature: ()[Ljava/lang/Object;) Illegal type in constant pool
         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:200)
         at bc4j.run(bc4j.groovy:1)
         at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:816)
         at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:867)
         at oracle.jbo.ExprEval.getCurrentDate(ExprEval.java:542)
         at oracle.jbo.ExprEval$ExprValueSupplierGroovyBinding.getVariable(ExprEval.java:426)
         at groovy.lang.Binding.getProperty(Binding.java:93)
         at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:47)
         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:237)
         at bc4j.bindDataCP.gs.run(bc4j.bindDataCP.gs.groovy:1)
         at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:816)
         at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:867)
         at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:761)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         ... 35 moreEdited by: Barbara Gelabert on 27-dic-2010 6:21

    Could you give me more detail about that?now I run the main.fx in the eclipse project,the jnlp file existed in the dist directory in the project after run successfully.
    My problem is that the outofMemories ofter proudces when my server push data to client.

  • Java.lang.OutOfMemoryError,again and again....

    hi,
    my application run env is following :
    *1)java version "1.6.0_14" & je-3.3.82.jar*
    *2) je run properties:*
              envConfig.setAllowCreate(true);
              envConfig.setConfigParam("je.env.sharedLatches", "false");
              envConfig.setCacheSize(100 * 1024 * 1024);
              dbConfig.setAllowCreate(true);
              dbConfig.setDeferredWrite(true);
              dbConfig.setDuplicateComparator(PageDataComparator.class);
    *3)java -Xms1024m -Xmx1024m*
    *4) num #instances #bytes class name*
    12: 174568 6982720 com.sleepycat.je.tree.LN
    21: 3101 3249848 [Lcom.sleepycat.je.tree.Node;
    117: 3009 553656 com.sleepycat.je.tree.BIN
    176: 3181 203584 com.sleepycat.je.latch.SharedLatch
    196: 3025 96800 com.sleepycat.je.utilint.TinyHashSet
    224: 505 20200 com.sleepycat.je.cleaner.OffsetList$Segment
    229: 92 14720 com.sleepycat.je.tree.IN
    241: 64 10240 com.sleepycat.je.dbi.DatabaseImpl
    250: 159 7632 com.sleepycat.je.latch.LatchStats
    259: 159 6360 com.sleepycat.je.latch.Latch
    261: 64 6144 com.sleepycat.je.tree.Tree
    268: 16 4992 com.sleepycat.je.cleaner.Cleaner
    269: 16 4992 com.sleepycat.je.dbi.EnvironmentImpl
    270: 16 4736 com.sleepycat.je.log.FileManager
    273: 96 4608 com.sleepycat.je.cleaner.DbFileSummary
    280: 16 3968 com.sleepycat.je.evictor.PrivateEvictor
    284: 159 3816 com.sleepycat.je.latch.Latch$JEReentrantLock
    297: 57 3192 com.sleepycat.je.cleaner.FileSummary
    301: 16 3072 com.sleepycat.je.incomp.INCompressor
    305: 52 2912 com.sleepycat.je.tree.Tree$RootChildReference
    306: 52 2912 com.sleepycat.je.recovery.Checkpointer$CheckpointReference
    312: 16 2688 com.sleepycat.je.recovery.RecoveryInfo
    313: 16 2688 com.sleepycat.je.recovery.Checkpointer
    314: 48 2688 com.sleepycat.je.log.LogBuffer
    315: 16 2688 com.sleepycat.je.cleaner.FileProcessor
    317: 64 2560 com.sleepycat.je.cleaner.DbFileSummaryMap
    322: 19 2432 com.sleepycat.je.txn.BasicLocker
    323: 101 2424 com.sleepycat.je.dbi.DatabaseId
    327: 26 2288 com.sleepycat.je.cleaner.TrackedFileSummary
    330: 39 2184 com.sleepycat.je.config.IntConfigParam
    331: 16 2176 com.sleepycat.je.dbi.MemoryBudget
    340: 16 2048 com.sleepycat.je.txn.TxnManager
    341: 25 2000 com.sleepycat.je.tree.FileSummaryLN
    347: 33 1848 com.sleepycat.je.DatabaseConfig
    350: 16 1792 com.sleepycat.je.cleaner.FileSelector
    351: 32 1792 com.sleepycat.je.tree.NameLN
    352: 16 1792 com.sleepycat.je.recovery.CheckpointEnd
    353: 32 1792 com.sleepycat.je.tree.MapLN
    354: 27 1728 com.sleepycat.je.log.LogEntryType
    362: 64 1536 com.sleepycat.je.tree.TreeStats
    364: 38 1520 com.sleepycat.je.config.BooleanConfigParam
    370: 16 1408 com.sleepycat.je.log.SyncedLogManager
    371: 16 1408 com.sleepycat.je.Database
    381: 16 1280 com.sleepycat.je.log.TraceLogHandler
    382: 16 1280 com.sleepycat.je.log.FSyncManager
    383: 16 1280 com.sleepycat.je.log.LogBufferPool
    389: 17 1224 com.sleepycat.je.EnvironmentConfig
    391: 16 1152 com.sleepycat.je.cleaner.UtilizationProfile
    392: 16 1152 com.sleepycat.je.txn.SyncedLockManager
    397: 17 1088 com.sleepycat.je.recovery.Checkpointer$FlushStats
    403: 16 1024 com.sleepycat.je.Environment
    404: 16 1024 com.sleepycat.je.EnvironmentMutableConfig
    405: 16 1024 com.sleepycat.je.dbi.DbTree
    416: 19 912 com.sleepycat.je.log.FileManager$1
    418: 16 896 com.sleepycat.je.RunRecoveryException
    419: 16 896 com.sleepycat.je.cleaner.UtilizationTracker
    420: 16 896 com.sleepycat.je.config.LongConfigParam
    433: 25 800 com.sleepycat.je.cleaner.PackedOffsets
    435: 16 768 com.sleepycat.je.log.FileManager$LogEndFileDescriptor
    436: 16 768 com.sleepycat.je.cleaner.UtilizationProfile$FilesToMigrate
    437: 16 768 com.sleepycat.je.txn.LockImpl
    438: 16 768 com.sleepycat.je.dbi.INList
    441: 15 720 com.sleepycat.je.log.FileHandle
    448: 8 704 com.sleepycat.je.log.entry.LNLogEntry
    450: 17 680 com.sleepycat.je.TransactionConfig
    453: 16 640 com.sleepycat.je.dbi.NodeSequence
    455: 16 640 com.sleepycat.je.log.FSyncManager$FSyncGroup
    457: 16 640 com.sleepycat.je.PreloadConfig
    459: 16 640 com.sleepycat.je.dbi.MemoryBudget$PrivateTotals
    460: 16 640 com.sleepycat.je.log.FileManager$FileCache
    475: 16 512 [Lcom.sleepycat.je.latch.Latch;
    476: 16 512 com.sleepycat.je.utilint.TracerFormatter
    477: 16 512 com.sleepycat.je.txn.LockInfo
    479: 16 512 com.sleepycat.je.dbi.DbConfigManager
    483: 16 512 [Lcom.sleepycat.je.cleaner.FileProcessor;
    489: 19 456 com.sleepycat.je.CursorConfig
    499: 10 400 com.sleepycat.je.log.entry.SingleItemEntry
    504: 16 384 com.sleepycat.je.evictor.Evictor$EvictProfile
    515: 9 360 com.sleepycat.je.cleaner.OffsetList
    530: 5 320 [Lcom.sleepycat.je.txn.LockConflict;
    531: 5 320 [Lcom.sleepycat.je.txn.LockUpgrade;
    536: 2 296 [Lcom.sleepycat.je.log.LogEntryType;
    551: 4 256 com.sleepycat.je.log.entry.INLogEntry
    554: 6 240 com.sleepycat.je.txn.LockAttemptResult
    557: 6 240 com.sleepycat.je.config.ConfigParam
    562: 2 224 com.sleepycat.je.log.entry.NameLNLogEntry
    566: 7 224 com.sleepycat.je.txn.LockType
    572: 5 200 com.sleepycat.je.log.entry.DbOperationType
    578: 2 192 com.sleepycat.je.log.entry.DeletedDupLNLogEntry
    579: 8 192 com.sleepycat.je.txn.LockGrantType
    583: 6 192 com.sleepycat.je.txn.LockUpgrade
    585: 4 192 com.sleepycat.je.log.FileManager$FileMode
    612: 1 144 com.sleepycat.je.dbi.CursorImpl
    628: 4 128 com.sleepycat.je.dbi.CursorImpl$SearchMode
    629: 3 128 [Lcom.sleepycat.je.dbi.DbEnvState;
    632: 3 120 com.sleepycat.je.txn.LockResult
    635: 3 120 com.sleepycat.je.Durability
    636: 3 120 com.sleepycat.je.log.LogEntryType$Replicable
    639: 2 112 com.sleepycat.je.dbi.DatabaseImpl$HaltPreloadException
    656: 3 96 com.sleepycat.je.txn.ThinLockImpl
    657: 3 96 com.sleepycat.je.log.Provisional
    658: 4 96 com.sleepycat.je.OperationStatus
    659: 1 96 com.sleepycat.je.tree.INLogItem
    664: 4 96 com.sleepycat.je.LockMode
    667: 4 96 com.sleepycat.je.dbi.PutMode
    669: 3 96 com.sleepycat.je.CacheMode
    671: 3 96 com.sleepycat.je.Durability$SyncPolicy
    675: 3 96 com.sleepycat.je.Durability$ReplicaAckPolicy
    676: 4 96 com.sleepycat.je.dbi.DbEnvState
    679: 2 96 com.sleepycat.je.DatabaseEntry
    691: 1 80 com.sleepycat.je.log.LogItem
    699: 2 80 com.sleepycat.je.log.entry.BINDeltaLogEntry
    700: 2 80 com.sleepycat.je.log.LogEntryType$Txnal
    701: 2 80 com.sleepycat.je.log.LogEntryType$Marshall
    709: 3 72 com.sleepycat.je.Database$DbState
    717: 3 72 com.sleepycat.je.PreloadStatus
    723: 3 72 com.sleepycat.je.txn.LockConflict
    729: 1 64 com.sleepycat.je.cleaner.LocalUtilizationTracker
    737: 1 64 [Lcom.sleepycat.je.log.entry.DbOperationType;
    740: 2 64 com.sleepycat.je.log.ReplicationContext
    748: 1 64 [[Lcom.sleepycat.je.txn.LockConflict;
    750: 1 64 [[Lcom.sleepycat.je.txn.LockUpgrade;
    758: 1 56 com.sleepycat.je.log.LogEntryHeader
    761: 1 56 com.sleepycat.je.log.DbOpReplicationContext
    767: 1 56 [Lcom.sleepycat.je.log.FileManager$FileMode;
    777: 1 48 [Lcom.sleepycat.je.log.Provisional;
    779: 1 48 com.sleepycat.je.tree.INLogContext
    791: 1 48 com.sleepycat.je.tree.SplitRequiredException
    792: 1 48 com.sleepycat.je.tree.Tree$RelatchRequiredException
    797: 1 48 [Lcom.sleepycat.je.CacheMode;
    806: 1 48 com.sleepycat.je.cleaner.LNInfo
    807: 1 48 com.sleepycat.je.tree.TreeLocation
    809: 1 48 [Lcom.sleepycat.je.Durability$SyncPolicy;
    811: 1 48 com.sleepycat.je.recovery.DirtyINMap
    812: 1 48 [Lcom.sleepycat.je.Durability$ReplicaAckPolicy;
    814: 3 48 com.sleepycat.je.tree.Tree$SearchType
    821: 1 48 [Lcom.sleepycat.je.log.LogEntryType$Replicable;
    823: 1 48 com.sleepycat.je.dbi.RangeRestartException
    832: 1 40 com.sleepycat.je.log.LogContext
    851: 1 40 [Lcom.sleepycat.je.log.LogEntryType$Txnal;
    854: 1 40 [Lcom.sleepycat.je.log.LogEntryType$Marshall;
    864: 1 32 com.sleepycat.je.CheckpointConfig
    877: 1 32 [Lcom.sleepycat.je.cleaner.LNInfo;
    880: 1 32 com.sleepycat.je.tree.SearchResult
    881: 1 32 [Lcom.sleepycat.je.log.LogItem;
    890: 1 32 com.sleepycat.je.dbi.DbEnvPool
    960: 1 24 com.sleepycat.je.tree.Key$DumpType$1
    963: 1 24 com.sleepycat.je.tree.Key$DumpType$2
    964: 1 24 com.sleepycat.je.tree.BINBoundary
    965: 1 24 com.sleepycat.je.tree.Key$DumpType$3
    967: 1 24 com.sleepycat.je.tree.Key$DumpType$4
    *5) Error output*
    [java] Exception in thread "Thread-9" java.lang.OutOfMemoryError: GC overhead limit exceeded
    [java] at com.sleepycat.je.log.LogManager.log(LogManager.java:279)
    [java] at com.sleepycat.je.log.LogManager.log(LogManager.java:268)
    [java] at com.sleepycat.je.log.LogManager.log(LogManager.java:199)
    [java] at com.sleepycat.je.tree.LN.log(LN.java:524)
    [java] at com.sleepycat.je.tree.LN.log(LN.java:373)
    [java] at com.sleepycat.je.cleaner.Cleaner.migrateLN(Cleaner.java:1213)
    [java] at com.sleepycat.je.cleaner.Cleaner.lazyMigrateLNs(Cleaner.java:928)
    [java] at com.sleepycat.je.tree.BIN.beforeLog(BIN.java:1182)
    [java] at com.sleepycat.je.recovery.Checkpointer.logSiblings(Checkpointer.java:1263)
    [java] at com.sleepycat.je.recovery.Checkpointer.flushIN(Checkpointer.java:965)
    [java] at com.sleepycat.je.recovery.Checkpointer.flushIN(Checkpointer.java:1091)
    [java] at com.sleepycat.je.recovery.Checkpointer.flushDirtyNodes(Checkpointer.java:704)
    [java] at com.sleepycat.je.recovery.Checkpointer.syncDatabase(Checkpointer.java:599)
    [java] at com.sleepycat.je.dbi.DatabaseImpl.sync(DatabaseImpl.java:861)
    [java] at com.sleepycat.je.Database.sync(Database.java:428)
    *6.mem.bin --analysis*
    Problem Suspect 1
    16 instances of "com.sleepycat.je.dbi.EnvironmentImpl", loaded by "sun.misc.Launcher$AppClassLoader @ 0x2aaab6882a80" occupy 50,938,584 (51.10%) bytes.
    Problem Suspect 2
    2,359 instances of "com.sleepycat.je.tree.BIN", loaded by "sun.misc.Launcher$AppClassLoader @ 0x2aaab6882a80" occupy 42,783,504 (42.92%) bytes.

    Also perhaps notable: the kind of OOME here -- "GC overhead limit exceeded" -- is one of the OOMEs where the JVM isn't really out of heap memory. Rather, it's just decided it's spending too much time collecting garbage. So there might be an application issue creating garbage as fast as possible.
    A little info about this type of OOME for the parallel and concurrent collectors in J6 are here:
    http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html#par_gc.oom
    http://java.sun.com/javase/technologies/hotspot/gc/gc_tuning_6.html#cms.oom
    Apparently this time-based check can be disabled (and I think I once saw an option for changing the percentage-of-time threshold without disabling it entirely, but the above links don't mention that option).
    - Gordon @ IA

  • 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.

  • 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....

  • Embedded WLS and JDev 12.1.2: java.lang.OutOfMemoryError: PermGen space

    This problem happens after about 10-15 application restarts during development phase. I have read somewhere that this was a known bug in 11g versions of JDev and its integrated WLS (10.3.5 or 10.3.6?). I have then increased memory parameters in configuration file. The only thing I achieved is that this crash now occurs later then sooner. Still very frustrating. When this happens I have to restart WLS and sometimes kill frozen JDeveloper.
    Any other idea/workaround?
    <Dec 30, 2013 12:37:04 PM CST> <Warning> <HTTP> <BEA-101384> <WLServlet annotation is deprecated, please use servlet 3.0 annotation instead. App:ADFOracleReports@ADFOracleReports-FwkExtensions-context-root, Class:oracle.adfinternal.view.faces.activedata.AdsServlet>
    <Dec 30, 2013 12:37:04 PM CST> <Warning> <HTTP> <BEA-101384> <WLServlet annotation is deprecated, please use servlet 3.0 annotation instead. App:ADFOracleReports@ADFOracleReports-ViewController-context-root, Class:oracle.adfinternal.view.faces.activedata.AdsServlet>
    <Dec 30, 2013 12:37:22 PM CST> <Warning> <HTTP> <BEA-101162> <User defined listener org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl failed: java.lang.OutOfMemoryError: PermGen space.
    java.lang.OutOfMemoryError: PermGen space
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:385)
      at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:344)
      Truncated. see log file for complete stacktrace
    >
    <Dec 30, 2013 12:37:33 PM CST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "1388428621416" for task "10". Error is: "weblogic.application.ModuleException: java.lang.OutOfMemoryError: PermGen space"
    weblogic.application.ModuleException: java.lang.OutOfMemoryError: PermGen space
      at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
      at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
      Truncated. see log file for complete stacktrace
    Caused By: java.lang.OutOfMemoryError: PermGen space
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:385)
      at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:344)
      Truncated. see log file for complete stacktrace
    >
    <Dec 30, 2013 12:37:33 PM CST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application "ADFOracleReports".>
    <Dec 30, 2013 12:37:33 PM CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application "ADFOracleReports".>
    <Dec 30, 2013 12:37:33 PM CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: java.lang.OutOfMemoryError: PermGen space
      at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
      at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213)
      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:208)
      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
      Truncated. see log file for complete stacktrace
    Caused By: java.lang.OutOfMemoryError: PermGen space
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:791)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:385)
      at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:344)
      Truncated. see log file for complete stacktrace
    >
    [12:37:53 PM] Cancel requested
    [Application ADFOracleReports stopped and undeployed from IntegratedWebLogicServer]
    <Dec 30, 2013 12:37:53 PM CST> <Error> <Deployer> <BEA-149062> <The task containing ID 10 cannot be canceled, since it has already completed execution.>
    <Dec 30, 2013 12:37:53 PM CST> <Warning> <RMI> <BEA-080003> <A RuntimeException was generated by the RMI server: javax.management.remote.rmi.RMIConnectionImpl.invoke(Ljavax.management.ObjectName;Ljava.lang.String;Ljava.rmi.MarshalledObject;[Ljava.lang.String;Ljavax.security.auth.Subject;)
    javax.management.RuntimeMBeanException: java.lang.UnsupportedOperationException: [Deployer:149062]The task containing ID 10 cannot be canceled, since it has already completed execution..
    javax.management.RuntimeMBeanException: java.lang.UnsupportedOperationException: [Deployer:149062]The task containing ID 10 cannot be canceled, since it has already completed execution.
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:852)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:821)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)
      at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:375)
      Truncated. see log file for complete stacktrace
    Caused By: java.lang.UnsupportedOperationException: [Deployer:149062]The task containing ID 10 cannot be canceled, since it has already completed execution.
      at weblogic.management.deploy.DeploymentTaskRuntime.prepareToCancel(DeploymentTaskRuntime.java:881)
      at weblogic.management.deploy.DeploymentTaskRuntime.cancel(DeploymentTaskRuntime.java:854)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      Truncated. see log file for complete stacktrace
    >

    You can try to change the garbage collector algorithm. Refere to http://bexhuff.com/2012/09/jdeveloper-memory-and-performance
    Timo

  • I have been getting java.lang.ClassNotFoundException: ZeroApplet.class and java.lang.ClassNotFoundException: JavaToJS.class crashes with JRE version 1.6.0_26-b03-384-10M3425 VM executing a Java Applet. Is Apple aware of this problem? No longer supported?

    My web page uses a Java Applet to allow my visitors to replay chess games; the Chess Viewer Deluxe applet was written by Nikolai Pilafov some time ago and has been working properly for some time (until recently). I don't monitor this part of my site regularly so I am not sure when it began to fail. On his web site [http://chesstuff.blogspot.com/2008/11/chess-viewer-deluxe.html] he has a link to check LiveConnect object functionality (which fails for OBJECT tags). His recommendation is to "seek platform specific support which might be available from the JRE developers for your platform".
    I have been getting java.lang.ClassNotFoundException: ZeroApplet.class and java.lang.ClassNotFoundException: JavaToJS.class crashes with JRE version 1.6.0_26-b03-384-10M3425 VM executing a Java Applet. Until I checked the LiveConnect object functionality, I was unable to identify the source of the console error messages. This does seem to be the smoking gun.
    Is Apple aware of this problem? Are these classes no longer supported? Has anyone else had this problem? You can attempt to recreate the problem locally by going to my web page: http://donsmallidge.com/DonSmallidgeChess.html
    Thanks in advance for any help you can provide!
    Abbreviated Java Console output:
    Java Plug-in 1.6.0_26
    Using JRE version 1.6.0_26-b03-384-10M3425 Java HotSpot(TM) 64-Bit Server VM
    load: class ZeroApplet.class not found.
    java.lang.ClassNotFoundException: ZeroApplet.class
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:662)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:807)
        at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2389)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
        at sun.applet.AppletPanel.run(AppletPanel.java:368)
        at java.lang.Thread.run(Thread.java:680)
    load: class JavaToJS.class not found.
    java.lang.ClassNotFoundException: JavaToJS.class
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:662)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:807)
        at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2389)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:714)
        at sun.applet.AppletPanel.run(AppletPanel.java:368)
        at java.lang.Thread.run(Thread.java:680)

    I just went up to check the LiveConnect object functionality page AND IT WORKED THIS TIME! I must confess, this is very mysterious. I will do some more checking and reply here if I can determine why it is working now (and more importantly, why it didn't work before).

  • Java.lang.OutOfMemoryError and PermGen errors

    We are getting outOfMemoryErrors and cannot find the cause. Does anybody know how to solve this? Every day we get OutOfMemory and PermGen errors, and nobody seems to be able to solve them. This is from our logs:
    <2008-11-18 13:45:04,627> <ERROR> <crps.collaxa.cube.engine.dispatch> <DispatchHelper::handleMessage> failed to handle message
    javax.ejb.EJBException: java.lang.OutOfMemoryError
         at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:317)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:73)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeDeliveryBean_LocalProxy_4bin6i8.resolveCallback(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.delivery.ResolveCallbackMessageHandler.handle(ResolveCallbackMessageHandler.java:46)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
         at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
         at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:268)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.OutOfMemoryError
         at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:203)
         at java.util.jar.JarFile.<init>(JarFile.java:132)
         at java.util.jar.JarFile.<init>(JarFile.java:97)
         at oracle.classloader.SharedJar.doOpen(SharedJar.java:208)
         at oracle.classloader.SharedCodeSource.open(SharedCodeSource.java:1136)
         at oracle.classloader.SharedCodeSource.ensureOpen(SharedCodeSource.java:948)
         at oracle.classloader.SharedCodeSource.getResourceBytes(SharedCodeSource.java:967)
         at oracle.classloader.CodeSourceSearchPolicy.findResourceBytes(CodeSourceSearchPolicy.java:57)
         at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1455)
         at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:645)
         at oracle.classloader.SearchPolicy$CheckSharedLibraries.getClass(SearchPolicy.java:396)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1674)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at java.sql.DriverManager.getCallerClass(DriverManager.java:442)
         at java.sql.DriverManager.getDrivers(DriverManager.java:336)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:587)
         at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:116)
         at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:75)
         at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.java:57)
         at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:92)
         at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:211)
         at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:170)
         at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1377)
         at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:327)
         at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
         at oracle.j2ee.connector.ConnectionPoolImpl$FixedWaitPoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1455)
         at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
         at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1575)
         at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1520)
         at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1465)
         at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
         at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
         at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:272)
         at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:200)
         at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:142)
         at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:127)
         at com.collaxa.cube.engine.data.ConnectionFactory$ConnectionFactoryImpl.getConnection(ConnectionFactory.java:336)
         at com.collaxa.cube.engine.data.ConnectionFactory.getConnection(ConnectionFactory.java:140)
         at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.__loadCallback(BaseDeliveryPersistenceAdaptor.java:368)
         at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.loadCallback(BaseDeliveryPersistenceAdaptor.java:247)
         at com.collaxa.cube.engine.data.DeliveryPersistenceMgr.loadCallback(DeliveryPersistenceMgr.java:48)
         at com.collaxa.cube.engine.delivery.DeliveryService.resolveCallback(DeliveryService.java:598)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.resolveCallback(CubeDeliveryBean.java:307)
         at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:648)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         ... 28 more
    <2008-11-18 13:45:04,650> <ERROR> <crps.collaxa.cube.engine.dispatch> <BaseScheduledWorker::process> Failed to handle dispatch message ... exception java.lang.OutOfMemoryError
    java.lang.OutOfMemoryError
         at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:203)
         at java.util.jar.JarFile.<init>(JarFile.java:132)
         at java.util.jar.JarFile.<init>(JarFile.java:97)
         at oracle.classloader.SharedJar.doOpen(SharedJar.java:208)
         at oracle.classloader.SharedCodeSource.open(SharedCodeSource.java:1136)
         at oracle.classloader.SharedCodeSource.ensureOpen(SharedCodeSource.java:948)
         at oracle.classloader.SharedCodeSource.getResourceBytes(SharedCodeSource.java:967)
         at oracle.classloader.CodeSourceSearchPolicy.findResourceBytes(CodeSourceSearchPolicy.java:57)
         at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1455)
         at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:645)
         at oracle.classloader.SearchPolicy$CheckSharedLibraries.getClass(SearchPolicy.java:396)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1674)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
         at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1050)
         at java.util.ResourceBundle.findBundle(ResourceBundle.java:925)
         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:762)
         at java.util.ResourceBundle.getBundle(ResourceBundle.java:699)
         at com.collaxa.cube.CubeException.getResourceBundle(CubeException.java:142)
         at com.collaxa.cube.engine.dispatch.DispatchException.<clinit>(DispatchException.java:39)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:171)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
         at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
         at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:268)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    <2008-11-18 13:45:07,781> <ERROR> <crps.collaxa.cube.engine.dispatch> <DispatchHelper::handleMessage> failed to handle message
    javax.ejb.EJBException: java.lang.OutOfMemoryError
         at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:317)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:73)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeDeliveryBean_LocalProxy_4bin6i8.resolveCallback(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.delivery.ResolveCallbackMessageHandler.handle(ResolveCallbackMessageHandler.java:46)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:138)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
         at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
         at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:268)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.OutOfMemoryError
         at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:203)
         at java.util.jar.JarFile.<init>(JarFile.java:132)
         at java.util.jar.JarFile.<init>(JarFile.java:97)
         at oracle.classloader.SharedJar.doOpen(SharedJar.java:208)
         at oracle.classloader.SharedCodeSource.open(SharedCodeSource.java:1136)
         at oracle.classloader.SharedCodeSource.ensureOpen(SharedCodeSource.java:948)
         at oracle.classloader.SharedCodeSource.getResourceBytes(SharedCodeSource.java:967)
         at oracle.classloader.CodeSourceSearchPolicy.findResourceBytes(CodeSourceSearchPolicy.java:57)
         at oracle.classloader.PolicyClassLoader.findLocalClass(PolicyClassLoader.java:1455)
         at oracle.classloader.SearchPolicy$FindLocal.getClass(SearchPolicy.java:167)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.SearchPolicy.loadClass(SearchPolicy.java:645)
         at oracle.classloader.SearchPolicy$CheckSharedLibraries.getClass(SearchPolicy.java:396)
         at oracle.classloader.SearchSequence.getClass(SearchSequence.java:119)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1674)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1635)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1620)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at java.sql.DriverManager.getCallerClass(DriverManager.java:442)
         at java.sql.DriverManager.getDrivers(DriverManager.java:336)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:587)
         at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:116)
         at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:75)
         at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnection(DataSourceConnectionPoolDataSource.java:57)
         at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADataSource.java:92)
         at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(ManagedConnectionFactoryImpl.java:211)
         at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryImpl.java:170)
         at com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnectionManager.java:1377)
         at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:327)
         at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
         at oracle.j2ee.connector.ConnectionPoolImpl$FixedWaitPoolingScheme.getManagedConnection(ConnectionPoolImpl.java:1455)
         at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
         at com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnectionManager.java:1575)
         at com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConnectionManager.java:1520)
         at com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionManager.java:1465)
         at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManager.java:238)
         at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
         at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:272)
         at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:200)
         at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:142)
         at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java:127)
         at com.collaxa.cube.engine.data.ConnectionFactory$ConnectionFactoryImpl.getConnection(ConnectionFactory.java:336)
         at com.collaxa.cube.engine.data.ConnectionFactory.getConnection(ConnectionFactory.java:140)
         at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.__loadCallback(BaseDeliveryPersistenceAdaptor.java:368)
         at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.loadCallback(BaseDeliveryPersistenceAdaptor.java:247)
         at com.collaxa.cube.engine.data.DeliveryPersistenceMgr.loadCallback(DeliveryPersistenceMgr.java:48)
         at com.collaxa.cube.engine.delivery.DeliveryService.resolveCallback(DeliveryService.java:598)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.resolveCallback(CubeDeliveryBean.java:307)
         at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:648)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         ... 28 more
    <2008-11-18 13:45:07,782> <ERROR> <crps.collaxa.cube.engine.dispatch> <BaseScheduledWorker::process> Failed to handle dispatch message ... exception java.lang.NoClassDefFoundError
    java.lang.NoClassDefFoundError
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:171)
         at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
         at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
         at sun.reflect.GeneratedMethodAccessor53.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at oracle.j2ee.connector.messageinflow.MessageEndpointImpl.OC4J_invokeMethod(MessageEndpointImpl.java:297)
         at WorkerBean_EndPointProxy_4bin6i8.onMessage(Unknown Source)
         at oracle.j2ee.ra.jms.generic.WorkConsumer.run(WorkConsumer.java:268)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)

    Marc Kelderman wrote:
    Make sure you set in heap size correctly.
    I do not know how large the heap size is. But I suggest to increase is.
    Oracle EM -> oc4j_soa -> administrtation -> Server
    set min / max equal to 1GB
    and the -XX:MaxPermSize is 256 M
    Marc
    >Make sure you set in heap size correctly.
    I do not know how large the heap size is. But I suggest to increase is.
    Oracle EM -> oc4j_soa -> administrtation -> Server
    set min / max equal to 1GB
    and the -XX:MaxPermSize is 256 M
    Marc
    Hi Tlwi and Marc,
    Im facing the same error in my environment. This is an Oracle Application Server which hosts a J2EE envionment. The application works fine without any issues, but all of a sudden the following error comes up and stalls the application. I have to restart the conatiner to handle the situation, but this is not the solution.
    Based on my searching it reveals that this error does not mean that the jvm is running out of heap space instead it uses some memory outside the heap to unzip the zip files.
    Can you let me know on the solution that you had applied or what can be done to fix this as i have enough heap space.
    09/03/11 14:58:23.851 APPNAME: Servlet error
    java.lang.OutOfMemoryError
         at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:203)
         at java.util.jar.JarFile.<init>(JarFile.java:132)
         at java.util.jar.JarFile.<init>(JarFile.java:97)
         at oracle.classloader.SharedJar.doOpen(SharedJar.java:208)
         at oracle.classloader.SharedCodeSource.open(SharedCodeSource.java:1136)
    Thanks,

  • 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

  • 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

  • Audio interface problems with Snow Leopard

    I've just installed Snow Leopard and can't seem to record a live audio track to Garage Band. I'm using a keyboard audio interface, which has worked fine in the past. I've chosen the correct Input in Sys Pref/Sound. Ditto in the Audio/MIDI section of

  • How to retrieve public/ private from iKey token using Sun PKCS#11 provider

    Dear all, I'm trying to access one rainbow iKey 2032 token in Java 1.5 (Windows Environment) using Sun PKCS#11 provider. Token is stored with certificate. There is no problem to logging into the token using java.      Provider p = new sun.security.pk

  • Updating Nokia Lumia 710

    Hey I'm trying to update my Nokia Lunia 710 using the zune software and it keeps on failing and telling me error code 80004005. Can anyone help?

  • Company Code in T001 but not T880?

    Hi, I am abapper and need some advice on HR company code config. I have searched the forum but could not find exact answer. There are company codes which exist on T001 but not on T880. Am I correct in saying that these T001 codes must have been  main

  • How do I download my Google calendar to my Macbook Pro?

    When I try, it says there isn't a secure connection and then it says Calendar couldn't discover the account settings for the CalDAV server "google.com"