JavaHelp OutOfMemoryError ?!

I`m getting this error after 20 or 30 openings of different help pages in my application.
Exception occurred during event dispatching:
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(Unknow
n Source)
        at sun.awt.Win32GraphicsConfig.createAcceleratedImage(Unknown Source)
        at sun.awt.windows.WComponentPeer.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at javax.swing.JViewport.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JSplitPane.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JLayeredPane.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paintToOffscreen(Unknown Source)
        at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
Exception in thread "Image Fetcher 1" java.lang.OutOfMemoryError: Java heap spac
e
        at java.awt.image.DataBufferInt.<init>(Unknown Source)
        at java.awt.image.Raster.createPackedRaster(Unknown Source)
        at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknow
n Source)
        at sun.awt.image.ImageRepresentation.createBufferedImage(Unknown Source)
        at sun.awt.image.ImageRepresentation.setPixels(Unknown Source)
        at sun.awt.image.ImageDecoder.setPixels(Unknown Source)
        at sun.awt.image.JPEGImageDecoder.sendPixels(Unknown Source)
        at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
        at sun.awt.image.JPEGImageDecoder.produceImage(Unknown Source)
        at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
        at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
        at sun.awt.image.ImageFetcher.run(Unknown Source)
Exception occurred during event dispatching:
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(Unknow
n Source)
        at sun.awt.Win32GraphicsConfig.createAcceleratedImage(Unknown Source)
        at sun.awt.windows.WComponentPeer.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at javax.swing.JViewport.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintToOffscreen(Unknown Source)
        at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
        at javax.swing.RepaintManager.paint(Unknown Source)
        at javax.swing.JComponent._paintImmediately(Unknown Source)
        at javax.swing.JComponent.paintImmediately(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknow
n Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.Dialog$1.run(Unknown Source)
Exception occurred during event dispatching:
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(Unknow
n Source)
        at sun.awt.Win32GraphicsConfig.createAcceleratedImage(Unknown Source)
        at sun.awt.windows.WComponentPeer.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at java.awt.Component.createImage(Unknown Source)
        at javax.swing.JViewport.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintToOffscreen(Unknown Source)
        at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
        at javax.swing.RepaintManager.paint(Unknown Source)
        at javax.swing.JComponent._paintImmediately(Unknown Source)
        at javax.swing.JComponent.paintImmediately(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknow
n Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.Dialog$1.run(Unknown Source)
Exception occurred during event dispatching:
java.lang.OutOfMemoryError: Java heap spaceI`m using jdk 1.5 with JavaHelp 2.
Is there any way to keep this help without giving me this error

you are facing the problem of java heap space. just maximize your JVM pool space by using command.
java -Xms[Min Memory] -Xmx[Max Memory]
for example java -Xms40m -Xmx256m

Similar Messages

  • Error in JavaHelp

    Hello:
    I have JWS app I've been working on for a long time. I just added JavaHelp to it. I got it all working nicely on my local machine. When I went to deploy in JWS, I ran into a permission problem. JavaHelp is included as an extension, and I've set <security> to <all-permissions/> in both JNLPs, but I still get the following exception:
    Parsing failed for null
    Exception caught while parsing nulljava.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
    java.lang.NullPointerException
      at javax.help.plaf.basic.BasicFavoritesNavigatorUI.reloadData(BasicFavoritesNavigatorUI.java:297)
      at javax.help.plaf.basic.BasicFavoritesNavigatorUI.installUI(BasicFavoritesNavigatorUI.java:235)
      at javax.swing.JComponent.setUI(JComponent.java:647)
      at javax.help.JHelpNavigator.setUI(JHelpNavigator.java:257)
      at javax.help.JHelpNavigator.updateUI(JHelpNavigator.java:276)
      at javax.help.JHelpNavigator.<init>(JHelpNavigator.java:105)
      at javax.help.JHelpFavoritesNavigator.<init>(JHelpFavoritesNavigator.java:62)
         ... more omitted
    Here are my JNLP files:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+"
    codebase="http://www.mydomain.com/"
    href="mydomain.jnlp"
    version="0.14">
      <information>
        <title>My Client</title>
        <vendor>MyCompany, LLC</vendor>
        <description>MyCompany rules.</description>
        <homepage href="http://mydomain.com"/>
        <offline-allowed/>
      </information>
      <resources>
        <jar href="mydomain.jar"/>
        <j2se version="1.5+" href="http://java.sun.com/products/autodl/j2se"/>
        <extension name="Java Help" href="lib/javahelp.jnlp"/>
      </resources>
      <application-desc main-class="com.mydomain.core.Main"/>
      <security>
        <all-permissions/>
      </security>
    </jnlp>
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+"
    codebase="http://www.digibunker.com/"
    href="lib/javahelp.jnlp"
    version="2.0">
      <information>
        <title>Java Help</title>
        <vendor>Sun Microsystems</vendor>
        <description>Java Help System.</description>
        <homepage href="http://java.sun.com/javase/technologies/desktop/javahelp"/>
        <offline-allowed/>
      </information>
      <resources>
        <jar href="lib/jh.jar" download="lazy" part="JavaHelp" />
        <jar href="lib/jhall.jar" download="lazy" part="JavaHelp" />
        <jar href="lib/jhbasic.jar" download="lazy" part="JavaHelp" />
        <jar href="lib/jsearch.jar" download="lazy" part="JavaHelp" />
        <j2se version="1.5+" href="http://java.sun.com/products/autodl/j2se"/>
      </resources>
      <component-desc>
      <security>
        <all-permissions/>
      </security>
    </jnlp>
    Any and all help welcomed.
    Thanks, Dan
    Edited by: dlamet on Jan 8, 2010 5:40 PM

    AndrewThompson64
    Thanks for the quick response. I downloaded your app (very good idea BTW!) and ran it against my JNLP file. It reported a number of issues to me, but I don't understand them. I subsequently located the JNLP spec 6.0.10 here and went through it carefully. (I ended up discovering some nice features I added to my file.) I ended up with the following file, but the errors seem to be the same. The output is below the JNLP.
    Is it possible that your app is analyzing against an outdated version of the JNLP spec? It's all that I can figure. Perhaps you could explain just one or two of the node errors to get me started. Thanks again! Dan
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+"
    codebase="http://www.digibunker.com/"
    href="digibunker.jnlp"
    version="0.14">
      <information>
        <title>DigiBunker Client</title>
        <vendor>DigiBunker, LLC</vendor>
        <homepage href="http://www.digibunker.com"/>
        <description kind="tooltip">Automated media back up.</description>
        <description kind="one-line">The DigiBunker client makes protecting your media files easy.</description>
        <icon href="http://www.digibunker.com/images/icon-32.png"
    version="1.0"
    width="32"
    height="32"
    size="6243" />
        <offline-allowed/>
        <shortcut>
          <desktop />
          <menu />
        </shortcut>
      </information>
      <security>
        <all-permissions/>
      </security>
      <resources>
        <j2se version="1.5+" href="http://java.sun.com/products/autodl/j2se"/>
        <jar href="digibunker.jar" main="true" />
        <extension name="Java Help" version="2.0" href="lib/javahelp.jnlp">
          <ext-download download="lazy" />
        </extension>
      </resources>
      <application-desc main-class="com.judedavid.eros.core.Main"/>
    </jnlp>
    Content type application/xml does not equal expected type of application/x-java-jnlp-file
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'homepage'. One of '{description, icon, offline-allowed, shortcut, association, related-content}' is expected.
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'j2se'. One of '{jar, nativelib, extension, property, package}' is expected.
    cvc-complex-type.2.4.d: Invalid content was found starting with element 'security'. No child element is expected at this point.
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'homepage'. One of '{description, icon, offline-allowed, shortcut, association, related-content}' is expected.
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'j2se'. One of '{jar, nativelib, extension, property, package}' is expected.
    cvc-complex-type.2.4.d: Invalid content was found starting with element 'security'. No child element is expected at this point.
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'homepage'. One of '{description, icon, offline-allowed, shortcut, association, related-content}' is expected.
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'homepage'. One of '{description, icon, offline-allowed, shortcut, association, related-content}' is expected.
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'j2se'. One of '{jar, nativelib, extension, property, package}' is expected.
    cvc-complex-type.2.4.a: Invalid content was found starting with element 'j2se'. One of '{jar, nativelib, extension, property, package}' is expected.
    cvc-complex-type.2.4.d: Invalid content was found starting with element 'security'. No child element is expected at this point.
    cvc-complex-type.2.4.d: Invalid content was found starting with element 'security'. No child element is expected at this point.
    XML encoding not known, but declared as utf-8
    Codebase + href 'http://www.digibunker.com/digibunker.jnlp' is not equal to actual location of 'file:/Y:/Moonlighting/JudeDavid/site/athena/public/digibunker.jnlp'.
    Downloads can be optimized by specifying a resource size for 'digibunker.jar'.
    The resource download at digibunker.jar can be optimized by removing the (default) value of download='eager'.
    The resource download at digibunker.jar can be optimized by removing the (default) value of main='false'.
    It might be possible to optimize the start-up of the app. by specifying download='lazy' for the digibunker.jar resource.
    Lazy downloads might not work as expected for digibunker.jar unless the download 'part' is specified.
    Resource type com of resource http://digibunker.com is not one of the allowable types of jar.
    Report for http://www.digibunker.com/lib/javahelp.jnlp

  • Image processing - OutOfMemoryError

    Hi,
    I have a question about image processing programs. I want to write an image processing program (more as an exercise), so far I have succeeded with a few steps. I am able to create a new document and display it's contents on screen. It's based on the BufferedImage class basically. Now the problem is, when I enter dimensions in a New dialog to be 30000x30000 (that's a limit in Photoshop) I get an OutOfMemoryError such as below. How can I write a program that can be competitive to Adobe Photoshop. Photoshop can handle 30000x30000 pixels (and remember, it can have multiple layers etc.). How to achieve that in Java? Also, Photoshop (in the Preferences pane) allows to set the memory usage, there is a slider and one can just set how much memory Photoshop is about to utilize. Is that possible in Java?
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
            at pr.g.Picture.<init>(Picture.java:56)
            at pr.docs.DocCAN.<init>(DocCAN.java:24)
            at canvas01.DocHandler.createNewDoc(DocHandler.java:33)
            at canvas01.CanvasGUI.actionPerformed(CanvasGUI.java:309)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
            at javax.swing.AbstractButton.doClick(AbstractButton.java:389)
            at javax.swing.AbstractButton.doClick(AbstractButton.java:337)
            at javax.swing.plaf.basic.BasicMenuItemUI$Actions.actionPerformed(BasicMenuItemUI.java:778)
            at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1645)
            at javax.swing.JComponent.processKeyBinding(JComponent.java:2851)
            at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(JMenuBar.java:670)
            at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(JMenuBar.java:678)
            at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(JMenuBar.java:678)
            at javax.swing.JMenuBar.processKeyBinding(JMenuBar.java:649)
            at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:267)
            at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:254)
            at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2928)
            at javax.swing.SwingUtilities.processKeyBindings(SwingUtilities.java:1554)
            at javax.swing.UIManager$2.postProcessKeyEvent(UIManager.java:1454)
            at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:722)
            at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:990)
            at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:855)
            at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:676)
            at java.awt.Component.dispatchEventImpl(Component.java:4608)
            at java.awt.Container.dispatchEventImpl(Container.java:2143)
            at java.awt.Window.dispatchEventImpl(Window.java:2478)
            at java.awt.Component.dispatchEvent(Component.java:4566)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:680)
            at java.awt.EventQueue.access$000(EventQueue.java:86)PR.

    user5287726 wrote:
    Andrew Thompson wrote:
    Aardenon wrote:
    ..How can I write a program that can be competitive to Adobe Photoshop. ..Hire a team of programmers & analysts of the same general size as what Adobe assigns to Photoshop?
    .. Photoshop can handle 30000x30000 pixels (and remember, it can have multiple layers etc.). How to achieve that in Java? .. Increase the memory size assigned to the app. at start-up. No, wait.. those figures would suggest the image takes up 900 MPix, and given 4 bytes per pixel (RGBA) would increases that to around 3.6 Gb. Java has a hard limit around 2 Gb, AFAIR.
    Use a disk based store?If the OP is running a 64-bit OS, just use a 64-bit JVM. On a machine with a lot of RAM."My super duper Photoshop clone. Minimal system requirements: 64 bits CPU and 4gb of memory".
    Although I would laugh to see that happen, I would cry at the same time because people will of course blame such ridiculous practices on the fact that Java is used.

  • XML Publisher Report  - java.lang.OutOfMemoryError

    Hi All,
    Apps - 11.5.10.2
    XML Publisher - 5.6.3
    When the request being run for huge data, its getting out of momory error.
    We have already tried the below options
    Modified the teo profiles and 3 Fo processing properties in both the template and the data definition as follows as given in the notes 563181.1 and 563945.1
    Error in OPP logs
    [12/30/09 2:49:05 AM] [STATEMENT] [GSMServiceController:2921265] Getting next event...
    Exception: java.lang.OutOfMemoryError
    [12/30/09 2:49:46 AM] [java.lang.OutOfMemoryError
    [12/30/09 2:54:24 AM] [STATEMENT] [OPPServiceThread1] 1 threads running
    [12/30/09 2:55:18 AM] [java.lang.OutOfMemoryErrorjava.lang.OutOfMemoryError
    java.lang.OutOfMemoryError
    And finally the request ended in warning and the OPP got terminated.
    [java.io.tmpdir] - Has about 3 G of free space
    [APPLTMP] - Has more than 50G of free space
    Please advice.
    Thanks & Regards,
    Rakesh

    Hi Hussein,
    Reviewed those notes.... initially we got errors like
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:624)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:421)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:233)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:177)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
         at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1657)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:967)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5926)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3458)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3547)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    Caused by: java.lang.ThreadDeath
         at java.lang.Thread.stop(Thread.java:630)
         at oracle.apps.fnd.cp.opp.OPPRequestThreadManager.terminateThread(OPPRequestThreadManager.java:207)
         at oracle.apps.fnd.cp.opp.OPPTerminateCommand.execute(OPPTerminateCommand.java:45)
         at oracle.apps.fnd.cp.opp.OPPServiceThread.processMessage(OPPServiceThread.java:240)
         at oracle.apps.fnd.cp.opp.OPPServiceThread.waitForMessages(OPPServiceThread.java:227)
         at oracle.apps.fnd.cp.opp.OPPServiceThread.mainLoop(OPPServiceThread.java:128)
         at oracle.apps.fnd.cp.gsf.BaseServiceThread.run(BaseServiceThread.java:135)
    then....
    java.lang.ThreadDeath
    at java.lang.Thread.stop(Thread.java:630)
    at oracle.apps.fnd.cp.opp.OPPRequestThreadManager.terminateThread(OPPRequestThreadManager.java:207)
    at oracle.apps.fnd.cp.opp.OPPTerminateCommand.execute(OPPTerminateCommand.java:45)
    at oracle.apps.fnd.cp.opp.OPPServiceThread.processMessage(OPPServiceThread.java:240)
    at oracle.apps.fnd.cp.opp.OPPServiceThread.waitForMessages(OPPServiceThread.java:227)
    at oracle.apps.fnd.cp.opp.OPPServiceThread.mainLoop(OPPServiceThread.java:128)
    at oracle.apps.fnd.cp.gsf.BaseServiceThread.run(BaseServiceThread.java:135)
    then we have made these changes
    change the Profile option "Concurrent: OPP Process timeout" as 108000 and
    Use XML Publisher's XSLT processor: True
    Enable scalable feature of XSLT processor: False
    Enable XSLT runtime optimization: True
    now we are getting only a single line error in the opp log
    12/30/09 2:55:18 AM] java.lang.OutOfMemoryErrorjava.lang.OutOfMemoryError
    java.lang.OutOfMemoryError
    the request is running for more than 3.5 hrs and ending in warning.
    The concurrent manager has timed out waiting for the Output Post-processor to finish this request.
    Thansk & Regards,
    Rakesh

  • XML Publisher report ends in Warning with java.lang.OutOfMemoryError

    Hi,
    We are modifying the standard report Account Analysis Report (in Subledger Accounting) to create a custom report.
    When run wide open, it is ending in Warning with the error java.lang.OutOfMemoryError in OPP Log.
    We are on EBS 12.1.3. DB 11.2.0.3 and XML Publisher 5.6.3
    We have set the below parameters in the data definition:
    Use XML Publishers XSLT processor: True
    Enable Scalable feature of XSLT processor: True
    Enable XSLT Runtime optimization: True
    Also we have added these to the Data template:
      <property name="db_fetch_size" value="20" />
      <property name="scalable_mode" value="on" />
    On the concurrent program, we have this option set:
    -ms1024m -mx2048m
    Still, the program is ending in Warning and not producing output. Any pointers here?
    We can also see that the Temporary Directory is not able to be set on the data definition. Why is this?
    After setting the Temporary Directory from Administration page, we were able to set the temporary directory for this data definition, but that did not solve the iseue.

    Glad you have sorted this - note that the fnd_concurrent_requests table has the fields pp_Start_date and pp_end_date which will show how long post processing is taking.
    Good to a good idea to monitor this in relation to the setting you have made in the profile option Concurrent:OPP Timeout profile option though 3 hours should cover most things!!!!

  • How to get javahelp release install path?

    How to get javahelp release install path?
    currently usage their tool <MagicHelp>.
    magichelp is multi-user help authoring tool,
    currently Support Java help 1.0/2.0.
    Home:http://www.gethelpsoft.com

    @BalusC
    ust for a reference cause i'm new in JSP This has nothing to do with JSP, but with basic knowledge of an essential API. I have given you the link to the File API. Are you saying that you refused to read the API documentation, which clearly explains you how to use the File and shows which methods are all available to you undereach the straightforward getName() method, and expecting that the others may chew the answers for you? Loser.

  • Open hyperlinks in a web browser in JavaHelp

    Hi,
    I am developing a helpsystem using JavaHelp 1.1.3. The problem is that I am unable to open an external weblink (e.g. www.google.com) in a browser.
    When I try to open the weblink the application just hangs.
    Please let me know if there is a workaround.
    Regards
    Ravi

    The description for Javahelp 2.0 RC says this is because of the sandbox rules that apply within JavaHelp.
    You could try setting application policies for the JavaHelp jars/classes.
    hope this helps,
    Thomas Nagel

  • "java.lang.OutOfMemoryError: Java heap space"  while trying to read Excel.

    Hi Experts,
    Here is my query. I'm trying to upload excel data into database table. This excel contains more than 20000 records. I'm storing this data in a vector after reading it & passing this vector as a parameter to another method(not mentioned in the below code) which writes into the database. The code works for records <4000, but fails to read beyond that & throws exception as below.
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Java heap space
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:433)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    javax.servlet.ServletException: Java heap space
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
         org.apache.jsp.readexcelsap_jsp._jspService(readexcelsap_jsp.java:365)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    root cause
    java.lang.OutOfMemoryError: Java heap space
    Below is the code for reference. Kindly Help me in getting this heap space error rectified or suggest me alternate ways.
    I tried increasing Heap space as googled but in vain.
    <%!
    private Vector readExcelSheet(String uploadedFilePath, int sheetNo) throws IOException
         Vector allRowInfo = null;
            try
                HSSFSheet sheet= getWorkSheet(uploadedFilePath,sheetNo);
                //System.out.println(uploadedFilePath);
                //System.out.println(sheetNo);
                //System.out.println("--Sheet--"+sheet);
                //System.out.println("--Sheet--"+sheet.getLastRowNum());
                if(sheet!=null)
                allRowInfo = new Vector();
                for(int i=0;i<=sheet.getLastRowNum();i++)
                    HSSFRow row= sheet.getRow(i);
                    Vector eachRowInfo = new Vector();
                    for(short j=0;j<row.getLastCellNum();j++)
                        eachRowInfo.add(getCellContents(row.getCell(j)));
                        //System.out.println("--"+row.getCell(j));
                    allRowInfo.add(eachRowInfo);
                else
                     allRowInfo = null;
                //return allRowInfo;
            catch (FileNotFoundException ex)
                 System.out.println("-- Error in reading--getWorkSheet -- 1--"+ex);
                 allRowInfo = null;
            catch (IOException ex)
                 System.out.println("-- Error in reading--getWorkSheet-- 2 --"+ex);
                 allRowInfo = null;
            catch (IndexOutOfBoundsException ex)
                 System.out.println("-- Error in reading--getWorkSheet-- 2 --"+ex);
                 allRowInfo = null;
            catch (NullPointerException ex)
                 System.out.println("-- Error in reading--getWorkSheet --"+ex);
                 allRowInfo = null;
            catch(Exception e)
                System.out.println(e.getMessage());
                e.printStackTrace();
                 allRowInfo = null;
            return allRowInfo;
    %>
    <%!
    private HSSFSheet getWorkSheet(String uploadedFilePath, int sheetNo) throws IOException
            HSSFSheet sheet = null;
            try
                FileInputStream inputStream=new FileInputStream(uploadedFilePath);
                POIFSFileSystem poisFile=new POIFSFileSystem(inputStream);
                HSSFWorkbook workBook= new HSSFWorkbook(poisFile);
                sheet = workBook.getSheetAt(sheetNo);
            catch (FileNotFoundException ex)
                 System.out.println("-- Error in reading--getWorkSheet --"+ex);
                 sheet = null;
            catch (IOException ex)
                 System.out.println("-- Error in reading--getWorkSheet --"+ex);
                 sheet = null;
            catch (IndexOutOfBoundsException ex)
                 System.out.println("-- Error in reading--getWorkSheet --"+ex);
                 sheet = null;
            catch (NullPointerException ex)
                 System.out.println("-- Error in reading--getWorkSheet --"+ex);
                 sheet = null;
            catch(Exception e)
                System.out.println(e.getMessage());
                e.printStackTrace();
                sheet = null;
             return sheet;
    %>
    <%!
    public String getCellContents(HSSFCell cell)
            String cellValue="";
            String cellValue1="";
            if(cell!=null)
                 int cellType= cell.getCellType();
                if(cellType==HSSFCell.CELL_TYPE_NUMERIC)
                    cellValue=(float)cell.getNumericCellValue()+"";           
                if(cellType==HSSFCell.CELL_TYPE_STRING)
                     cellValue1=cell.getStringCellValue();
                     StringBuffer sb = new StringBuffer();
                     for(int i = 0; i < cellValue1.length(); i++)
                            sb.append(cellValue1.charAt(i));
                         if(cellValue1.charAt(i)=='\'')
                              sb.append('\'');
                     cellValue = sb.toString();
           return cellValue;
    %>
    <html>
    <body>
    <%
         String file_Name="Myexcel.xls";
         String path = "D://Test Upload//"+file_Name;
         Vector list = readExcelSheet(path,0);
    </html>
    </body>Regards
    Venky
    Edited by: Venky_86 on Jun 17, 2009 6:05 AM

    HOW did you increase the heap space? As that is the only solution you have in this case really.
    It is a known fact that POI can use up a lot of memory for big spreadsheets. If at all possible, I would try to switch to plain text comma separated files / tab delimited files. If you cannot do that, I would try to put a size restriction on the sheets that your application will process to get rid of the heap space risk. A sheet can contain 20000 records, or four sheets can contain 5000 records; in both cases you process the exact same data, but at only 25% of the total memory usage.

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

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

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

  • Java heap space error: OutOfMemoryError

    Hi,
    We are getting below error when we XML Publisher report.
    Oracle XML Publisher version is: 5.6.3
    We have followed below things to get rid off this error but there is no success.
    Log in as XML Publisher Administrator.
    Select Templates, then query up the Template for your report.
    Select Edit Configuration:
    Under FO Processing
    Use XML Publisher's XSLT processor set to True
    Enable scalable feature of XSLT processor set to True
    Enable XSLT runtime optimization set to True.
    Set the JVM Heap size using following SQL query
    SQL> update FND_CP_SERVICES
    set DEVELOPER_PARAMETERS =
    'J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx2048m'
    where SERVICE_ID =
    (select MANAGER_TYPE
    from FND_CONCURRENT_QUEUES
    where CONCURRENT_QUEUE_NAME = 'FNDCPOPP');
    Set the following properties from XML Publisher Administration
    Responsibility=>Administration UI
    General => Temporary directory => \tmp
    directory tmp has full read and write access
    After above steps performed, bounced CM but still getting below error.
    Please provide your valuable suggestions or work arounds on this issue.
    Complete error is as below:
    [122613_114019363][][EXCEPTION] [DEBUG]  [sun.cpu.endian]:[little]
    [122613_114019363][][EXCEPTION] [DEBUG]  [sun.cpu.isalist]:[]
    --XDOException
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:677)
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:425)
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:244)
    at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:182)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1044)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:997)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:212)
    at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1665)
    at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:975)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5936)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3459)
    at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3548)
    at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:684)
    at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Caused by: java.lang.OutOfMemoryError: Java heap space
    at java.util.Arrays.copyOf(Arrays.java:2882)
    at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
    at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)
    at java.lang.StringBuffer.append(StringBuffer.java:224)
    at oracle.xdo.parser.v2.XMLNSNode.getText(XMLNSNode.java:741)
    at oracle.xdo.parser.v2.XMLNSNode.getText(XMLNSNode.java:739)
    at oracle.xdo.parser.v2.XMLNSNode.getText(XMLNSNode.java:739)
    at oracle.xdo.parser.v2.XSLExprItem.getStringValue(XSLExprItem.java:318)
    at oracle.xdo.parser.v2.XSLExprItem.compareVal(XSLExprItem.java:445)
    at oracle.xdo.parser.v2.XSLExprValue.compare(XSLExprValue.java:881)
    at oracle.xdo.parser.v2.ComparisonExpr.evaluate(XSLExpr.java:1469)
    at oracle.xdo.parser.v2.XSLCondition.testCondition(XSLCondition.java:185)
    at oracle.xdo.parser.v2.XSLCondition.processAction(XSLCondition.java:165)
    at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
    at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
    at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
    at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xdo.parser.v2.XSLResultElement.processAction(XSLResultElement.java:180)
    at oracle.xdo.parser.v2.XSLNode.processChildren(XSLNode.java:417)
    at oracle.xdo.parser.v2.XSLTemplate.processAction(XSLTemplate.java:191)
    at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:512)
    at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)
    at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:271)
    at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:155)
    at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:192)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)

    1. Have you tried also with 'mx1024m' ?
    2. Have you run CMCLEAN ?
    3. What are these profiles set to:
    Concurrent:OPP Process Timeout
    Concurrent:OPP Response Timeout    
    Thank you
    Eugen

  • OutOfMemoryError when running Oracle BPM Enterprise's Configuration Wizard

    Hi,
    I was trying to configure Oracle BPM Enterprise via Oracle BPM Admin Center. I left most of the settings to their respective default values; only adding in passwords for the Directory, Engine, etc. However an error was encountered when it is trying to deploy the '01-eng-bpmengine' EAR file. A 'OutOfMemoryError: Java heap space' was logged after running the configuration for a while. Below is the full error log:
    AdmCenterConsole.log
    FuegoLauncher.main()
    fix classpath: C:\OraBPMwlHome\bin;C:\OraBPMwlHome\bin\lax.jar;
    new classpath: C:\OraBPMwlHome\bin\lax.jar;FuegoLauncher.main() - 2
    arg[0] = C:\OraBPMwlHome\bin\obpmadmcenter.properties
    StreamLogOutput: No log file specified in property 'fuego.log.admcenter.file'.
    Defaulting to System.err.
    [<I> 03/03/09 20:54:12]
    [<I> 03/03/09 20:54:12] CLASSPATH=C:\bea\patch_wlw1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Java\JDK16~1.0_1\lib\tools.jar;C:\bea\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\bea\WLSERV~1.3\server\lib\weblogic.jar;C:\bea\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\bea\WLSERV~1.3\server\lib\webservices.jar;C:\bea\modules\ORGAPA~1.5/lib/ant-all.jar;C:\bea\modules\NETSFA~1.0_1/lib/ant-contrib.jar;
    [<I> 03/03/09 20:54:12]
    [<I> 03/03/09 20:54:12] PATH=C:\bea\patch_wlw1030\profiles\default\native;C:\bea\patch_wls1030\profiles\default\native;C:\bea\patch_cie660\profiles\default\native;C:\bea\WLSERV~1.3\server\native\win\32;C:\bea\WLSERV~1.3\server\bin;C:\bea\modules\ORGAPA~1.5\bin;C:\Java\JDK16~1.0_1\jre\bin;C:\Java\JDK16~1.0_1\bin;C:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;C:\Java\jdk1.6.0_10\bin;C:\apache-ant-1.6.5\bin;C:\bea\WLSERV~1.3\server\native\win\32\oci920_8
    [<I> 03/03/09 20:54:12]
    [<I> 03/03/09 20:54:12] Your environment has been set.
    [<I> 03/03/09 20:54:12]
    [<I> 03/03/09 20:54:12] CLASSPATH=C:\bea\patch_wlw1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea\patch_wls1030\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\bea\patch_cie660\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Java\JDK16~1.0_1\lib\tools.jar;C:\bea\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\bea\WLSERV~1.3\server\lib\weblogic.jar;C:\bea\modules\features\weblogic.server.modules_10.3.0.0.jar;C:\bea\WLSERV~1.3\server\lib\webservices.jar;C:\bea\modules\ORGAPA~1.5/lib/ant-all.jar;C:\bea\modules\NETSFA~1.0_1/lib/ant-contrib.jar;;C:\bea\WLSERV~1.3\common\eval\pointbase\lib\pbembedded57.jar;C:\bea\WLSERV~1.3\common\eval\pointbase\lib\pbtools57.jar;C:\bea\WLSERV~1.3\common\eval\pointbase\lib\pbclient57.jar
    [<I> 03/03/09 20:54:13]
    [<I> 03/03/09 20:54:13] Initializing WebLogic Scripting Tool (WLST) ...
    [<I> 03/03/09 20:54:13]
    [<I> 03/03/09 20:54:19] Welcome to WebLogic Server Administration Scripting Shell
    [<I> 03/03/09 20:54:19]
    [<I> 03/03/09 20:54:19] Type help() for help on available commands
    [<I> 03/03/09 20:54:19]
    [<I> 03/03/09 20:54:19] t3://SN-06-SHENGYUEN:7001
    [<I> 03/03/09 20:54:20] Connecting to t3://SN-06-SHENGYUEN:7001 with userid weblogic ...
    [<I> 03/03/09 20:54:22] Successfully connected to Admin Server 'AdminServer' that belongs to domain 'oft'.
    [<I> 03/03/09 20:54:22]
    [<I> 03/03/09 20:54:22] Warning: An insecure protocol was used to connect to the
    [<I> 03/03/09 20:54:22] server. To ensure on-the-wire security, the SSL port or
    [<I> 03/03/09 20:54:22] Admin port should be used instead.
    [<I> 03/03/09 20:54:22]
    [<I> 03/03/09 20:54:22] Location changed to edit tree. This is a writable tree with
    [<I> 03/03/09 20:54:22] DomainMBean as the root. To make changes you will need to start
    [<I> 03/03/09 20:54:22] an edit session via startEdit().
    [<I> 03/03/09 20:54:22]
    [<I> 03/03/09 20:54:22] For more help, use help(edit)
    [<I> 03/03/09 20:54:22]
    [<I> 03/03/09 20:54:22] Starting an edit session ...
    [<I> 03/03/09 20:54:22] Started edit session, please be sure to save and activate your
    [<I> 03/03/09 20:54:22] changes once you are done.
    [<I> 03/03/09 20:54:22] creating mbean of type JMSServer ...
    [<I> 03/03/09 20:54:22] creating mbean of type JMSSystemResource ...
    [<I> 03/03/09 20:54:22] creating mbean of type SubDeployment ...
    [<I> 03/03/09 20:54:22] creating mbean of type Queue ...
    [<I> 03/03/09 20:54:22] creating mbean of type Topic ...
    [<I> 03/03/09 20:54:22] creating mbean of type ConnectionFactory ...
    [<I> 03/03/09 20:54:22] creating mbean of type ConnectionFactory ...
    [<I> 03/03/09 20:54:22] creating mbean of type JDBCSystemResource ...
    [<I> 03/03/09 20:54:22] creating mbean of type Property ...
    [<I> 03/03/09 20:54:22] creating mbean of type Property ...
    [<I> 03/03/09 20:54:22] creating mbean of type Property ...
    [<I> 03/03/09 20:54:22] creating mbean of type Property ...
    [<I> 03/03/09 20:54:22] creating mbean of type JDBCSystemResource ...
    [<I> 03/03/09 20:54:22] creating mbean of type Property ...
    [<I> 03/03/09 20:54:22] creating mbean of type Property ...
    [<I> 03/03/09 20:54:22] creating mbean of type Property ...
    [<I> 03/03/09 20:54:22] creating mbean of type Property ...
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JMSServer
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JMSSystemResource
    [<I> 03/03/09 20:54:22] setting attributes for mbean type SubDeployment
    [<I> 03/03/09 20:54:22] setting attributes for mbean type Queue
    [<I> 03/03/09 20:54:22] setting attributes for mbean type Topic
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JMSConnectionFactory
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JMSConnectionFactory
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCSystemResource
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCProperty
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCProperty
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCProperty
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCProperty
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCConnectionPoolParams
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCDriverParams
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCDataSource
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCDataSource
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCXAParams
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCDataSourceParams
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCConnectionPoolParams
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCDriverParams
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCDataSourceParams
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCSystemResource
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCProperty
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCProperty
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCProperty
    [<I> 03/03/09 20:54:22] setting attributes for mbean type JDBCProperty
    [<I> 03/03/09 20:54:22] Saving all your changes ...
    [<I> 03/03/09 20:54:22] Saved all your changes successfully.
    [<I> 03/03/09 20:54:22] Your edit session is not stopped, you can continue your edits.
    [<I> 03/03/09 20:54:22] Activating all your changes, this may take a while ...
    [<I> 03/03/09 20:54:22] The edit lock associated with this edit session is released
    [<I> 03/03/09 20:54:22] once the activation is completed.
    [<I> 03/03/09 20:54:23] Activation completed
    [<I> 03/03/09 20:54:23] Creating a user ...
    [<I> 03/03/09 20:54:23]
    [<I> 03/03/09 20:54:23] User already exist
    [<I> 03/03/09 20:54:23] Deploying application from C:\OraBPMwlHome\j2ee\weblogic\deployer\wlj2eedeployer.ear to targets AdminServer (upload=true) ...
    [<I> 03/03/09 20:54:23] <Mar 3, 2009 8:54:23 PM SGT> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, wlj2eedeployer [archive: C:\OraBPMwlHome\j2ee\weblogic\deployer\wlj2eedeployer.ear], to AdminServer .>
    [<I> 03/03/09 20:54:27] .Completed the deployment of Application with status completed
    [<I> 03/03/09 20:54:27] Current Status of your Deployment:
    [<I> 03/03/09 20:54:27] Deployment command type: deploy
    [<I> 03/03/09 20:54:27] Deployment State : completed
    [<I> 03/03/09 20:54:27] Deployment Message : no message
    [<I> 03/03/09 20:54:27] Deploying application from C:\OraBPMwlHome\ears\engine\01-eng-bpmengine.ear to targets AdminServer (upload=true) ...
    [<I> 03/03/09 20:54:27] <Mar 3, 2009 8:54:27 PM SGT> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, 01-eng-bpmengine [archive: C:\OraBPMwlHome\ears\engine\01-eng-bpmengine.ear], to AdminServer .>
    [<I> 03/03/09 20:54:43] Failed to deploy the application with status failed
    [<I> 03/03/09 20:54:43] Current Status of your Deployment:
    [<I> 03/03/09 20:54:43] Deployment command type: deploy
    [<I> 03/03/09 20:54:43] Deployment State : failed
    [<I> 03/03/09 20:54:43] Deployment Message : java.lang.OutOfMemoryError: Java heap space
    [<I> 03/03/09 20:54:43] weblogic.management.scripting.ScriptException: Error occured while performing deploy : Deployment Failed.
    [<I> 03/03/09 20:54:43]      at weblogic.management.scripting.ExceptionHandler.handleException(ExceptionHandler.java:48)
    [<I> 03/03/09 20:54:43]      at weblogic.management.scripting.WLSTUtils.throwWLSTException(WLSTUtils.java:185)
    [<I> 03/03/09 20:54:43]      at weblogic.management.scripting.JSR88DeployHandler.deploy(JSR88DeployHandler.java:536)
    [<I> 03/03/09 20:54:43]      at weblogic.management.scripting.WLScriptContext.deploy(WLScriptContext.java:429)
    [<I> 03/03/09 20:54:43]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [<I> 03/03/09 20:54:43] No stack trace available.
    [<I> 03/03/09 20:54:43] This Exception occurred at Tue Mar 03 20:54:43 SGT 2009.
    [<I> 03/03/09 20:54:43]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [<I> 03/03/09 20:54:43]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [<I> 03/03/09 20:54:43]      at java.lang.reflect.Method.invoke(Method.java:597)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyMethod.__call__(PyMethod.java:96)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyObject.__call__(PyObject.java:248)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyObject.invoke(PyObject.java:2016)
    [<I> 03/03/09 20:54:43]      at org.python.pycode._pyx17.deploy$8(<iostream>:223)
    [<I> 03/03/09 20:54:43]      at org.python.pycode._pyx17.call_function(<iostream>)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyTableCode.call(PyTableCode.java:208)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyTableCode.call(PyTableCode.java:404)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyFunction.__call__(PyFunction.java:184)
    [<I> 03/03/09 20:54:43]      at org.python.pycode._pyx16.deploy_Applications$61(C:\Documents and Settings\shengyuen\.configWizard\tmp\config.py:623)
    [<I> 03/03/09 20:54:43]      at org.python.pycode._pyx16.call_function(C:\Documents and Settings\shengyuen\.configWizard\tmp\config.py)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyTableCode.call(PyTableCode.java:208)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyTableCode.call(PyTableCode.java:256)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyFunction.__call__(PyFunction.java:169)
    [<I> 03/03/09 20:54:43]      at org.python.pycode._pyx16.f$0(C:\Documents and Settings\shengyuen\.configWizard\tmp\config.py:738)
    [<I> 03/03/09 20:54:43]      at org.python.pycode._pyx16.call_function(C:\Documents and Settings\shengyuen\.configWizard\tmp\config.py)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyTableCode.call(PyTableCode.java:208)
    [<I> 03/03/09 20:54:43]      at org.python.core.PyCode.call(PyCode.java:14)
    [<I> 03/03/09 20:54:43]      at org.python.core.Py.runCode(Py.java:1135)
    [<I> 03/03/09 20:54:43]      at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:167)
    [<I> 03/03/09 20:54:43]
    [<I> 03/03/09 20:54:43] Exiting WebLogic Scripting Tool.
    [<I> 03/03/09 20:54:43]
    [<I> 03/03/09 20:54:43]
    [<I> 03/03/09 20:54:43]      at weblogic.management.scripting.WLST.main(WLST.java:129)
    [<I> 03/03/09 20:54:43]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [<I> 03/03/09 20:54:43]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [<I> 03/03/09 20:54:43]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [<I> 03/03/09 20:54:43]      at java.lang.reflect.Method.invoke(Method.java:597)
    [<I> 03/03/09 20:54:43]      at weblogic.WLST.main(WLST.java:29)
    [<I> 03/03/09 20:54:43] <Mar 3, 2009 8:54:43 PM SGT> <Warning> <JNDI> <BEA-050001> <WLContext.close() was called in a different thread than the one in which it was created.>
    Is there any way that I can increase the heap size of the Configuration Wizard? If not, is there any solution to this problem?

    Hi,
    It seems to be a Weblogic OOM (OutOfMemory).
    Why don't you try increasing the weblogic memory (you have to modify your domain scripts)
    I guess that after increasing your WLS domain memory settings you will be able to configure it using the config wizard.
    Hope this helps,
    Ariel

  • Java.lang.OutOfMemoryError: requested 2904104 bytes for Chunk::new. Out of swap space?

    Can someone help me with this error?  At random times the application crashes and I get this error. 
    # An unexpected error has been detected by Java Runtime Environment:
    # java.lang.OutOfMemoryError: requested 2904104 bytes for Chunk::new. Out of swap space?
    #  Internal Error (allocation.cpp:218), pid=1904, tid=3532
    #  Error: Chunk::new
    # Java VM: Java HotSpot(TM) Server VM (10.0-b19 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 (0x003ec800):  GCTaskThread [stack: 0x675c0000,0x676c0000] [id=3532]
    Stack: [0x675c0000,0x676c0000]
    [error occurred during error reporting (printing stack bounds), id 0xc0000005]
    ---------------  P R O C E S S  ---------------
    Java Threads: ( => current thread )
      0x6a0cb400 JavaThread "Thread-1968" daemon [_thread_in_native, id=6032, stack(0x7fdf0000,0x7fef0000)]
      0x6a0db400 JavaThread "Thread-1967" daemon [_thread_in_native, id=5188, stack(0x7fcf0000,0x7fdf0000)]
      0x6a113400 JavaThread "Thread-1966" daemon [_thread_in_native, id=3000, stack(0x7fbf0000,0x7fcf0000)]
      0x6a11b400 JavaThread "Thread-1965" daemon [_thread_in_native, id=4460, stack(0x7faf0000,0x7fbf0000)]
      0x6a150400 JavaThread "Thread-1964" daemon [_thread_in_native, id=5068, stack(0x7f9f0000,0x7faf0000)]
      0x78522400 JavaThread "Thread-1963" daemon [_thread_in_native, id=3572, stack(0x7f8f0000,0x7f9f0000)]
      0x6e949400 JavaThread "Thread-1962" daemon [_thread_in_native, id=3368, stack(0x7f7f0000,0x7f8f0000)]
      0x6e483400 JavaThread "Thread-1961" daemon [_thread_in_native, id=2172, stack(0x7f580000,0x7f680000)]
      0x73b40400 JavaThread "Thread-1960" daemon [_thread_in_native, id=5684, stack(0x7f480000,0x7f580000)]
      0x6f8ae400 JavaThread "Thread-1959" daemon [_thread_in_native, id=4828, stack(0x7f380000,0x7f480000)]
      0x6e7ec400 JavaThread "Thread-1958" daemon [_thread_in_native, id=5912, stack(0x7f280000,0x7f380000)]
      0x6f1a0400 JavaThread "Thread-1957" daemon [_thread_in_native, id=6100, stack(0x7f180000,0x7f280000)]
      0x6fa8e400 JavaThread "Thread-1956" daemon [_thread_in_native, id=5428, stack(0x7f080000,0x7f180000)]
      0x6fa76400 JavaThread "Thread-1955" daemon [_thread_in_native, id=3496, stack(0x7ef80000,0x7f080000)]
      0x6f369400 JavaThread "Thread-1954" daemon [_thread_in_native, id=3516, stack(0x7ee80000,0x7ef80000)]
      0x69c5a400 JavaThread "Thread-1953" daemon [_thread_in_native, id=4120, stack(0x7ed80000,0x7ee80000)]
      0x6a064400 JavaThread "Thread-1952" daemon [_thread_in_native, id=5864, stack(0x7ec80000,0x7ed80000)]
      0x6f526400 JavaThread "Thread-1951" daemon [_thread_in_native, id=5968, stack(0x7eb80000,0x7ec80000)]
      0x780d2400 JavaThread "Thread-1950" daemon [_thread_in_native, id=900, stack(0x7ea80000,0x7eb80000)]
      0x6fabe400 JavaThread "Thread-1949" daemon [_thread_in_native, id=3480, stack(0x7e980000,0x7ea80000)]
      0x6f8f6400 JavaThread "Thread-1948" daemon [_thread_in_native, id=4740, stack(0x7e880000,0x7e980000)]
      0x6f6a3400 JavaThread "Thread-1947" daemon [_thread_in_native, id=1188, stack(0x7e780000,0x7e880000)]
      0x6f3b1400 JavaThread "Thread-1946" daemon [_thread_in_native, id=3340, stack(0x7e680000,0x7e780000)]
      0x6f1e8400 JavaThread "Thread-1945" daemon [_thread_in_native, id=4100, stack(0x7e580000,0x7e680000)]
      0x6ed6e400 JavaThread "Thread-1944" daemon [_thread_in_native, id=3172, stack(0x7e480000,0x7e580000)]
      0x6f2ed400 JavaThread "Thread-1943" daemon [_thread_in_native, id=1860, stack(0x7e380000,0x7e480000)]
      0x6fd0d400 JavaThread "Thread-1942" daemon [_thread_in_native, id=3432, stack(0x7e280000,0x7e380000)]
      0x78042400 JavaThread "Thread-1941" daemon [_thread_in_native, id=5040, stack(0x7e180000,0x7e280000)]
      0x6a32c400 JavaThread "Thread-1940" daemon [_thread_in_native, id=1828, stack(0x7e080000,0x7e180000)]
      0x6a162400 JavaThread "Thread-1939" daemon [_thread_in_native, id=3740, stack(0x7df80000,0x7e080000)]
      0x69df6400 JavaThread "Thread-1938" daemon [_thread_in_native, id=2544, stack(0x7de80000,0x7df80000)]
      0x6eebb400 JavaThread "Thread-1937" daemon [_thread_in_native, id=2032, stack(0x7dd80000,0x7de80000)]
      0x6a3d3400 JavaThread "Thread-1936" daemon [_thread_in_native, id=5240, stack(0x7dc80000,0x7dd80000)]
      0x69de9400 JavaThread "Thread-1935" daemon [_thread_in_native, id=1072, stack(0x7db80000,0x7dc80000)]
      0x6ef9c400 JavaThread "Thread-1934" daemon [_thread_in_native, id=4088, stack(0x7da80000,0x7db80000)]
      0x69cf8400 JavaThread "Thread-1933" daemon [_thread_in_native, id=2996, stack(0x7d980000,0x7da80000)]
      0x69edf400 JavaThread "Thread-1932" daemon [_thread_in_native, id=2752, stack(0x7d880000,0x7d980000)]
      0x6e352400 JavaThread "Thread-1931" daemon [_thread_in_native, id=976, stack(0x7d780000,0x7d880000)]
      0x69c25400 JavaThread "Thread-1930" daemon [_thread_in_native, id=2472, stack(0x7d680000,0x7d780000)]
      0x6e70f400 JavaThread "Thread-1929" daemon [_thread_in_native, id=2000, stack(0x7d580000,0x7d680000)]
      0x7944d400 JavaThread "Thread-1928" daemon [_thread_in_native, id=2444, stack(0x7d480000,0x7d580000)]
      0x69d5b400 JavaThread "Thread-1927" daemon [_thread_in_native, id=2516, stack(0x7d380000,0x7d480000)]
      0x69fc9400 JavaThread "Thread-1926" daemon [_thread_in_native, id=3856, stack(0x7d280000,0x7d380000)]
      0x69fd2400 JavaThread "Thread-1925" daemon [_thread_in_native, id=304, stack(0x7c6c0000,0x7c7c0000)]
      0x6f93e400 JavaThread "Thread-1924" daemon [_thread_in_native, id=4320, stack(0x7c5c0000,0x7c6c0000)]
      0x6f986400 JavaThread "Thread-1923" daemon [_thread_in_native, id=3896, stack(0x7c4c0000,0x7c5c0000)]
      0x6f733400 JavaThread "Thread-1922" daemon [_thread_in_native, id=4468, stack(0x7c3c0000,0x7c4c0000)]
      0x6f02c400 JavaThread "Thread-1921" daemon [_thread_in_native, id=3372, stack(0x7c250000,0x7c350000)]
      0x6ef03400 JavaThread "Thread-1920" daemon [_thread_in_native, id=3408, stack(0x7c150000,0x7c250000)]
      0x6fb06400 JavaThread "Thread-1919" daemon [_thread_in_native, id=5936, stack(0x7c050000,0x7c150000)]
      0x6a020400 JavaThread "Thread-1918" daemon [_thread_in_native, id=5504, stack(0x7bf50000,0x7c050000)]
      0x6f3f9400 JavaThread "Thread-1917" daemon [_thread_in_native, id=3544, stack(0x779b0000,0x77ab0000)]
      0x6f230400 JavaThread "Thread-1916" daemon [_thread_in_native, id=6084, stack(0x778b0000,0x779b0000)]
      0x6fd55400 JavaThread "Thread-1915" daemon [_thread_in_native, id=5404, stack(0x77530000,0x77630000)]
      0x69f73400 JavaThread "Thread-1914" daemon [_thread_in_native, id=3848, stack(0x77190000,0x77290000)]
      0x6f6eb400 JavaThread "Thread-1913" daemon [_thread_in_native, id=312, stack(0x77090000,0x77190000)]
      0x6f56e400 JavaThread "Thread-1912" daemon [_thread_in_native, id=2088, stack(0x76f90000,0x77090000)]
      0x6efe4400 JavaThread "Thread-1911" daemon [_thread_in_native, id=316, stack(0x76d80000,0x76e80000)]
      0x7808a400 JavaThread "Thread-1910" daemon [_thread_in_native, id=3192, stack(0x76c80000,0x76d80000)]
      0x69f24400 JavaThread "Thread-1909" daemon [_thread_in_native, id=5500, stack(0x76b80000,0x76c80000)]
      0x69e32400 JavaThread "Thread-1908" daemon [_thread_in_native, id=4204, stack(0x768b0000,0x769b0000)]
      0x6a34e400 JavaThread "Thread-1907" daemon [_thread_in_native, id=5752, stack(0x767b0000,0x768b0000)]
      0x69d74400 JavaThread "Thread-1906" daemon [_thread_in_native, id=2264, stack(0x766b0000,0x767b0000)]
      0x6fbf6400 JavaThread "Thread-1905" daemon [_thread_in_native, id=3600, stack(0x765b0000,0x766b0000)]
      0x6f9b7400 JavaThread "Thread-1904" daemon [_thread_in_native, id=484, stack(0x764b0000,0x765b0000)]
      0x69eb6400 JavaThread "Thread-1903" daemon [_thread_in_native, id=4752, stack(0x763b0000,0x764b0000)]
      0x69de4400 JavaThread "Thread-1902" daemon [_thread_in_native, id=4868, stack(0x762b0000,0x763b0000)]
      0x69d4b400 JavaThread "Thread-1901" daemon [_thread_in_native, id=3300, stack(0x76040000,0x76140000)]
      0x69fa3000 JavaThread "Thread-1900" daemon [_thread_in_native, id=328, stack(0x75f40000,0x76040000)]
      0x6b1c9800 JavaThread "Thread-1899" daemon [_thread_in_native, id=2104, stack(0x75e40000,0x75f40000)]
      0x6a016400 JavaThread "Thread-1898" daemon [_thread_in_native, id=5080, stack(0x75d40000,0x75e40000)]
      0x69f79400 JavaThread "Thread-1897" daemon [_thread_in_native, id=4980, stack(0x75c40000,0x75d40000)]
      0x69de5000 JavaThread "Thread-1896" daemon [_thread_in_native, id=4684, stack(0x75b40000,0x75c40000)]
      0x69ee0400 JavaThread "Thread-1895" daemon [_thread_in_native, id=3648, stack(0x739b0000,0x73ab0000)]
      0x6a1ab400 JavaThread "Thread-1894" daemon [_thread_in_native, id=3140, stack(0x738b0000,0x739b0000)]
      0x69e3ec00 JavaThread "Thread-1893" daemon [_thread_in_native, id=928, stack(0x736a0000,0x737a0000)]
      0x785c9c00 JavaThread "Thread-1892" daemon [_thread_in_native, id=1800, stack(0x735a0000,0x736a0000)]
      0x785c9400 JavaThread "Thread-1891" daemon [_thread_in_native, id=2748, stack(0x734a0000,0x735a0000)]
      0x78b5d800 JavaThread "Thread-1890" daemon [_thread_in_native, id=2564, stack(0x733a0000,0x734a0000)]
      0x6e83b800 JavaThread "Thread-1889" daemon [_thread_in_native, id=5772, stack(0x732a0000,0x733a0000)]
      0x6aa8ac00 JavaThread "Thread-1888" daemon [_thread_in_native, id=4548, stack(0x731a0000,0x732a0000)]
      0x6b2b0800 JavaThread "Thread-1805" daemon [_thread_in_native, id=3308, stack(0x72220000,0x72320000)]
      0x69ec9c00 JavaThread "jrpp-45" [_thread_in_native, id=1956, stack(0x6cdc0000,0x6cec0000)]
      0x6e178c00 JavaThread "jrpp-44" [_thread_in_native, id=4064, stack(0x69200000,0x69300000)]
      0x6a831c00 JavaThread "jrpp-43" [_thread_in_native, id=3924, stack(0x730a0000,0x731a0000)]
      0x6ad81400 JavaThread "jrpp-41" [_thread_blocked, id=1848, stack(0x6cf20000,0x6d020000)]
      0x69cf7c00 JavaThread "jrpp-40" [_thread_in_native, id=248, stack(0x729b0000,0x72ab0000)]
      0x6b0af800 JavaThread "jrpp-39" [_thread_in_native, id=1584, stack(0x70b80000,0x70c80000)]
      0x69dda800 JavaThread "jrpp-38" [_thread_in_native, id=3492, stack(0x72cb0000,0x72db0000)]
      0x685b8800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3696, stack(0x72ab0000,0x72bb0000)]
      0x6859cc00 JavaThread "jrpp-34" [_thread_in_native, id=5704, stack(0x72bb0000,0x72cb0000)]
      0x6eb7a400 JavaThread "scheduler-21" [_thread_blocked, id=2540, stack(0x728b0000,0x729b0000)]
      0x6b1c4400 JavaThread "jrpp-15" [_thread_in_native, id=6076, stack(0x72420000,0x72520000)]
      0x681b7c00 JavaThread "scheduler-3" [_thread_blocked, id=2064, stack(0x687b0000,0x688b0000)]
      0x6e894800 JavaThread "scheduler-2" [_thread_blocked, id=2216, stack(0x6d870000,0x6d970000)]
      0x6a323c00 JavaThread "SocketTimeout" daemon [_thread_blocked, id=4432, stack(0x727b0000,0x728b0000)]
      0x68165c00 JavaThread "scheduler-1" [_thread_blocked, id=3084, stack(0x70c80000,0x70d80000)]
      0x6a7de400 JavaThread "MySQL Statement Cancellation Timer" daemon [_thread_blocked, id=5724, stack(0x72120000,0x72220000)]
      0x003e6400 JavaThread "DestroyJavaVM" [_thread_blocked, id=980, stack(0x00030000,0x00130000)]
      0x6856e400 JavaThread "Timer-3" daemon [_thread_blocked, id=4992, stack(0x70a80000,0x70b80000)]
      0x685a2400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1924, stack(0x72020000,0x72120000)]
      0x6a3f4c00 JavaThread "worker #4" daemon [_thread_blocked, id=332, stack(0x71f20000,0x72020000)]
      0x69ca0400 JavaThread "worker #3" daemon [_thread_blocked, id=5824, stack(0x71e20000,0x71f20000)]
      0x6dee9c00 JavaThread "worker #2" daemon [_thread_blocked, id=3732, stack(0x71d20000,0x71e20000)]
      0x68355400 JavaThread "worker #1" daemon [_thread_blocked, id=5104, stack(0x71c20000,0x71d20000)]
      0x6a1a8c00 JavaThread "worker #0" daemon [_thread_blocked, id=5932, stack(0x719b0000,0x71ab0000)]
      0x6aae0400 JavaThread "ServerThread" daemon [_thread_in_native, id=2504, stack(0x71780000,0x71880000)]
      0x6a223400 JavaThread "Thread-23" [_thread_blocked, id=3204, stack(0x71680000,0x71780000)]
      0x6a222800 JavaThread "Thread-22" [_thread_blocked, id=5164, stack(0x71580000,0x71680000)]
      0x69d65000 JavaThread "Thread-21" [_thread_blocked, id=3624, stack(0x71480000,0x71580000)]
      0x69d64400 JavaThread "Thread-20" [_thread_blocked, id=2480, stack(0x71380000,0x71480000)]
      0x68580000 JavaThread "Thread-19" [_thread_blocked, id=5984, stack(0x71280000,0x71380000)]
      0x69cbf400 JavaThread "Thread-18" [_thread_blocked, id=5064, stack(0x71180000,0x71280000)]
      0x68626800 JavaThread "Thread-17" [_thread_blocked, id=3832, stack(0x71080000,0x71180000)]
      0x68626000 JavaThread "Thread-16" [_thread_blocked, id=1980, stack(0x70f80000,0x71080000)]
      0x68625c00 JavaThread "Thread-15" [_thread_blocked, id=3864, stack(0x70e80000,0x70f80000)]
      0x6a070800 JavaThread "Thread-14" [_thread_blocked, id=4512, stack(0x70d80000,0x70e80000)]
      0x6845b800 JavaThread "Thread-10" [_thread_in_native, id=4780, stack(0x70980000,0x70a80000)]
      0x6ac15800 JavaThread "obj-skimmer" daemon [_thread_blocked, id=5672, stack(0x70880000,0x70980000)]
      0x6ac3d800 JavaThread "obj-skimmer" daemon [_thread_blocked, id=3268, stack(0x70780000,0x70880000)]
      0x6a3f5400 JavaThread "obj-skimmer" daemon [_thread_blocked, id=3400, stack(0x70680000,0x70780000)]
      0x6a225c00 JavaThread "obj-skimmer" daemon [_thread_blocked, id=5816, stack(0x70580000,0x70680000)]
      0x6acd0c00 JavaThread "obj-skimmer" daemon [_thread_blocked, id=3284, stack(0x70480000,0x70580000)]
      0x68581400 JavaThread "obj-skimmer" daemon [_thread_blocked, id=6020, stack(0x70380000,0x70480000)]
      0x6dfdac00 JavaThread "obj-skimmer" daemon [_thread_blocked, id=4536, stack(0x70280000,0x70380000)]
      0x6df85800 JavaThread "obj-skimmer" daemon [_thread_blocked, id=4912, stack(0x70180000,0x70280000)]
      0x6df81800 JavaThread "obj-skimmer" daemon [_thread_blocked, id=3700, stack(0x70080000,0x70180000)]
      0x6dfcec00 JavaThread "obj-skimmer" daemon [_thread_blocked, id=4272, stack(0x6ff80000,0x70080000)]
      0x6a225400 JavaThread "obj-skimmer" daemon [_thread_blocked, id=1748, stack(0x6fe80000,0x6ff80000)]
      0x6dfafc00 JavaThread "scheduler-0" [_thread_blocked, id=3052, stack(0x6d970000,0x6da70000)]
      0x6df02c00 JavaThread "Timer-2" daemon [_thread_blocked, id=2080, stack(0x6d4e0000,0x6d5e0000)]
      0x6b33f000 JavaThread "Timer-1" [_thread_blocked, id=1872, stack(0x6d3e0000,0x6d4e0000)]
      0x6ac8d800 JavaThread "Timer-0" [_thread_blocked, id=2828, stack(0x6d1c0000,0x6d2c0000)]
      0x6aaea800 JavaThread "scheduler-20" [_thread_blocked, id=6072, stack(0x6ccc0000,0x6cdc0000)]
      0x68649800 JavaThread "mipc-1" [_thread_in_native, id=988, stack(0x6cbc0000,0x6ccc0000)]
      0x6ac6d800 JavaThread "Thread-4" [_thread_blocked, id=2228, stack(0x6b5a0000,0x6b6a0000)]
      0x6ae4b400 JavaThread "clock" daemon [_thread_blocked, id=2548, stack(0x6a400000,0x6a500000)]
      0x68490000 JavaThread "scheduler-19" [_thread_blocked, id=3512, stack(0x6cac0000,0x6cbc0000)]
      0x6848f400 JavaThread "scheduler-18" [_thread_blocked, id=3220, stack(0x6c9c0000,0x6cac0000)]
      0x6848e400 JavaThread "scheduler-17" [_thread_blocked, id=3940, stack(0x6c8c0000,0x6c9c0000)]
      0x6848d800 JavaThread "scheduler-16" [_thread_blocked, id=4108, stack(0x6c7c0000,0x6c8c0000)]
      0x68570800 JavaThread "scheduler-15" [_thread_blocked, id=1772, stack(0x6c6c0000,0x6c7c0000)]
      0x6856fc00 JavaThread "scheduler-14" [_thread_blocked, id=1944, stack(0x6c5c0000,0x6c6c0000)]
      0x6856f400 JavaThread "scheduler-13" [_thread_blocked, id=776, stack(0x6c4c0000,0x6c5c0000)]
      0x69eecc00 JavaThread "scheduler-12" [_thread_blocked, id=2468, stack(0x6c3c0000,0x6c4c0000)]
      0x69eec000 JavaThread "scheduler-11" [_thread_blocked, id=4384, stack(0x6c2c0000,0x6c3c0000)]
      0x6aa81400 JavaThread "scheduler-10" [_thread_blocked, id=5628, stack(0x6c1c0000,0x6c2c0000)]
      0x6aa80800 JavaThread "scheduler-9" [_thread_blocked, id=2236, stack(0x6c0c0000,0x6c1c0000)]
      0x685d2800 JavaThread "scheduler-8" [_thread_blocked, id=4216, stack(0x6bfc0000,0x6c0c0000)]
      0x6a1a9800 JavaThread "scheduler-7" [_thread_blocked, id=4260, stack(0x6bec0000,0x6bfc0000)]
      0x69c68800 JavaThread "scheduler-6" [_thread_blocked, id=5120, stack(0x6bdc0000,0x6bec0000)]
      0x69c98800 JavaThread "scheduler-5" [_thread_blocked, id=4396, stack(0x6bcc0000,0x6bdc0000)]
      0x6a1db800 JavaThread "scheduler-4" [_thread_blocked, id=4328, stack(0x6bbc0000,0x6bcc0000)]
      0x69cf5800 JavaThread "scheduler-3" [_thread_blocked, id=2968, stack(0x6bac0000,0x6bbc0000)]
      0x68627400 JavaThread "scheduler-2" [_thread_blocked, id=5024, stack(0x6b9c0000,0x6bac0000)]
      0x69e23400 JavaThread "scheduler-1" [_thread_blocked, id=3208, stack(0x6b8c0000,0x6b9c0000)]
      0x6a123c00 JavaThread "scheduler-0" [_thread_blocked, id=4256, stack(0x6b7c0000,0x6b8c0000)]
      0x68466c00 JavaThread "Transaction Domain PrivateJmsDomain" [_thread_blocked, id=3484, stack(0x6b6c0000,0x6b7c0000)]
      0x68468000 JavaThread "Transaction Domain DefaultDomain" [_thread_blocked, id=320, stack(0x69b00000,0x69c00000)]
      0x68492800 JavaThread "tyrex.util.daemonMaster" daemon [_thread_blocked, id=4340, stack(0x69a00000,0x69b00000)]
      0x68465400 JavaThread "jndi-4" [_thread_in_native, id=5136, stack(0x69900000,0x69a00000)]
      0x6846e800 JavaThread "jndi-3" [_thread_blocked, id=4956, stack(0x69800000,0x69900000)]
      0x6846dc00 JavaThread "jndi-2" [_thread_blocked, id=2256, stack(0x69700000,0x69800000)]
      0x6845ac00 JavaThread "jndi-1" [_thread_blocked, id=396, stack(0x69600000,0x69700000)]
      0x6845a800 JavaThread "jndi-0" [_thread_blocked, id=2248, stack(0x69500000,0x69600000)]
      0x68461400 JavaThread "RMI Scheduler(0)" daemon [_thread_blocked, id=4240, stack(0x69300000,0x69400000)]
      0x68457800 JavaThread "jms-fifo-5" [_thread_blocked, id=5920, stack(0x69100000,0x69200000)]
      0x68456c00 JavaThread "jms-fifo-4" [_thread_blocked, id=3224, stack(0x68f10000,0x69010000)]
      0x68447c00 JavaThread "jms-fifo-3" [_thread_blocked, id=4164, stack(0x68e10000,0x68f10000)]
      0x68449800 JavaThread "jms-fifo-2" [_thread_blocked, id=1824, stack(0x68d10000,0x68e10000)]
      0x68449400 JavaThread "jms-fifo-1" [_thread_blocked, id=1436, stack(0x68c10000,0x68d10000)]
      0x6843a400 JavaThread "GC Daemon" daemon [_thread_blocked, id=4644, stack(0x68b10000,0x68c10000)]
      0x6838a800 JavaThread "RMI Reaper" [_thread_blocked, id=236, stack(0x68a10000,0x68b10000)]
      0x683aec00 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=1836, stack(0x68910000,0x68a10000)]
      0x6777c800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3720, stack(0x67ec0000,0x67fc0000)]
      0x6777b000 JavaThread "CompilerThread1" daemon [_thread_blocked, id=5476, stack(0x67dc0000,0x67ec0000)]
      0x67775400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2280, stack(0x67cc0000,0x67dc0000)]
      0x67774400 JavaThread "Attach Listener" daemon [_thread_blocked, id=2188, stack(0x67bc0000,0x67cc0000)]
      0x67773000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2012, stack(0x67ac0000,0x67bc0000)]
      0x6775c000 JavaThread "Finalizer" daemon [_thread_blocked, id=1532, stack(0x679c0000,0x67ac0000)]
      0x67757c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=3692, stack(0x678c0000,0x679c0000)]
    Other Threads:
      0x67754c00 VMThread [stack: 0x677c0000,0x678c0000] [id=4864]
      0x6777e000 WatcherThread [stack: 0x67fc0000,0x680c0000] [id=4592]
    =>0x003ec800 (exited) GCTaskThread [stack: 0x675c0000,0x676c0000] [id=3532]
    VM state:at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
    [0x003e5950/0x000006f8] Threads_lock - owner thread: 0x67754c00
    [0x003e5af0/0x000006b8] Heap_lock - owner thread: 0x6ad81400
    Heap
    PSYoungGen      total 123008K, used 94255K [0x5d450000, 0x66f70000, 0x66fd0000)
      eden space 90752K, 100% used [0x5d450000,0x62cf0000,0x62cf0000)
      from space 32256K, 10% used [0x62cf0000,0x6305bc90,0x64c70000)
      to   space 31424K, 28% used [0x650c0000,0x65968d98,0x66f70000)
    PSOldGen        total 220864K, used 165707K [0x0f7d0000, 0x1cf80000, 0x5d450000)
      object space 220864K, 75% used [0x0f7d0000,0x199a2ef0,0x1cf80000)
    PSPermGen       total 74752K, used 72956K [0x037d0000, 0x080d0000, 0x0f7d0000)
      object space 74752K, 97% used [0x037d0000,0x07f0f370,0x080d0000)
    Dynamic libraries:
    0x00400000 - 0x00410000 C:\ColdFusion8\runtime\bin\jrun.exe
    0x7c800000 - 0x7c8c2000 C:\WINDOWS\system32\ntdll.dll
    0x77e40000 - 0x77f42000 C:\WINDOWS\system32\kernel32.dll
    0x7d1e0000 - 0x7d27c000 C:\WINDOWS\system32\ADVAPI32.dll
    0x77c50000 - 0x77cef000 C:\WINDOWS\system32\RPCRT4.dll
    0x76f50000 - 0x76f63000 C:\WINDOWS\system32\Secur32.dll
    0x77ba0000 - 0x77bfa000 C:\WINDOWS\system32\MSVCRT.dll
    0x6dac0000 - 0x6de7a000 C:\ColdFusion8\runtime\jre\bin\server\jvm.dll
    0x77380000 - 0x77411000 C:\WINDOWS\system32\USER32.dll
    0x77c00000 - 0x77c49000 C:\WINDOWS\system32\GDI32.dll
    0x76aa0000 - 0x76acd000 C:\WINDOWS\system32\WINMM.dll
    0x7c360000 - 0x7c3b6000 C:\WINDOWS\system32\MSVCR71.dll
    0x76290000 - 0x762ad000 C:\WINDOWS\system32\IMM32.DLL
    0x6d320000 - 0x6d328000 C:\ColdFusion8\runtime\jre\bin\hpi.dll
    0x76b70000 - 0x76b7b000 C:\WINDOWS\system32\PSAPI.DLL
    0x6d820000 - 0x6d82c000 C:\ColdFusion8\runtime\jre\bin\verify.dll
    0x6d3c0000 - 0x6d3df000 C:\ColdFusion8\runtime\jre\bin\java.dll
    0x6d860000 - 0x6d86f000 C:\ColdFusion8\runtime\jre\bin\zip.dll
    0x6d620000 - 0x6d633000 C:\ColdFusion8\runtime\jre\bin\net.dll
    0x71c00000 - 0x71c17000 C:\WINDOWS\system32\WS2_32.dll
    0x71bf0000 - 0x71bf8000 C:\WINDOWS\system32\WS2HELP.dll
    0x71b20000 - 0x71b61000 C:\WINDOWS\System32\mswsock.dll
    0x76ed0000 - 0x76efa000 C:\WINDOWS\system32\DNSAPI.dll
    0x76f70000 - 0x76f77000 C:\WINDOWS\System32\winrnr.dll
    0x76f10000 - 0x76f3e000 C:\WINDOWS\system32\WLDAP32.dll
    0x76f80000 - 0x76f85000 C:\WINDOWS\system32\rasadhlp.dll
    0x68740000 - 0x6874c000 C:\ColdFusion8\runtime\bin\portscan.dll
    0x68750000 - 0x687aa000 C:\WINDOWS\system32\hnetcfg.dll
    0x71ae0000 - 0x71ae8000 C:\WINDOWS\System32\wshtcpip.dll
    0x688b0000 - 0x688e5000 C:\WINDOWS\system32\rsaenh.dll
    0x7c8d0000 - 0x7d0cf000 C:\WINDOWS\system32\SHELL32.dll
    0x7d180000 - 0x7d1d2000 C:\WINDOWS\system32\SHLWAPI.dll
    0x77420000 - 0x77523000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.3959_x-w w_D8713E55\comctl32.dll
    0x6d7c0000 - 0x6d7c6000 C:\ColdFusion8\runtime\jre\bin\rmi.dll
    0x6d800000 - 0x6d808000 C:\ColdFusion8\runtime\jre\bin\sunmscapi.dll
    0x761b0000 - 0x76243000 C:\WINDOWS\system32\CRYPT32.dll
    0x76190000 - 0x761a2000 C:\WINDOWS\system32\MSASN1.dll
    0x69010000 - 0x69090000 C:\ColdFusion8\lib\izmjniado.dll
    0x77670000 - 0x777a9000 C:\WINDOWS\system32\ole32.dll
    0x77d00000 - 0x77d8b000 C:\WINDOWS\system32\OLEAUT32.dll
    0x69090000 - 0x69098000 C:\ColdFusion8\lib\CFXNeo.dll
    0x690a0000 - 0x690b0000 C:\WINDOWS\system32\MSVCIRT.dll
    0x69400000 - 0x69465000 C:\WINDOWS\system32\MSVCP60.dll
    0x690b0000 - 0x690be000 C:\ColdFusion8\lib\cfregistry.dll
    0x690d0000 - 0x690e0000 C:\ColdFusion8\lib\PerfmonClient.dll
    0x71880000 - 0x719ae000 C:\ColdFusion8\runtime\jre\bin\awt.dll
    0x73070000 - 0x73097000 C:\WINDOWS\system32\WINSPOOL.DRV
    0x73860000 - 0x738ab000 C:\WINDOWS\system32\ddraw.dll
    0x73b30000 - 0x73b36000 C:\WINDOWS\system32\DCIMAN32.dll
    0x6d2c0000 - 0x6d313000 C:\ColdFusion8\runtime\jre\bin\fontmanager.dll
    0x69490000 - 0x69499000 C:\ColdFusion8\runtime\jre\bin\management.dll
    0x6a540000 - 0x6a549000 C:\ColdFusion8\runtime\jre\bin\nio.dll
    0x6a550000 - 0x6a573000 C:\ColdFusion8\runtime\jre\bin\dcpr.dll
    0x6a590000 - 0x6a597000 C:\ColdFusion8\lib\NeoUUID.dll
    0x6cec0000 - 0x6cf17000 C:\WINDOWS\system32\NETAPI32.dll
    0x6d020000 - 0x6d04f000 C:\ColdFusion8\runtime\jre\bin\cmm.dll
    0x6d050000 - 0x6d074000 C:\ColdFusion8\runtime\jre\bin\jpeg.dll
    0x6d080000 - 0x6d08b000 C:\ColdFusion8\lib\clib_jiio_util.dll
    0x72eb0000 - 0x72fbc000 C:\ColdFusion8\lib\clib_jiio_sse2.dll
    VM Arguments:
    jvm_args: -Xmx1400m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m -XX:+UseParallelGC -Dcoldfusion.rootDir=C:\ColdFusion8\runtime/../ -Dcoldfusion.libPath=C:\ColdFusion8\runtime/../lib -Dcoldfusion.classPath=C:\ColdFusion8\runtime/../lib/updates,C:\ColdFusion8\runtime/../li b,C:\ColdFusion8\runtime/../gateway/lib/,C:\ColdFusion8\runtime/../wwwroot/WEB-INF/flex/ja rs,C:\ColdFusion8\runtime/../wwwroot/WEB-INF/cfform/jars,"C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\InterWeb-Prod\includes\classes" -Djmx.invoke.getters=true
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    PATH=C:\ColdFusion8\runtime\..\lib;C:\ColdFusion8\runtime\..\jintegra\bin;C:\ColdFusion8\r untime\..\jintegra\bin\international;C:\ColdFusion8\verity\k2\_nti40\bin;C:\WINDOWS\system 32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Subversion\bin
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 26 Stepping 4, GenuineIntel
    ---------------  S Y S T E M  ---------------
    OS: Windows Server 2003 family Build 3790 Service Pack 2
    CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 10 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
    Memory: 4k page, physical 2097151k(2097151k free), swap 4194303k(4194303k free)
    vm_info: Java HotSpot(TM) Server VM (10.0-b19) for windows-x86 JRE (1.6.0_04-b12), built on Dec 14 2007 00:46:56 by "java_re" with MS VC++ 7.1
    time: Wed Jun 23 14:12:21 2010
    elapsed time: 14601 seconds

    Hello,
    Part of the HS_ERR_PID says:
    # Java VM: Java HotSpot(TM) Server VM (1.6.0_01-b06 mixed mode)
    Does that mean you are running CF8 without updater1 applied? If updater1 was there I would expect JVM 1.6.0_04. Give that is correct you could apply updater1 and once that is done even update the JVM to a more current version. I see Java Dev Kit 1.6.0_23 is current, I have successfully used CF8 with 1.6.0_22.
    There might be some interesting detail in the coldfusion-out.log file which likely is in [CF]\runtime\logs or [Jrun]\logs pending server or multiserver.
    HTH, Carl.

  • 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

  • Swing application with JavaHelp crashes outside Netbeans IDE.

    Hi guys I have developed a small swing application in Netbeans IDE. I used the following code inside the IDE for JH.
    public void createHelp()
           try {
                   URL hsURL = new URL("jar:file:eDictionaryHelp.jar!/eDictionaryHelp/eDictionary.hs");
                   hs = new HelpSet(null, hsURL);
           catch (Exception ee)
            // Say what the exception really is
            System.out.println( "HelpSet " + ee.getMessage());
            System.out.println("HelpSet "+ helpHS +" not found");
            JOptionPane.showMessageDialog(new JFrame(), ee.getMessage(), "Error", ERROR_MESSAGE);
            hb = hs.createHelpBroker();
       }When I run the program inside the IDE and and click on the corresponding MenuItem.. JavaHelp comes up as it should! No problems with that.
    But when I build the project and tried to run it from the .jar file in the PROJECT_HOME/dist/ the swing got displayed till this function was called. and then it simply crashed.
    Investigating further and commenting out one line at a time and compiling I found out that whenever the hs = new HelpSet(null, hsURL); is encountered, the app crashes (it doesnt throw any error).
    But as I said this is not the case when i run and compile inside the IDE. I only get this problem when running the app from outside the IDE.
    I have tried all kinds of combinations of the URL .. for eg ( I am aware of Bug 4149782)
    ClassLoader cl = this.getClass().getClassLoader();
    try {
                   URL hsURL = HelpSet.findHelpSet(cl, helpHS);
    .What can be the problem guys? Any suggestions?
    Thanks!

    Anyone has an answer on this?
    I am facing the same problem.. I am using NetBeans 5.5
    arijit_datta, do u have a solution for this problem already?
    Thanks,
    SK

  • How to get rid of OutOfMemoryError or at least handle it

    Hi
    The intention is to get rid of the cases, when OutOfMemoryError exception happens
    on the WebLogic (v6.1.3.0) side. The exception is thrown after some period of
    running (from several hours to days, depends on the load/usage model). We have
    several EJBs, created by servlets, which in turn called by the client.
    The fact of OutOfMemoryError is bad, but what is worse that the Weblogic process
    doesn't exit. The clients are stalled and their stack shows that they are waiting
    in RMI stack. Our monitoring utility could not restart the Weblogic, since it
    didn't exit and we arrive to the situation when the service is stopped! There
    is no way to monitor the memory usage, since Weblogic manages it by itself.
    So, the questions are:
    1. What is the default WebLogic behavior when there is no limit on the maximum
    beans in container and there is no idle timeout defined in the weblogic-ejb-jar.xml?
    2. What are the guidance about the correct usage of "max-beans-in-cache" and "idle-timeout-seconds"
    parameters.
    3. What is the exact WebLogic behavior when there are maximum quantity and idle
    time limit defined?
    4. Will the correct setup of beans quantity and idle timeout limit the occurrence
    of the OutOfMemoryError to zero?
    5. If not, what are the other steps to perform to minimize the probability of
    the error? (Increase the MaxHeap, NewSize, etc.)
    6. Is there a way to catch the exception (some kind of callback to the WebLogic
    and then issue some alarm in order to restart the server)?
    7. Is there a way to activate the Weblogic server in special mode it would exit,
    when the critical exception, like OutOfMemoryError, happens?
    Thanks
    Jos

    Hi Jos,
    I'll try to take some of the questions:
    "Jos" <[email protected]> wrote in message
    news:[email protected]...
    The intention is to get rid of the cases, when OutOfMemoryError exceptionhappens
    on the WebLogic (v6.1.3.0) side. The exception is thrown after some periodof
    running (from several hours to days, depends on the load/usage model). Wehave
    several EJBs, created by servlets, which in turn called by the client.
    The fact of OutOfMemoryError is bad, but what is worse that the Weblogicprocess
    doesn't exit. The clients are stalled and their stack shows that they arewaiting
    in RMI stack. Our monitoring utility could not restart the Weblogic, sinceit
    didn't exit and we arrive to the situation when the service is stopped!There
    is no way to monitor the memory usage, since Weblogic manages it byitself.
    >
    So, the questions are:
    1. What is the default WebLogic behavior when there is no limit on themaximum
    beans in container and there is no idle timeout defined in theweblogic-ejb-jar.xml?
    Theoretically you can get out of memory in this case. By default number
    of beans of given type for a given transaction is 1000 (max-beans-in-cache).
    So, very roughly, if you have 20 tables presented by CMP beans, and each
    table
    has 1000 records 1000 bytes each and they are all used in the same TX,
    memory used by the beans would be
    20x1000x1000 = 20MB per TX, and if you got 20 exec threads, roughly
    the total will be about 400 Megs.
    It doesn't take in account container and application memory consumption,
    apparently. So if you get this case (very rare, I should say), it's easy to
    treat it
    with just increasing JVM memory.
    2. What are the guidance about the correct usage of "max-beans-in-cache"and "idle-timeout-seconds"
    parameters.Normally you leave them default unless you get CacheFullException.
    3. What is the exact WebLogic behavior when there are maximum quantity andidle
    time limit defined?The default behavior when maximum is reached (default is
    1000), CacheFullException is thrown.
    4. Will the correct setup of beans quantity and idle timeout limit theoccurrence
    of the OutOfMemoryError to zero?That's hard to say. If you've got the case above, and you have many
    different beans
    participating in TX, that might help.
    But before playing with this parameters, make sure that you don't have a
    memory
    leak. Open your server web console and monitor memory usage. Normally you
    I'll
    see the curve sharply dropping with each GC. If it doesn't happen, there is
    a
    high possibility that your application has a memory leak, normally found by
    searching the application source line by keywords "cache" and "static
    hashtable".
    5. If not, what are the other steps to perform to minimize the probabilityof
    the error? (Increase the MaxHeap, NewSize, etc.)Try to set -XX:PermSize=64m -XX:MaxPermSize=64m at least.
    But, if it's a memory leak in the app, there is no way to "minimize"
    error. You'll have to run application load test under a memory
    profiler, find and fix the error.
    6. Is there a way to catch the exception (some kind of callback to theWebLogic
    and then issue some alarm in order to restart the server)?There are products on the market that allow weblogic monitoring.
    Search google for "weblogic monitoring".
    7. Is there a way to activate the Weblogic server in special mode it wouldexit,
    when the critical exception, like OutOfMemoryError, happens?You could set up a watchdog that would monitor the server responsiveness
    and would kill server process if it stops responding. It's a 10 lines shell
    script. But it's definitively a bad idea to apply to a production server.
    Hope this helps,
    Regards,
    Slava Imeshev

Maybe you are looking for