Perm gen space error on redeploy.

After about 5 to 6 times of redeploying or stopping and starting of our application, the perm gen space eventualy runs out of memory and the container freezes.
I've noticed (with jprofiler) that all the static classes especially singletons are kept in memory after an undeploy and no memory are released in the perm gen space even on a forced garbage collection.
We do not want to restart the container every time because another applications will then also be affected.
We are using Oracle 10.1.3 and JDK 1.5 update 11.
Any help to remove the singletons from memory would be appreciated.
Thanks.

There are various explanations for this issue. One is that usage of XML is the issue, the other one is class loading (from a comment in the JDK). You should check your application for both. It might help for future use.
--olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Regarding Perm  Gen Space

    Hello,
    when i am working with myeclipse i got one error message, that is about Perm Gen Space...... i found some infomation about that, it is regarding non-heap memory and we mention this in ecllipse.ini file......
    wright now i just want to know what is this perm gen space ... and what is the role that played in this.... is this regarding VM

    The permanent generation is for objects that the vm wants the garbage collector to manage that are not actually allocated by the java application. I.e. interned Strings etc.

  • How to Perm Gen space garbage collected?

    Hi,
    Im using a small utility to start & stop Embedded Tomcat [both utility & Tomcat are in a single JVM]. The effect of start & stop is that, the classes are not getting unloaded on stopping the Tomcat container & classes are getting reloaded on each & every start,there where no traces of unloading of classes.
    So results in Out of Memory Exception : Perm Gen Space.
    Trials i had are
    1. Called destroy of the Tomcat class loader
    2. Used GC option CMSPermGenSweepingEnabled
    but no results.
    Please let me provide solution.
    Thanks in advance,
    Edited by: user7362843 on Oct 7, 2010 9:36 PM

    What VM are you using?
    Classes are unloaded, at least in normal desktop VMs, when the class loader that loaded them is unloaded.
    Since you are stating that more than one class of the same type is being loaded that by definition means that you are using class loaders. So allowing those to be collected would allow the old classes to be collected.

  • Tomcat perm gen space

    When I reload my war file in tomcat about seven times it throws a PermGen space issue and is out of memory. What is the best way to diagnosis this problem to fix it? Thanks!

    There are various explanations for this issue. One is that usage of XML is the issue, the other one is class loading (from a comment in the JDK). You should check your application for both. It might help for future use.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Hotspot JVM crash on Solaris 10: perm gen up to 99%

    Hello all,
    I got 4 JVM crashes with the same Internal Error (5349474E41545552450E43505000C0 01) reported in the Catalina output log. However I have only 1 hs_err_pid.log that is still available (the other 3 were deleted). I've noticed that the perm gen momory was up to 99% full but there was no OutOfMemory error exception. Please help. Thanks.
    OS: Solaris 10
    JVM: 1.4.2_10
    ==============================================
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # Internal Error (5349474E41545552450E43505000C0 01), pid=244, tid=7735
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_10-b03 mixed mode)
    T H R E A D
    Current thread (0x01343e78): JavaThread "http-80-Processor15" daemon [_thread_in_vm, id=7735]
    Stack: [0xa8000000,0xa8080000), sp=0xa807d518, free space=501k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [libjvm.so+0x398e00]
    V [libjvm.so+0x23a49c]
    V [libjvm.so+0xcdd44]
    V [libjvm.so+0x13fe08]
    v ~RuntimeStub::interpreter_entries Runtime1 stub
    J org.apache.xalan.xsltc.dom.CurrentNodeListIterator.next()I
    J org.apache.xalan.xsltc.dom.StepIterator.next()I
    J org.apache.xalan.xsltc.dom.DupFilterIterator.setStartNode(I)Lorg/apache/xml/dtm/DTMAxisIterator;
    j GregorSamsa.hcsFmtMainSearchResults(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;I)V+1913
    j GregorSamsa.StartUp(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;I)V+129
    j GregorSamsa.template$dot$57(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;I)V+6
    j GregorSamsa.applyTemplates(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;)V+494
    j GregorSamsa.applyTemplates(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;)V+527
    j GregorSamsa.transform(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;)V+58
    j org.apache.xalan.xsltc.runtime.AbstractTranslet.transform(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/serializer/SerializationHandler;)V+9
    j org.apache.xalan.xsltc.trax.TransformerImpl.transform(Ljavax/xml/transform/Source;Lorg/apache/xml/serializer/SerializationHandler;Ljava/lang/String;)V+152
    j org.apache.xalan.xsltc.trax.TransformerImpl.transform(Ljavax/xml/transform/Source;Ljavax/xml/transform/Result;)V+119
    j com.thc.ids.presentation.services.xslt.PF_XSLTService.transform(Ljava/lang/String;Lorg/apache/velocity/context/Context;Ljavax/xml/transform/Result;)V+84
    j com.thc.ids.presentation.services.xslt.PF_XSLTService.transform(Ljava/lang/String;Lorg/apache/velocity/context/Context;)Ljava/lang/String;+34
    j com.thc.ids.presentation.services.xslt.PF_XSLT.transform(Ljava/lang/String;Lorg/apache/velocity/context/Context;)Ljava/lang/String;+5
    j com.thc.ids.presentation.modules.screens.VelocityXslScreen.buildTemplate(Lorg/apache/turbine/util/RunData;)Lorg/apache/ecs/ConcreteElement;+161
    j org.apache.turbine.modules.screens.TemplateScreen.doBuild(Lorg/apache/turbine/util/RunData;)Lorg/apache/ecs/ConcreteElement;+9
    j org.apache.turbine.modules.Screen.build(Lorg/apache/turbine/util/RunData;)Lorg/apache/ecs/ConcreteElement;+2
    j org.apache.turbine.modules.ScreenLoader.eval(Lorg/apache/turbine/util/RunData;Ljava/lang/String;)Lorg/apache/ecs/ConcreteElement;+6
    j org.apache.turbine.modules.layouts.VelocityECSLayout.doBuild(Lorg/apache/turbine/util/RunData;)V+18
    j org.apache.turbine.modules.Layout.build(Lorg/apache/turbine/util/RunData;)V+2
    j org.apache.turbine.modules.LayoutLoader.exec(Lorg/apache/turbine/util/RunData;Ljava/lang/String;)V+6
    j com.thc.ids.presentation.modules.pages.PFPage.supersDoBuildWithChanges(Lorg/apache/turbine/util/RunData;)V+156
    j com.thc.ids.presentation.modules.pages.PFPage.doBuild(Lorg/apache/turbine/util/RunData;)V+71
    j org.apache.turbine.modules.Page.build(Lorg/apache/turbine/util/RunData;)V+2
    j org.apache.turbine.modules.PageLoader.exec(Lorg/apache/turbine/util/RunData;Ljava/lang/String;)V+6
    j com.thc.ids.presentation.WebAppController.handleRequest(Lcom/thc/ids/presentation/services/runData/PFRunData;)V+23
    j com.thc.ids.presentation.BrowserClientAdapter.doGet(Lorg/apache/turbine/util/RunData;)V+30
    j com.thc.ids.presentation.BrowserClientAdapter.doPost(Lorg/apache/turbine/util/RunData;)V+2
    j com.thc.ids.presentation.PresentationFrameworkServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+14
    J javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
    J javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
    j com.thc.ids.presentation.PresentationFrameworkServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+32
    J org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
    J org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
    j com.thc.ids.presentation.servlet.filter.padlock.PadlockFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V+624
    J org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
    J org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
    j com.thc.ids.presentation.servlet.filter.ThrottleFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V+136
    J org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
    J org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
    J org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
    J org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
    J org.apache.catalina.authenticator.AuthenticatorBase.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
    J org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
    J org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
    J org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
    J org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V
    J org.apache.coyote.http11.Http11Processor.process(Ljava/io/InputStream;Ljava/io/OutputStream;)V
    J org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V
    J org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Ljava/net/Socket;Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V
    J org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt([Ljava/lang/Object;)V
    j org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()V+167
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    V [libjvm.so+0xc9ccc]
    V [libjvm.so+0xd8668]
    V [libjvm.so+0xd84f4]
    V [libjvm.so+0xd847c]
    V [libjvm.so+0xd82a8]
    V [libjvm.so+0xc8560]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    v ~RuntimeStub::interpreter_entries Runtime1 stub
    J org.apache.xalan.xsltc.dom.CurrentNodeListIterator.next()I
    J org.apache.xalan.xsltc.dom.StepIterator.next()I
    J org.apache.xalan.xsltc.dom.DupFilterIterator.setStartNode(I)Lorg/apache/xml/dtm/DTMAxisIterator;
    j GregorSamsa.hcsFmtMainSearchResults(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;I)V+1913
    j GregorSamsa.StartUp(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;I)V+129
    j GregorSamsa.template$dot$57(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;I)V+6
    j GregorSamsa.applyTemplates(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;)V+494
    j GregorSamsa.applyTemplates(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;)V+527
    j GregorSamsa.transform(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/dtm/DTMAxisIterator;Lorg/apache/xml/serializer/SerializationHandler;)V+58
    j org.apache.xalan.xsltc.runtime.AbstractTranslet.transform(Lorg/apache/xalan/xsltc/DOM;Lorg/apache/xml/serializer/SerializationHandler;)V+9
    j org.apache.xalan.xsltc.trax.TransformerImpl.transform(Ljavax/xml/transform/Source;Lorg/apache/xml/serializer/SerializationHandler;Ljava/lang/String;)V+152
    j org.apache.xalan.xsltc.trax.TransformerImpl.transform(Ljavax/xml/transform/Source;Ljavax/xml/transform/Result;)V+119
    j com.thc.ids.presentation.services.xslt.PF_XSLTService.transform(Ljava/lang/String;Lorg/apache/velocity/context/Context;Ljavax/xml/transform/Result;)V+84
    j com.thc.ids.presentation.services.xslt.PF_XSLTService.transform(Ljava/lang/String;Lorg/apache/velocity/context/Context;)Ljava/lang/String;+34
    j com.thc.ids.presentation.services.xslt.PF_XSLT.transform(Ljava/lang/String;Lorg/apache/velocity/context/Context;)Ljava/lang/String;+5
    j com.thc.ids.presentation.modules.screens.VelocityXslScreen.buildTemplate(Lorg/apache/turbine/util/RunData;)Lorg/apache/ecs/ConcreteElement;+161
    j org.apache.turbine.modules.screens.TemplateScreen.doBuild(Lorg/apache/turbine/util/RunData;)Lorg/apache/ecs/ConcreteElement;+9
    j org.apache.turbine.modules.Screen.build(Lorg/apache/turbine/util/RunData;)Lorg/apache/ecs/ConcreteElement;+2
    j org.apache.turbine.modules.ScreenLoader.eval(Lorg/apache/turbine/util/RunData;Ljava/lang/String;)Lorg/apache/ecs/ConcreteElement;+6
    j org.apache.turbine.modules.layouts.VelocityECSLayout.doBuild(Lorg/apache/turbine/util/RunData;)V+18
    j org.apache.turbine.modules.Layout.build(Lorg/apache/turbine/util/RunData;)V+2
    j org.apache.turbine.modules.LayoutLoader.exec(Lorg/apache/turbine/util/RunData;Ljava/lang/String;)V+6
    j com.thc.ids.presentation.modules.pages.PFPage.supersDoBuildWithChanges(Lorg/apache/turbine/util/RunData;)V+156
    j com.thc.ids.presentation.modules.pages.PFPage.doBuild(Lorg/apache/turbine/util/RunData;)V+71
    j org.apache.turbine.modules.Page.build(Lorg/apache/turbine/util/RunData;)V+2
    j org.apache.turbine.modules.PageLoader.exec(Lorg/apache/turbine/util/RunData;Ljava/lang/String;)V+6
    j com.thc.ids.presentation.WebAppController.handleRequest(Lcom/thc/ids/presentation/services/runData/PFRunData;)V+23
    j com.thc.ids.presentation.BrowserClientAdapter.doGet(Lorg/apache/turbine/util/RunData;)V+30
    j com.thc.ids.presentation.BrowserClientAdapter.doPost(Lorg/apache/turbine/util/RunData;)V+2
    j com.thc.ids.presentation.PresentationFrameworkServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+14
    J javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V
    J javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
    j com.thc.ids.presentation.PresentationFrameworkServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+32
    J org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
    J org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
    j com.thc.ids.presentation.servlet.filter.padlock.PadlockFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V+624
    J org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
    J org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
    j com.thc.ids.presentation.servlet.filter.ThrottleFilter.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Ljavax/servlet/FilterChain;)V+136
    J org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
    J org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V
    J org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
    J org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
    J org.apache.catalina.authenticator.AuthenticatorBase.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
    J org.apache.catalina.core.StandardHostValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
    J org.apache.catalina.valves.ErrorReportValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
    J org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V
    J org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V
    J org.apache.coyote.http11.Http11Processor.process(Ljava/io/InputStream;Ljava/io/OutputStream;)V
    J org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V
    J org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(Ljava/net/Socket;Lorg/apache/tomcat/util/net/TcpConnection;[Ljava/lang/Object;)V
    J org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt([Ljava/lang/Object;)V
    j org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()V+167
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    P R O C E S S
    Java Threads: ( => current thread )
    0x00bb39d8 JavaThread "Worker for Socket[addr=/127.0.0.1,port=53366,localport=20046]" daemon [_thread_blocked, id=123794]
    0x01362938 JavaThread "Thread-122036" daemon [_thread_blocked, id=123759]
    0x00ef4678 JavaThread "process reaper" daemon [_thread_in_native, id=123758]
    0x0137d288 JavaThread "Worker for Socket[addr=/127.0.0.1,port=53317,localport=20046]" daemon [_thread_blocked, id=123505]
    0x01421618 JavaThread "Worker for Socket[addr=/127.0.0.1,port=53316,localport=20046]" daemon [_thread_blocked, id=123504]
    0x0111b3d8 JavaThread "Worker for Socket[addr=/127.0.0.1,port=53301,localport=20046]" daemon [_thread_blocked, id=123443]
    0x01362790 JavaThread "Thread-116982" daemon [_thread_blocked, id=118635]
    0x01079478 JavaThread "process reaper" daemon [_thread_in_native, id=118634]
    0x01383a78 JavaThread "Thread-116917" daemon [_thread_blocked, id=118569]
    0x012f6980 JavaThread "process reaper" daemon [_thread_in_native, id=118568]
    0x014291e8 JavaThread "Thread-103772" daemon [_thread_blocked, id=105258]
    0x00ca9298 JavaThread "process reaper" daemon [_thread_in_native, id=105257]
    0x01331bb0 JavaThread "Thread-97960" daemon [_thread_blocked, id=99370]
    0x012c30a8 JavaThread "process reaper" daemon [_thread_in_native, id=99369]
    0x011fe170 JavaThread "Thread-91419" daemon [_thread_blocked, id=92764]
    0x012e9540 JavaThread "process reaper" daemon [_thread_in_native, id=92763]
    0x00aadd30 JavaThread "Thread-91168" daemon [_thread_blocked, id=92510]
    0x00f12418 JavaThread "process reaper" daemon [_thread_in_native, id=92509]
    0x012f67a8 JavaThread "Thread-91167" daemon [_thread_blocked, id=92508]
    0x010f3ef8 JavaThread "process reaper" daemon [_thread_in_native, id=92507]
    0x013ccf38 JavaThread "Thread-91166" daemon [_thread_blocked, id=92506]
    0x010fb880 JavaThread "process reaper" daemon [_thread_in_native, id=92505]
    0x012f4b08 JavaThread "Thread-90582" daemon [_thread_blocked, id=91889]
    0x00a94ad0 JavaThread "process reaper" daemon [_thread_in_native, id=91888]
    0x01294f38 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=74360]
    =>0x01343e78 JavaThread "http-80-Processor15" daemon [_thread_in_vm, id=7735]
    0x00eeb900 JavaThread "http-80-Processor14" daemon [_thread_blocked, id=7734]
    0x00e0cee0 JavaThread "http-80-Processor13" daemon [_thread_in_Java, id=7733]
    0x00b30c48 JavaThread "http-80-Processor12" daemon [_thread_blocked, id=3209]
    0x00be4610 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=23085943" daemon [_thread_blocked, id=2991]
    0x00be4468 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=6274237" daemon [_thread_blocked, id=2990]
    0x00ab9aa8 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=9727105" daemon [_thread_blocked, id=2989]
    0x00ae7698 JavaThread "http-80-Processor11" daemon [_thread_blocked, id=2181]
    0x007bc060 JavaThread "http-80-Processor10" daemon [_thread_blocked, id=1686]
    0x00dda5f8 JavaThread "http-80-Processor9" daemon [_thread_blocked, id=1570]
    0x00bcaa68 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=11736269" daemon [_thread_blocked, id=311]
    0x009a3240 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=9336125" daemon [_thread_blocked, id=310]
    0x00bca8c0 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=6538948" daemon [_thread_blocked, id=309]
    0x005527e0 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=1647407" daemon [_thread_blocked, id=236]
    0x00f00f20 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=15839978" daemon [_thread_blocked, id=235]
    0x00dbefc8 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=667758" daemon [_thread_blocked, id=234]
    0x0099a878 JavaThread "http-80-Processor8" daemon [_thread_blocked, id=199]
    0x00e83978 JavaThread "http-80-Processor7" daemon [_thread_blocked, id=190]
    0x00e488c8 JavaThread "http-80-Processor6" daemon [_thread_blocked, id=167]
    0x005515d0 JavaThread "http-80-Processor5" daemon [_thread_blocked, id=166]
    0x00c0dbe0 JavaThread "http-80-Processor4" daemon [_thread_blocked, id=165]
    0x00b4f6f8 JavaThread "http-80-Processor3" daemon [_thread_blocked, id=164]
    0x00b4fcc0 JavaThread "http-80-Processor2" daemon [_thread_blocked, id=163]
    0x003a6f68 JavaThread "http-80-Processor1" daemon [_thread_blocked, id=162]
    0x00cfdcb0 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=161]
    0x00bcf7f0 JavaThread "Scheduled task MonitorImportExportRequests" daemon [_thread_blocked, id=159]
    0x00cf3258 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=12218723" [_thread_blocked, id=158]
    0x00cf2770 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=839238" [_thread_blocked, id=157]
    0x00bcf648 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=866511" [_thread_blocked, id=156]
    0x00b585e8 JavaThread "Scheduled task AcsDBUpdateTicketTask" daemon [_thread_blocked, id=155]
    0x00b5aca0 JavaThread "com.thc.ids.inf.framework.scheduling.ScheduledTask-ThreadHashCode=27588781" [_thread_blocked, id=154]
    0x00d39ce8 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=5079868" [_thread_blocked, id=153]
    0x00d39740 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=14277" [_thread_blocked, id=152]
    0x00b58b10 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=22925302" [_thread_blocked, id=151]
    0x00cfd0d0 JavaThread "com.thc.ids.inf.framework.scheduling.SchedulingService-ThreadHashCode=32631031" [_thread_blocked, id=150]
    0x003bfb90 JavaThread "THIDS Period based regulator daemon com.thc.ids.inf.util.logging.DBLogger" daemon [_thread_blocked, id=149]
    0x00d38ec0 JavaThread "Scheduled task Heap Size Monitor" daemon [_thread_blocked, id=146]
    0x00d3a3e8 JavaThread "Scheduled task CacheManager" daemon [_thread_blocked, id=145]
    0x00d38918 JavaThread "/228.1.2.1:7000" [_thread_blocked, id=144]
    0x00bec108 JavaThread "Scheduled task AcsDBUpdateTicketTask" daemon [_thread_blocked, id=143]
    0x00bec3d0 JavaThread "com.thc.ids.inf.framework.scheduling.ScheduledTask-ThreadHashCode=10049554" [_thread_blocked, id=142]
    0x00b7ebe0 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=24083007" [_thread_blocked, id=141]
    0x00b7ee28 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=19670515" [_thread_blocked, id=140]
    0x00b9e6d0 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=32028313" [_thread_blocked, id=139]
    0x00b4bf90 JavaThread "com.thc.ids.inf.framework.scheduling.SchedulingService-ThreadHashCode=6458123" [_thread_blocked, id=138]
    0x00b80588 JavaThread "THIDS Period based regulator daemon com.thc.ids.inf.util.logging.DBLogger" daemon [_thread_blocked, id=137]
    0x00b7e380 JavaThread "Scheduled task Heap Size Monitor" daemon [_thread_blocked, id=134]
    0x00b7fb50 JavaThread "Scheduled task CacheManager" daemon [_thread_blocked, id=133]
    0x00b7f9a8 JavaThread "/228.1.2.1:7000" [_thread_blocked, id=132]
    0x008fca38 JavaThread "GC Daemon" daemon [_thread_blocked, id=131]
    0x00571070 JavaThread "RMI Reaper" [_thread_blocked, id=130]
    0x006278a0 JavaThread "Thread-69" daemon [_thread_blocked, id=129]
    0x005721f8 JavaThread "RMI TCP Accept-0" daemon [_thread_blocked, id=128]
    0x00c11f88 JavaThread "Accept" [_thread_blocked, id=127]
    0x000c6338 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=27926127" [_thread_blocked, id=126]
    0x00194a58 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=15631913" [_thread_blocked, id=125]
    0x00590c40 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=17649599" [_thread_blocked, id=124]
    0x00c12548 JavaThread "com.thc.ids.inf.framework.scheduling.SchedulingService-ThreadHashCode=28661005" [_thread_blocked, id=123]
    0x00187f08 JavaThread "THIDS Period based regulator daemon com.thc.ids.inf.util.logging.DBLogger" daemon [_thread_blocked, id=122]
    0x0089a570 JavaThread "Scheduled task Heap Size Monitor" daemon [_thread_blocked, id=119]
    0x0089a750 JavaThread "Scheduled task CacheManager" daemon [_thread_blocked, id=118]
    0x00c11bd8 JavaThread "/228.1.2.1:7000" [_thread_blocked, id=117]
    0x009cd1b8 JavaThread "Scheduled task ACSDBDeleteTicket" daemon [_thread_blocked, id=116]
    0x009cc490 JavaThread "Scheduled task AsyncProcessTriggerTask" daemon [_thread_blocked, id=115]
    0x009641b0 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=6952180" [_thread_blocked, id=114]
    0x003ad548 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=1958936" [_thread_blocked, id=113]
    0x009cbae8 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=10749034" [_thread_blocked, id=112]
    0x007d9828 JavaThread "Scheduled task CacheFlush" daemon [_thread_blocked, id=111]
    0x007d9680 JavaThread "com.thc.ids.inf.framework.scheduling.ScheduledTask-ThreadHashCode=18084131" [_thread_blocked, id=110]
    0x000f9be0 JavaThread "com.thc.ids.inf.framework.scheduling.ScheduledTask-ThreadHashCode=16952981" [_thread_blocked, id=109]
    0x000f9a38 JavaThread "com.thc.ids.inf.framework.scheduling.ScheduledTask-ThreadHashCode=11987729" [_thread_blocked, id=108]
    0x00188f18 JavaThread "Scheduled task AcsDBUpdateTicketTask" daemon [_thread_blocked, id=107]
    0x007d5510 JavaThread "com.thc.ids.inf.framework.scheduling.ScheduledTask-ThreadHashCode=13834754" [_thread_blocked, id=106]
    0x004ac898 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=11607308" [_thread_blocked, id=105]
    0x0043e1f8 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=25463487" [_thread_blocked, id=104]
    0x0043f608 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=25021098" [_thread_blocked, id=103]
    0x00652f50 JavaThread "com.thc.ids.inf.framework.scheduling.SchedulingService-ThreadHashCode=1653717" [_thread_blocked, id=102]
    0x0043e3a0 JavaThread "THIDS Period based regulator daemon com.thc.ids.inf.util.logging.DBLogger" daemon [_thread_blocked, id=101]
    0x004aae90 JavaThread "Scheduled task Heap Size Monitor" daemon [_thread_blocked, id=98]
    0x004aca50 JavaThread "Scheduled task CacheManager" daemon [_thread_blocked, id=97]
    0x00647420 JavaThread "/228.1.2.1:7000" [_thread_blocked, id=96]
    0x007b3be0 JavaThread "com.thc.ids.inf.framework.scheduling.ScheduledTask-ThreadHashCode=30465184" [_thread_blocked, id=95]
    0x0064c368 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=27192531" [_thread_blocked, id=94]
    0x00823268 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=22204202" [_thread_blocked, id=93]
    0x008eec00 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=22277774" [_thread_blocked, id=92]
    0x008a53d0 JavaThread "com.thc.ids.inf.framework.scheduling.SchedulingService-ThreadHashCode=10141170" [_thread_blocked, id=91]
    0x008eea58 JavaThread "THIDS Period based regulator daemon com.thc.ids.inf.util.logging.DBLogger" daemon [_thread_blocked, id=90]
    0x00823ab0 JavaThread "Scheduled task Heap Size Monitor" daemon [_thread_blocked, id=87]
    0x00823c98 JavaThread "Scheduled task CacheManager" daemon [_thread_blocked, id=86]
    0x00822030 JavaThread "/228.1.2.1:7000" [_thread_blocked, id=85]
    0x0064abe0 JavaThread "Scheduled task AcsDBUpdateTicketTask" daemon [_thread_blocked, id=84]
    0x0064b680 JavaThread "com.thc.ids.inf.framework.scheduling.ScheduledTask-ThreadHashCode=3231505" [_thread_blocked, id=83]
    0x005e3ff0 JavaThread "Scheduled task LabNotes" daemon [_thread_blocked, id=82]
    0x005f1588 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=3238086" [_thread_blocked, id=81]
    0x00c13130 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=12430126" [_thread_blocked, id=80]
    0x008859c8 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=3879853" [_thread_blocked, id=79]
    0x00326fc0 JavaThread "com.thc.ids.inf.framework.scheduling.SchedulingService-ThreadHashCode=30823605" [_thread_blocked, id=78]
    0x003255a0 JavaThread "THIDS Period based regulator daemon com.thc.ids.inf.util.logging.DBLogger" daemon [_thread_blocked, id=77]
    0x0074e2f8 JavaThread "Scheduled task Heap Size Monitor" daemon [_thread_blocked, id=74]
    0x00325f48 JavaThread "Scheduled task CacheManager" daemon [_thread_blocked, id=73]
    0x00325da0 JavaThread "/228.1.2.1:7000" [_thread_blocked, id=72]
    0x0046af10 JavaThread "Scheduled task AcsDBUpdateTicketTask" daemon [_thread_blocked, id=71]
    0x00186b78 JavaThread "com.thc.ids.inf.framework.scheduling.ScheduledTask-ThreadHashCode=29383146" [_thread_blocked, id=70]
    0x00897e60 JavaThread "Scheduled task LabNotes" daemon [_thread_blocked, id=69]
    0x0044c688 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=5705081" [_thread_blocked, id=68]
    0x0044c4e0 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=18214005" [_thread_blocked, id=67]
    0x00c12f88 JavaThread "com.thc.ids.inf.framework.opf.rdbms.datastore.pooling.DynamicConnectionPoolMonitor-ThreadHashCode=15136214" [_thread_blocked, id=66]
    0x004256f8 JavaThread "com.thc.ids.inf.framework.scheduling.SchedulingService-ThreadHashCode=18539794" [_thread_blocked, id=65]
    0x0044b118 JavaThread "THIDS Period based regulator daemon com.thc.ids.inf.util.logging.DBLogger" daemon [_thread_blocked, id=64]
    0x00834b48 JavaThread "Scheduled task Heap Size Monitor" daemon [_thread_blocked, id=61]
    0x00425150 JavaThread "Scheduled task CacheManager" daemon [_thread_blocked, id=60]
    0x00449be0 JavaThread "/228.1.2.1:7000" [_thread_blocked, id=59]
    0x005ef030 JavaThread "com.thc.ids.inf.framework.scheduling.ScheduledTask-ThreadHashCode=21506365" [_thread_blocked, id=58]
    0x0060c628 JavaThread "Scheduled task LabNotes" daemon [_thread_blocked, id=57]
    0x00c1d490 JavaThread "com.thc.ids.inf.framework.opf.rdbms

    soumikinthesun wrote:
    Yes I am using OCI driver. But can you tell me where is the problem using OCI driver?Nope.
    If you want to spend the time then you do the following.
    1. Reduce the code to the point where you have a small example that fails
    2. Make a bug report to Oracle.
    If you want a solution, since waiting on a Oracle fix is unlikely to be something that you can do (unless you have a service contract and they state that they will fix it) then do one of the following.
    1. Use the thin driver, not the OCI one.
    2. Use a different version of the OCI driver
    3. Determine exactly where the problem occurs and find a different way to structure the code (java and SQL) so the error does not occur.
    I don't think my system is corrupted because the core is comming in customer machine as well as our test machine.
    That doesn't completely eliminate the possibility but it does make it much less likely.
    we are getting core from libjvm.so , so I think it is not the crash of oracle VM. It is the crash of SUN VM
    what do you think?The Oracle and Sun VMs are completely different applications. They are your applications so I can't tell you what you are running. The Oracle VM would, normally, be used for embedded java procs in the database itself. And if you are using OCI in that code then you are doing it wrong.

  • Problems after space error reported

    My Time Capsule device has worked perfectly for months and deletes old backups as necessary when there is insufficient space for a new backup. I'm using a 500Gb device to backup a Mac Pro and a G4 Powerbook - no problems until yesterday.
    During a backup I received an error message - this gist of it was "Time Capsule encountered an unexpected space problem during a backup and will create space next time". Expecting this problem to be resolved automatically I clicked OK and carried on working. The problem I now have is that Time Capsule has been preparing for backup for several hours (across two consecutive days) now and shows no sign of starting a new backup.
    I left the MacPro running overnight yesterday but the new backup had not started when I started work this morning. I restarted the MacPro this morning (8 hours ago) and prompted Time Capsule to "Backup Now" - it has been eight hours and the backup has not started - it is still "preparing".
    I have looked in the system log and can see messages containing write error 28 and something to do with "needs recovery" (see below) but this way above my level of expertise.
    (May 27 00:00:29 Cliffs-G5-Tower mds[31]: (Error) DiskStore: permission cache (/Volumes/Backup of Cliff's G5 Tower/.Spotlight-V100/Store-V1/Stores/2AC640AD-DD16-4A9E-9A7C-7CE19E555775/perm Store) write error: 28
    May 27 00:00:29 Cliffs-G5-Tower mds[31]: (/Volumes/Backup of Cliff's G5 Tower/.Spotlight-V100/Store-V1/Stores/B452885D-CF11-4D79-8349-35C3D3EF5545)(Err or) IndexCI in CIMetaInfoSync:write err: 28
    May 27 00:00:29 Cliffs-G5-Tower mds[31]: (/Volumes/Backup of Cliff's G5 Tower/.Spotlight-V100/Store-V1/Stores/2AC640AD-DD16-4A9E-9A7C-7CE19E555775)(Err or) IndexCI in openIndex:index shadow err:-1 at 0.
    May 27 00:00:29 Cliffs-G5-Tower mds[31]: (/Volumes/Backup of Cliff's G5 Tower/.Spotlight-V100/Store-V1/Stores/2AC640AD-DD16-4A9E-9A7C-7CE19E555775)(Err or) IndexCI in ContentIndexOpenBulk:Could not open /Volumes/Backup of Cliff's G5 Tower/.Spotlight-V100/Store-V1/Stores/2AC640AD-DD16-4A9E-9A7C-7CE19E555775/0.; needs recovery)
    There are lots of messages in the system log as follows: -
    (May 27 16:48:48 Cliffs-G5-Tower KernelEventAgent[33]: tid 00000000 type 'hfs', mounted on '/Volumes/Backup of Cliff's G5 Tower', from '/dev/disk5s2', low disk
    May 27 16:49:04 Cliffs-G5-Tower mds[31]: (/Volumes/Backup of Cliff's G5 Tower/.Spotlight-V100/Store-V1/Stores/F856DAC8-CE5F-46E8-B826-19B10BC52F31)(Err or) IndexCI in CIMetaInfoSync:write err: 28
    May 27 16:49:34 Cliffs-G5-Tower mds[31]: (/Volumes/Backup of Cliff's G5 Tower/.Spotlight-V100/Store-V1/Stores/F856DAC8-CE5F-46E8-B826-19B10BC52F31)(Err or) IndexCI in CIMetaInfoSync:write err: 28
    May 27 16:50:04 Cliffs-G5-Tower mds[31]: (/Volumes/Backup of Cliff's G5 Tower/.Spotlight-V100/Store-V1/Stores/F856DAC8-CE5F-46E8-B826-19B10BC52F31)(Err or) IndexCI in CIMetaInfoSync:write err: 28)
    I can also see messages from 26 May that report no space left on device and then others that say "waiting for index to be ready (909 >0) - see below.
    26/05/2009 14:57:17 /System/Library/CoreServices/backupd[3567] Error writing to backup log. NSFileHandleOperationException:* -[NSConcreteFileHandle writeData:]: No space left on device
    26/05/2009 14:57:17 /System/Library/CoreServices/backupd[3567] Error writing to backup log. NSFileHandleOperationException:* -[NSConcreteFileHandle writeData:]: No space left on device
    26/05/2009 14:57:17 /System/Library/CoreServices/backupd[3567] Error writing to backup log. NSFileHandleOperationException:* -[NSConcreteFileHandle writeData:]: No space left on device
    26/05/2009 14:57:17 /System/Library/CoreServices/backupd[3567] Error writing to backup log. NSFileHandleOperationException:* -[NSConcreteFileHandle writeData:]: No space left on device
    26/05/2009 14:57:18 /System/Library/CoreServices/backupd[3567] Error writing to backup log. NSFileHandleOperationException:* -[NSConcreteFileHandle writeData:]: No space left on device
    26/05/2009 14:57:18 /System/Library/CoreServices/backupd[3567] Error writing to backup log. NSFileHandleOperationException:* -[NSConcreteFileHandle writeData:]: No space left on device
    26/05/2009 14:57:18 /System/Library/CoreServices/backupd[3567] Error writing to backup log. NSFileHandleOperationException:* -[NSConcreteFileHandle writeData:]: No space left on device
    26/05/2009 14:57:18 /System/Library/CoreServices/backupd[3567] Error writing to backup log. NSFileHandleOperationException:* -[NSConcreteFileHandle writeData:]: No space left on device
    26/05/2009 14:57:19 /System/Library/CoreServices/backupd[3567] Exception writing exclusions cache. NSFileHandleOperationException:* -[NSConcreteFileHandle writeData:]: No space left on device
    26/05/2009 14:57:19 /System/Library/CoreServices/backupd[3567] Unable to create exclusions cache data.
    26/05/2009 14:57:19 /System/Library/CoreServices/backupd[3567] Failed to write exclusions cache. Continuing anyway.
    26/05/2009 14:57:19 /System/Library/CoreServices/backupd[3567] Error writing to backup log. NSFileHandleOperationException:* -[NSConcreteFileHandle writeData:]: No space left on device
    26/05/2009 14:57:19 /System/Library/CoreServices/backupd[3567] Waiting for index to be ready (909 > 0)
    26/05/2009 14:57:24 /System/Library/CoreServices/backupd[3567] Waiting for index to be ready (909 > 0)
    26/05/2009 14:57:34 /System/Library/CoreServices/backupd[3567] Waiting for index to be ready (909 > 0)
    26/05/2009 14:57:49 /System/Library/CoreServices/backupd[3567] Waiting for index to be ready (909 > 0)
    This message is repeated every 30 seconds and is the only entry in the log since the "no space left on device" message.
    Is this just Time Capsule carrying out a deep traversal (there's no mention in the log) or do I have a problem with the TC device? I'd be very grateful for any help or suggestions.
    Kind regards,
    Cliff
    Brighton, UK

    I think I got it.
    Open Terminal, type "hdiutil compact " and drag the sparsebundle onto the terminal window, so that it copies the right path. Hit return and let it free some space. The sparsebundles do not automatically compact themselves when they delete some old backups, so doing it manually did the trick for me.
    After completing, I had some 40 GB space again and the backup worked again.

  • Version.bundle giving space errors

    I'm having trouble with the Version device that was set up with FCS. Although there are 350 gigs of space available, I keep getting out of space errors. When I check a project in, it tries multiple times to copy it to the Version device, giving "error: E_FD, file write error, No space left on device" each time in the Log, and then giving an error of "Error: E_COM Error in comms channel to LDS (LDS did not complete request)" when the job fails.
    If I turn off versioning, I can check in projects no problem.
    I've checked permissions and added an edit in place URI to the device, as it is on XSAN. I can open up the bundle, and the subfolders allow anyone to write, but will only make files of size 0, as it thinks it is out of space. Any ideas?

    Is the version.bundle located on the Xsan?
    If so is that folder being stored on an Xsan affinity that has run out of space?
    Nicholas Stokes
    XPlatform Consulting

  • JVM Java heap space Error || even with -Xms- and -Xmx commands

    hi all, i got a problem by allocating a very great boolean array.
    first of all, here is my testcode:
    public static void main(String[] args) {
              boolean[] testfield = new boolean[70000000];          
              while(true){
              //NOP     
         }as you see, i try to allocate an array with 70.000.000 boolean values - as 1 boolean may be represented as at least one physical bit we calculate the total amount of needed RAM-Space:
    70.000.000 bit / 8 = 8750000 byte
    8.750.000 byte = 8.75 MByte
    My System ist WinVista Ultimate 64-bit running on a Quadcore T2200 with 2GB-DDR3 RAM
    Looking in my Vista Ressourcemanager shows, that eclipse.exe reserves about 1.023 Mbyte....
    As IDE I use eclipse
    my eclipse.ini looks as follows:
    -showsplash
    org.eclipse.platform
    --launcher.XXMaxPermSize
    256M
    -vmargs
    -Dosgi.requiredJavaVersion=1.5
    -Xms512m
    -Xmx1024m
    -XX:PermSize=512mby using following VMCommand "-XX:+PrintGCDetails" and running the above code the output displays:
    [GC [DefNew: 180K->63K(960K), 0.0008311 secs][Tenured: 43K->107K(4096K), 0.0060371 secs] 180K->107K(5056K), 0.0069249 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]
    [Full GC [Tenured: 107K->105K(60544K), 0.0044835 secs] 107K->105K(61504K), [Perm : 17K->16K(12288K)], 0.0045553 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
         at termain.main(termain.java:15)
    Heap
    def new generation   total 4544K, used 163K [0x246a0000, 0x24b80000, 0x24b80000)
      eden space 4096K,   4% used [0x246a0000, 0x246c8fe0, 0x24aa0000)
      from space 448K,   0% used [0x24aa0000, 0x24aa0000, 0x24b10000)
      to   space 448K,   0% used [0x24b10000, 0x24b10000, 0x24b80000)
    tenured generation   total 60544K, used 105K [0x24b80000, 0x286a0000, 0x286a0000)
       the space 60544K,   0% used [0x24b80000, 0x24b9a420, 0x24b9a600, 0x286a0000)
    compacting perm gen  total 12288K, used 16K [0x286a0000, 0x292a0000, 0x2c6a0000)
       the space 12288K,   0% used [0x286a0000, 0x286a41c0, 0x286a4200, 0x292a0000)
        ro space 8192K,  62% used [0x2c6a0000, 0x2cba2ba0, 0x2cba2c00, 0x2cea0000)
        rw space 12288K,  52% used [0x2cea0000, 0x2d4e88e0, 0x2d4e8a00, 0x2daa0000)so can anyone tell me please, how i manage to allocate bigger arrays? or where at least is the problem?
    Originally i was thinking like that way: Integer.MAXVALUE = (2^32)-1
    => biggest index an array can have
    => biggest allocation possible with ints weights (((2^32)-^1)/8)/1000*1000 = (round) 537 MByte < 2GByte => everything fine .... but it seems like not :-(
    When i try to allocate 60.0000.000 it works fine....but that is far not enough :-&
    thank you very much for your helping answers!

    The Sun Java virtual machine stores booleans as bytes, not bits, so for an array of 70 million booleans you need 70 million bytes, plus 8 bytes for the object header, and 4 bytes for the array length.
    I suspect that your eclipse.ini controls the JVM running the Eclipse IDE, not the JVM running your application. Note that in the -XX:+PrintGCDetails output at the end, it shows you running out of memory with 4MB of young generation and 60MB of old generation. That's the default configuration, as if you hadn't specified -Xms and -Xmx.
    The array of 60 million booleans only requires 60 million bytes (plus overhead), which fits in the default old generation.
    I think you need to put the -Xms and -Xmx in the same place you put the -XX:+PrintGCDetails, since that does seem to display information about the JVM running your application, not the JVM running Eclipse.

  • Hard drive says I have more than 300 GB available with a 500 gb capacity. Yet I get "Low Disk Space" error messages when I do anything.

    Hard drive says I have more than 300 GB available with a 500 gb capacity. Yet I get "Low Disk Space" error messages when I do anything.
    Attempted solutions:
    -I created a new User Account and I can download large files with no issues.
    -I ran "Repair Disk Permissions" but still get warnings.
    Google Drive Warning:
    Spotify Warning:        
    But on my other user account I can use spotify and download large files, etc.

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    This time you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Heap space error while creating XML document from Resultset

    I am getting Heap space error while creating XML document from Resultset.
    It was working fine from small result set object but when the size of resultset was more than 25,000, heap space error
    I am already using -Xms32m -Xmx1024m
    Is there a way to directly write to xml file from resultset instead of creating the whole document first and then writing it to file? Code examples please?
    here is my code:
    stmt = conn.prepareStatement(sql);
    result = stmt.executeQuery();
    result.setFetchSize(999);
    Document doc = JDBCUtil.toDocument(result, Application.BANK_ID, interfaceType, Application.VERSION);
    JDBCUtil.write(doc, fileName);
    public static Document toDocument(ResultSet rs, String bankId, String interfaceFileType, String version)
        throws ParserConfigurationException, SQLException {
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            DocumentBuilder builder = factory.newDocumentBuilder();
            Document doc = builder.newDocument();
            Element results = doc.createElement("sims");
            results.setAttribute("bank", bankId);
            results.setAttribute("record_type", "HEADER");
            results.setAttribute("file_type", interfaceFileType);
            results.setAttribute("version", version);
            doc.appendChild(results);
            ResultSetMetaData rsmd = rs.getMetaData();
            int colCount = rsmd.getColumnCount();
            String columnName="";
            Object value;
            while (rs.next()) {
                Element row = doc.createElement("rec");
                results.appendChild(row);
                for (int i = 1; i <= colCount; i++) {
                    columnName = rsmd.getColumnLabel(i);
                    value = rs.getObject(i);
                    Element node = doc.createElement(columnName);
                    if(value != null)
                        node.appendChild(doc.createTextNode(value.toString()));
                    else
                        node.appendChild(doc.createTextNode(""));
                    row.appendChild(node);
            return doc;
    public static void write(Document document, String filename) {
            //long start = System.currentTimeMillis();
            // lets write to a file
            OutputFormat format = new OutputFormat(document); // Serialize DOM
            format.setIndent(2);
            format.setLineSeparator(System.getProperty("line.separator"));
            format.setLineWidth(80);
            try {
                FileWriter writer = new FileWriter(filename);
                BufferedWriter buf = new BufferedWriter(writer);
                XMLSerializer FileSerial = new XMLSerializer(writer, format);
                FileSerial.asDOMSerializer(); // As a DOM Serializer
                FileSerial.serialize(document);
                writer.close();
            } catch (IOException ioe) {
                ioe.printStackTrace();
            //long end = System.currentTimeMillis();
            //System.err.println("W3C File write time :" + (end - start) + "  " + filename);
        }

    you can increase your heap size..... try setting this as your environment variable.....
    variable: JAVA_OPTS
    value: -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m

  • Java Heap Space error while reading from Excel

    Hello,
    I have a data flow which reads from excel and updates records in an oracle table.
    When the data flow tries to read the excel I get a java Heap space Error.
    Error preparing to read <SUPP_STG3_FILE1>: <Java heap space>.
    Data flow <DF_SUPP_STG3_UPD> is terminated due to error <58105>.
    I have configured Excel Adapter since the server is on UNIX. BOExcelAdapter shows status as red once the execution fails. Before that BOExcel adapter status is green.
    BOExcelAdapter Trace:
    1/13/12 10:57:38 PM Thread[Thread-6,5,main]      Received an error message from the message broker. [Communication failure. Read timed out]. Will exit adapter immediately.
    1/13/12 10:57:47 PM Thread[main,5,main]      Create broker client for life-cycle management. Host:port = hikalxboes01:4001
    1/13/12 10:57:47 PM Thread[main,5,main]      Create broker client for data exchange with ASP. Host:port = hikalxboes01:4001. Client ID = com.acta.adapter.msexceladapter.MSExcelAdapter.data_18
    1/13/12 10:57:47 PM Thread[Thread-11,5,main]      Create broker client for real-time services with ASP. Host:port = 'hikalxboes01:4000''.
    1/13/12 10:57:47 PM Thread[Thread-11,5,main]      Start instance [BOExcelAdapter] of adapter [com.acta.adapter.msexceladapter.MSExcelAdapter].
    1/13/12 10:57:47 PM Thread[Thread-11,5,main]      Register the client ID [com.acta.adapter.msexceladapter.MSExcelAdapter.data_18] and adapter destination [hikalxboes01:4001] with the adapter manager.
    1/13/12 10:57:47 PM Thread[Thread-11,5,main]      Registration complete.
    1/13/12 10:58:10 PM Thread[Thread-10,5,main]      java.lang.OutOfMemoryError: Java heap space
         at org.apache.poi.hssf.usermodel.HSSFRow.addCell(HSSFRow.java:273)
         at org.apache.poi.hssf.usermodel.HSSFRow.createCellFromRecord(HSSFRow.java:196)
         at org.apache.poi.hssf.usermodel.HSSFSheet.setPropertiesFromSheet(HSSFSheet.java:183)
         at org.apache.poi.hssf.usermodel.HSSFSheet.<init>(HSSFSheet.java:128)
         at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:283)
         at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:196)
         at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:178)
         at com.acta.adapter.msexceladapter.MSExcelAdapterReadTable.begin(MSExcelAdapterReadTable.java:537)
         at com.acta.adapter.sdk.StreamOperationWrapper.beginStream(StreamOperationWrapper.java:88)
         at com.acta.adapter.sdk.AdapterRunnerImpl.processBeginOperation(AdapterRunnerImpl.java:1762)
         at com.acta.adapter.sdk.AdapterServiceDataListener.handleBrokerMessage(AdapterServiceDataListener.java:90)
         at com.acta.brokerclient.BrokerClient.handleMessage(BrokerClient.java:439)
         at com.acta.brokerclient.BrokerClient.access$100(BrokerClient.java:53)
         at com.acta.brokerclient.BrokerClient$MessageHandler.run(BrokerClient.java:1621)
         at com.acta.brokerclient.ThreadPool$PoolThread.run(ThreadPool.java:100)
    BOExcelAdapter Error Log:
    1/13/12 10:58:10 PM      java.lang.OutOfMemoryError: Java heap space
         at org.apache.poi.hssf.usermodel.HSSFRow.addCell(HSSFRow.java:273)
         at org.apache.poi.hssf.usermodel.HSSFRow.createCellFromRecord(HSSFRow.java:196)
         at org.apache.poi.hssf.usermodel.HSSFSheet.setPropertiesFromSheet(HSSFSheet.java:183)
         at org.apache.poi.hssf.usermodel.HSSFSheet.<init>(HSSFSheet.java:128)
         at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:283)
         at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:196)
         at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:178)
         at com.acta.adapter.msexceladapter.MSExcelAdapterReadTable.begin(MSExcelAdapterReadTable.java:537)
         at com.acta.adapter.sdk.StreamOperationWrapper.beginStream(StreamOperationWrapper.java:88)
         at com.acta.adapter.sdk.AdapterRunnerImpl.processBeginOperation(AdapterRunnerImpl.java:1762)
         at com.acta.adapter.sdk.AdapterServiceDataListener.handleBrokerMessage(AdapterServiceDataListener.java:90)
         at com.acta.brokerclient.BrokerClient.handleMessage(BrokerClient.java:439)
         at com.acta.brokerclient.BrokerClient.access$100(BrokerClient.java:53)
         at com.acta.brokerclient.BrokerClient$MessageHandler.run(BrokerClient.java:1621)
         at com.acta.brokerclient.ThreadPool$PoolThread.run(ThreadPool.java:100)

    As Jay mentioned above it might be due to the size of the Excel spreadsheet as you might be hitting the limitation in Apache POI library used for adapter.
    What is the size of the Excel file?
    What is the value of -Xmx parameter - see DS Management Console > Adapter configuration page.
    Thank you,
    Viacheslav.

  • Java Heap Space Error in BI Publisher

    Hi,
    I have an issue with BIP reports.
    My report is working fine in development instance as it has very less data.
    But the same report is throwing "Java Heap Space" error in another instance which is having huge amount of data.
    I tried to modify the oc4j.cmd file by increasing the values -XX:MaxPermSize=128m -Xmx1024m.
    After restarting the oc4j serivices,my OBIEE and BIP URL's becomes dead slow.
    Is there any solution to improve the performance (or) is there any other way to resolve this issue.
    I am running on
    OBIEE 10.1.3.4.2.
    oc4j Server
    Windows box.
    Thanks in advance.
    Pramod.

    Changing os's may help, or it may not. Java requires contiguous memory addresses for the heap, and that varies with the os, os parameters, what has previously been loaded into memory, and how much physical memory is available. The heap can't be assigned to the os's swap space; the os handles paging in and out of memory. All modern os's provide paging to disk.

  • While generating the huge report getting Java Heap Space Error

    Hi All,
    We are using XML Publisher 5.6.2. we have to generate the huge report which contains more than 300 sql statements. Since our schema structure we can not reduce the queries. Now we are facing issue while generating the report. It takes lot of time and gives 'java heap space error'. We are using data template and RTF template for generating excel report.
    Can anybody help me to resolve the issue? or is there any other way to generate the huge reports?
    Thanks,

    Hi,
    I had seen the forum, but we had already adjusted the parameters in the oc4j "-XX:MaxPermSize=128m -Xmx512m" values to 4096. but still we are getting the java heap space error. since we increased the size of xmx value, XML Publisher occupies 61% of memory of the server. B'coz of this our other applications are getting affected.
    and also, since we are using XML Publisher 5.6.2, can you please assist us how to set the scalable property to 'true'.
    Thanks,
    Ramya.
    Edited by: user753355 on Aug 12, 2009 3:35 AM

  • Clean Install G4 Dual 1 GHz-Not enough Disk Space Error? -SLOW USB copies

    HELP puhleeeeze!
    This seems to be an issue on various sites with no one being able to figure out what is the cause and a solution. One person stated his problem went away with a fullwipe and clean-reinstall of everything. But this is what I did already. 
    What is the reason for the "Not Enough Disk Space" error message when both my hard drives have gigs of space available. If I had hair I'd be pulling it out by now!   When trying to copy a file to my 2 internal hard drives that have a lot of space available, but only by the USB port?!!
    I have a Power Mac G4 Mirrored Door (MDD) Dual 1 GHz with a clean install of 10.5.8 from the Original Mac OS X Leopard DVD. Both internal hard drives are 60GB and 100GB. The hard drives were wiped clean with Disc Utilities and reformatted to Mac OS Extended (Journaled). The Power Mac only has the OS and a few music apps installed. Easily over 30 GB of space left on the the main G4 interal hard drive and about 75 GB on the other internal hard drive.
    The error seems to only happen when I connect a USB flash drive to the USB port. I tried to copy a 50MB update to the desktop-"Not Enough Disk Space" error message happened.
    I know that the G4 MDD Power Macs only have USB 1.0. Is this a USB 2.0 issue? Another issue is that it has very slow USB speed (dramtically slower than normal USB 1.0 copying of files. And this is only when it is successful. Is it a USB format issue? I know I couldn't get an external USB 2.0 drive to mount on the Power Mac at all. Disc Utilities could see it but it still would not mount. I have a friend who has an older G4 single processor Mac that doesn't experience these issues with its USB 1.0 ports.
    Now here's the kicker:
    If I put in a CD disc in the DVD/RW drive, it copies with no problems to either hard drive. If I connect to the Power Mac  via the ethernet network, files can copy with no problems. But any USB connection -  I get a the "Not Enough Disk Space" error message. I know this is an old mac... but it's never been problematic until this latest wipe and update to Leopard 10.5.8.
    Is there a solution to this? Any and all help, feedback, comments, thoughts are greatly appreciated in advance!!!

    Hello everyone,
    Ok, I did the ultimate task. I erased the hard drives, AGAIN. Just to start fresh from scratch. Hard drives were erased. Did a new install of Mac OS 10.5. And all was well. I could copy with no problems. I gave the computer to my friend and all was good for a couple of days and then the issue came back again. He couldn't copy anything to his internal hard drives and we received the "Not enough disk space" error message! I was baffled. A complete hard drive erase 2 times, 2 fresh Mac OS 10.5 installs and it works for a few days and then coping to HD we got the same **** problem again! THEN - I remembered that the PRAM battery was dead on this G4 Mirrored-Door Dual 1GHz PowerMac. I had recommended that he get a new battery, because this computer would always have the incorrect date and time after every restart. So with recalling this, I had him reset the PRAM by holding down the CMD+OPT+P+R keys after a restart (start-up Chime). I had him hold the keys for at least 3 start-up-chimes. Soon as the G4 Power Mac started up everything was fine again. He was able to copy files to his hard drives again with the "Not enough disk space" error message.
    So everyone! Try zapping your PRAM (resetting the PRAM) and see if this solves your problem. I told my friend to get a new PRAM battery to replace the old one that is completely dead. I have not heard back from him.  I will ask him again if the problem has come back.
    If that fails: My only other solution would be to consider that it is possible that Mac OS 10.5 has a conflict or issue with the G4 Processors and maybe it is safer to install Mac OS 10.3 or 10.4. Because this problem only has occured after installing Mac OS 10.5, the highest version of the Mac OS the Dual 1GHz Mirrored-Door G4 can be installed.
    Cheers,
    B

  • After clean install of Snow Leopard, Time Machine did not restore all files.  When I try to restore these files I get "Not enough disk space" error.  What do I need to do to get these important files back onto my Mac from my external hard drive??

    After clean install of Snow Leopard, Time Machine did not restore all files.  When I try to restore these files I get "Not enough disk space" error.  What do I need to do to get these important files back onto my Mac from my external hard drive?? 

    Janet.b wrote:
    About 3 years old...pretty dated now I guess.  Am thinking I may just need to have it upgraded by a Mac tech.
    For what the Apple Store's charge you can buy almost buy a new computer.
    Just for giggles I brought my old laptop in for a drive upgrade and asked, they wanted $600 for a drive that only cost $120 at the time and it was a slow 5,400 RPM drive. The new Mac's of a similar make were going for $1000.
    I did the drive replacement myself, got a faster drive of better quality for $300 instead.
    Then another time I asked for a RAM upgrade from 4GB to 8GB, they wanted to charge $400 + $35 for the labor.
    The same RAM is on Crucial.com for $90 and all I need is a 00 micro phillips screwdriver.
    So you see what's going on here.
    I think what you should do, if your out of warranty/AppleCare, is to call up the local PC tech guy who also does Mac's and have them fix you right up.
    They can offer more personalized care which you need. Clone your old drive to the new and everything.
    With Apple they are overworked at the Genius Bar and just place roadblocks so you buy a new machine instead.
    For instance, all new iMac's now have proprietary drive software installed on the hard drives for heat monitoring. So now the only choice a user has is to bring their iMac into a Apple Store for a very expensive drive upgrade, which a person then decides the money is better spent buying a new machine.

Maybe you are looking for