[Java6] OutOfMemoryError after java 6 deployment.

Hello.
We have developed an applet the works with no problems on Java 5.
Since we deployed Java 6 JRE, I have a lot of OutOfMemoryError randomly.
That's the stack trace :
Exception in thread "AWT-EventQueue-15" java.lang.OutOfMemoryError: Java heap space
    at java.awt.image.DataBufferInt.<init>(Unknown Source)
    at java.awt.image.Raster.createPackedRaster(Unknown Source)
    at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
    at java.awt.image.BufferedImage.<init>(Unknown Source)
    at com.sun.java.swing.plaf.windows.XPStyle$SkinPainter.createImage(Unknown Source)
    at sun.swing.CachedPainter.paint0(Unknown Source)
    at sun.swing.CachedPainter.paint(Unknown Source)
    at com.sun.java.swing.plaf.windows.XPStyle$Skin.paintSkinRaw(Unknown Source)
    at com.sun.java.swing.plaf.windows.XPStyle$Skin.paintSkin(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsTabbedPaneUI.paintRotatedSkin(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsTabbedPaneUI.paintContentBorder(Unknown Source)
    at javax.swing.plaf.basic.BasicTabbedPaneUI.paint(Unknown Source)
    at javax.swing.plaf.ComponentUI.update(Unknown Source)
    at javax.swing.JComponent.paintComponent(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.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
    at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
    at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
    at javax.swing.RepaintManager.paint(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
    at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
    at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)I have no idea to solve that problem.
Could you help me, please.
Thanks a lot.
Best regards.
Message was edited by:
Mobaladje

sigprog wrote:
...but can happen when someone is pumping a large amount of invalid data at your code.If I expect it to happen then it isn't an exception. Simple as that.
Using exceptions for normal processing flow is a bad idea. Far as I know bad idea in every language that does exceptions.
Does anyone know why it would be slower in Java 6?You could look through the release notes.

Similar Messages

  • MDB TimerManager Error after updating a deployment

    We are running weblogic 10.3
    After updating a deployment, our app is consistently getting the following error:
    java.lang.IllegalArgumentException: Existing timer manager has different work manager.
    TimerManager requested: JMSPoller-TestMessageBean
    When we perform the update, we first stop the deployment (selecting when work completes) - then update the deployment.
    The only way to clear the error is to bounce the server - which we can't always do without interrupting other applications.
    We have not configured any special workManagers - the weblogic configuration is quite vanilla.
    the following is an exerpt from the weblogic-ejb-jar.xml for the bean:
    <weblogic-enterprise-bean>
    <ejb-name>TestMessageBean</ejb-name>
    <message-driven-descriptor>
         <pool>
         <max-beans-in-free-pool>1</max-beans-in-free-pool>
         <initial-beans-in-free-pool>0</initial-beans-in-free-pool>
    </pool>
    <destination-jndi-name>mqjms/TEST_QUEUE</destination-jndi-name>
    <connection-factory-jndi-name>mqjms/queueConnectionFactory</connection-factory-jndi-name>
    <jms-polling-interval-seconds>60</jms-polling-interval-seconds>
    </message-driven-descriptor>
    </weblogic-enterprise-bean>

    <t:selectOneMenu forceId="true"
    id="department"
    value="#{DeptBean.departmentId}">
    <f:selectItems value="#{DeptBean.departmentList}"
    />
    </t:selectOneMenu>What is the type of departmentId ? If it is not a String, then try making it a String and see if the issue is resolved. I am not sure if this will help you. But its worth a try.

  • Glassfish wont start after the first deployment

    good afternoon.
    i got a problem that i would like to solve whit your help: after the first deployment of my proyect into Glassfish i keep getting this error over and over again, when i reinstall the server everything works fine but after the first deployment the server wont start again, I would be glad to know what i can do to solve this, thx:
    Waiting for domain1 to start ...Error starting domain domain1.
    The server exited prematurely with exit code 1.
    Before it died, it produced the following output:
    Launching GlassFish on Felix platform
    Completed shutdown of GlassFish runtime
    Exception in thread "main" java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMa
    in.java:97)
    at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)
    Caused by: org.jvnet.hk2.component.ComponentException: Failed to create a habita
    t
    at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.cre
    ateHabitat(AbstractModulesRegistryImpl.java:169)
    at com.sun.enterprise.module.bootstrap.Main.createHabitat(Main.java:425)
    at org.jvnet.hk2.osgiadapter.HK2Main.createHabitat(HK2Main.java:96)
    at com.sun.enterprise.glassfish.bootstrap.osgi.EmbeddedOSGiGlassFishRunt
    ime.newGlassFish(EmbeddedOSGiGlassFishRuntime.java:89)
    at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(
    GlassFishMain.java:113)
    ... 6 more
    Caused by: java.lang.RuntimeException: Fatal Error. Unable to parse file:/C:/Pr
    ogram%20Files/glassfishv3/glassfish/domains/domain1/config/domain.xml
    at org.glassfish.config.support.DomainXml.parseDomainXml(DomainXml.java:
    273)
    at org.glassfish.config.support.DomainXml.run(DomainXml.java:112)
    at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.pop
    ulateConfig(AbstractModulesRegistryImpl.java:176)
    at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.cre
    ateHabitat(AbstractModulesRegistryImpl.java:158)
    ... 10 more
    Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[11,88]
    Message: Invalid byte 2 of 4-byte UTF-8 sequence.
    at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLS
    treamReaderImpl.java:590)
    at javax.xml.stream.util.StreamReaderDelegate.next(StreamReaderDelegate.
    java:88)
    at org.glassfish.config.support.XMLStreamReaderFilter.thisNextTag(XMLStr
    eamReaderFilter.java:94)
    at org.glassfish.config.support.XMLStreamReaderFilter.nextTag(XMLStreamR
    eaderFilter.java:74)
    at org.jvnet.hk2.config.ConfigParser.handleElement(ConfigParser.java:199
    at org.jvnet.hk2.config.ConfigParser.handleElement(ConfigParser.java:215
    at org.jvnet.hk2.config.ConfigParser.handleElement(ConfigParser.java:167
    at org.jvnet.hk2.config.ConfigParser.parse(ConfigParser.java:98)
    at org.jvnet.hk2.config.ConfigParser.parse(ConfigParser.java:93)
    at org.glassfish.config.support.DomainXml.parseDomainXml(DomainXml.java:
    254)
    ... 13 more
    Command start-domain failed.

    UPDATE:
    I also tried a safe boot and now after inserting install DVD and pressing the option (alt) I choose the DVD-Install disc to boot but after 30-45 seconds appers on the grey boot monitor from "behind" the Terminal panic message:
    panic (cpu 4 caller 0xfffffff80002d1208): Kernel trap at  ...
    Error code: 0x0000000000000000
    Debugger called: <panic>
    Backtrace (CPU 4), Frame : Return Adress
    0xfffffffff8153283600 : 0x8000204d15
    BSD process corresponding to current thread: ReportCrash
    Mac Os version:
    10J4139
    Kernel version:
    Darwin Kernel Version 10.7.4: Mon Apr 18 21:24:17 PDT 2011; root:xnu-1504.14.12~3/RELEASE_X86_64
    How can I solve this, any Idea?
    THX

  • Issue with Default Variable in WAD after Java Patch 7.01.7.31

    Hello all,
    I'm running into an issue with the Web Application Designer Template execution for a particular default variable. This started occuring after Java Patch 7.01.7.31 we had implented over the weekend.
    The issue is when Executing the WAD Template, we have a selection screen with a variable with default values assigned to it. When leaving the default values and hitting Ok to execute  through the screen does not register and stays as is and I get a message at the top with the following: Characteristic Prob % Number has no master data for "1.00" or you do not have authorization.
    This only seems to occur for this default variable on info object Prob % Number, the other default variables seem to work fine. Also another note when clearing out the values it returns data and executes through. The value 1.00 is also a valid value in the cube and also in the output display. If we run this report in the BEx analyzer, the selection screen executes through with the default variable perfectly fine, this is only an issue with the Web Application Designer Template.
    Has anyone ran into this? I've searched and have not found any notes as of yet.
    Thank you,
    -Andy

    Dear Andy,
    Please raise this to SAP, seems like a strange problem this needs to be addressed by OSS note only.
    Close this thread once you get a solution.
    Regards.
    Den

  • Is it possible to edit a MDT Task Sequence after starting a deployment, between Hyper-V snapshots?

    Using a Hyper-V VM, I take snapshots of my base image build between major sections (automatic updates, application installation, scripts and extras, etc.) with the intention of being able to go back to that area and look at it for troubleshooting's sake. 
    Each of these snapshots is manually taken during a pause in my MDT task sequence (using LTISuspend).  I would like to be able to roll back to these snaphots make edits to the task sequence (obviously to sections that haven't yet run), then resume and
    see the changes implemented - but I don't know where the task sequence file(s) resides on VM being imaged, or if that can be changed after kicking it off at the very start of the build. 
    Is it possible to replace the task sequence file (and any other necessary files) that are cached locally on the VM during the imaging process?  Where are those files located?  Or any other way to implement changes to my task sequence so I wouldn't
    have to start the image build completely from scratch?
    This build takes about 6 hours.  Having to make even the slightest modification causes me to lose an entire day, so this would be golden even if I have to manually edit certain files!

    Hi,
    Based on my known, you cannot edit the task sequence after starting the deployment.
    However, I suggest you ask this issue in MDT forum for more professional solution:
    https://social.technet.microsoft.com/Forums/en-US/home?forum=mdt
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn
    from your interaction with us. Thank you for your understanding.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Sort order in Java Application (deploy in Oracle oc4j container)

    I have a Java application deploy in Oracle OC4J container (EAR file).
    In my Java application (jsp), I have a SQL statement who return data but the
    sort order is wrong. The letters "é" and all characters with accents
    appears at the end of the result.
    I tried many things to change the sort order (NLS parameters in database
    and OAS10g parameter files).
    When I use SQL*plus on database server, that's working.
    The sort order is wrong when I use the java application.
    Somebody can tell me what and where is the NLS parameters to change ?
    Thanks
    Robin

    Robin,
    I'm only guessing, but it could either be related to the java locale or the CHARSET attribute of the HTML header -- and nothing to do with the NLS parameters.
    Maybe you should try the Globalization Support forum?
    Good Luck,
    Avi.

  • After Java patch 1.7.0_07 ENable applet plug-in and Web start checkbox is gone!

    Hello all,
    Using ML 10.8.1 and Safair 6.0
    After Java patch 1.7.0_07 ENable applet plug-in and Web start checkbox is gone! The check box to enable Safari to load Java pages is 100% gone, missing, just not there anymore.
    When I go to the Java test page it shows that I have Java 7 loaded. Has anyone else run into this problem or have a solution to enable true load loading in Safari and bring back the Enable applet plug-in and Web Start application check box in ML...
    Thanks

    I found out something very interesting. I noticed that another page would show up for less than have a second before the ML Java Preference would show up. I did a video recording of this and moved frame by frame. I show that the page / pane showing up had the following option:
                    Run applets:  in their own process
                                         within their browser process
    Both boxes for the two are unchecked.
    Then this page would disappear and nother would show up without the option / check box
    Enable applet plugin and Web Start applications
    Strange

  • Java application deployment tool

    Hey everyone, i'm having some serious difficulty deploying an ejb application on bea weblogic.
    I cannot find the java application deployment tool, or any concise documentation for that matter.
    I have experience writing jsps, javabeans, servlets etc. and deploying them with ant.
    Thanks for any help on this tool and or deployment techniques for ejb.
    /jeff

    You may want to direct your query to one of the web forums run by BEA. Most folks here are familiar with the j2ee specs and the Sun implementations of those specs.
    These news groups may be a good place to start. http://newsgroups2.bea.com/cgi-bin/dnewsweb
    vbk

  • OutOfMemoryError in Java ME SDK 3.0, 3.2, 3.3 and 3.4 emulator

    Hello together,
    sorry for restarting this topic again, but the original discussion
    OutOfMemoryError in Java ME SDK 3.0 and 3.2 emulator
    has been archived while I was concerned with different things in the meantime. Now returning to Java ME programming again, I find that the problem still persists, at least for the most recently released emulator 3.4. Also the suggestion to increase the heap size via command line parameter is not working. Any further ideas are still appreciated!
    Regards,
    Oliver Pfeiffer

    Try to adjust the heap size by starting the emulator from the command line
    and add the parameter "-Xheapsize=10M"  this will give you a heap size of 10 Meg.

  • Windows Image Deployment - WinPE - Execute Command After Server Image Deployment but Before WinPE Reboot

    Simplified version: Execute command in WinPE after server image deployment but before WinPE reboots.
    I have a custom ISO with a boot.wim and install.wim for deploying Windows Server to our environment. Our environment does not allow DHCP and we have no static IPs available at build time so this will all be done with no internet connection during all phases
    of deployment.
    We have a custom HTA form that generates an XML file based on user input and stores it on the RAMDisk during WinPE. How can we move this XML file from the RAMDisk to the deployed Windows Server image?
    Thanks in advance, Tim

    I believe you should be able to do this during the offlineServicing configuration pass.  You would just need to add into your answer file a command or script to copy from the XML file over to the newly created C:\ drive.  
    I don't have System Image Manager installed on the computer I'm using but if I recall there is a spot during the offlineServicing pass to execute custom commands. You would just add your script path there, the WinPE system drive letter is
    X:\ , and I think the target drive letter Windows is installed to might change depending on how many devices you have hooked up so do a test install and hit SHIFT-F10 , from there you can run diskpart > list volume to see where the new Windows
    install is located. 
    Another alternative could be using a USB drive as your install media, then you can run a script during offlineServicing to copy that XML over to the USB drive.

  • ı  cant  still  play   at  yahoo  games   after  java   upgrade,  why    someone    doesn't  hall  me

    ı  have  mac  book  air   ,  mac  os  mountain  lion   x   8    2    and  java   7   9  is  loaded...ı  cant  play    at  yahoo  games   after  java  upgradede  to   7 9  ,  ı  have  been   writing  here   to  expect  someone  hear me   and  help  me?   is  this   just  for   trade   or    help  customers    to  solve   problems  they  meet...ı   want  apple  professionals    hear   and  help  me  !!!  what  can  ı  do?    all  were   done  properly  but   when  ı   enter  yahoo  lounge   and  attemp  to    join  a  table   ,   it  quits   and    ı  cant  join  then  it  says  error  lodging....can  someone  help  me  ,  pls  urgent  !!!!

    ı  have  mac  book  air   ,  mac  os  mountain  lion   x   8    2    and  java   7   9  is  loaded...ı  cant  play    at  yahoo  games   after  java  upgradede  to   7 9  ,  ı  have  been   writing  here   to  expect  someone  hear me   and  help  me?   is  this   just  for   trade   or    help  customers    to  solve   problems  they  meet...ı   want  apple  professionals    hear   and  help  me  !!!  what  can  ı  do?    all  were   done  properly  but   when  ı   enter  yahoo  lounge   and  attemp  to    join  a  table   ,   it  quits   and    ı  cant  join  then  it  says  error  lodging....can  someone  help  me  ,  pls  urgent  !!!!

  • Java webstart after java 2012 006

    Hi,
    I updated last week my OSX Mountain Lion with the java for 2012-006 which disables the java web start and plugins.
    I need however both web start (for starting .jnlp files) and plugins (vpn access).
    Was able to restore some stuff from timemachine, currently my system is showing having java 1.6.0_37, my java preferences are showing Java Web start enabled (also the /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist shows this), but starting a .jnlp file,  asks me every time to enable Web Start Applications and the launch fails.
    Using java7 doesn't solve my problem either, the application itself does not run yep in an java7 environment.
    Ramón
    java version "1.6.0_37"
    Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
    Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)

    Did find the fix myself, besides the restore from timemachine, the correct definition of de symbolic link to /usr/bin/javaws was the fix.
    The complete solution:
    Restore from timemachine 
        /System/Library/Java/Support/CoreDeploy.bundle
    and /Applications/Utilities/Java Preferences.app
    /usr/bin$ ls -l javaws
    lrwxr-xr-x  1 root  wheel  76 Oct 18 12:23 javaws -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javaws
    /usr/bin$ sudo ls -l javaws >~/javaws.oldlink
    Password:
    /usr/bin$ sudo rm javaws
    /usr/bin$ sudo ln -s /System/Library/Java/Support/Deploy.bundle/Contents/MacOS/javaws javaws

  • Java.lang.OutOfMemoryError at java.lang.StringCoding$CharsetSD.decode

    Hi All,
    I am creating a String by using the method -
    String str = new String(b,"UTF-8");
    where b is a byte array.
    I am getting java.lang.OutOfMemoryError at java.lang.StringCoding$CharsetSD.decode
    Please suggest on the same.
    Thanks in advance.
    Sneha

    Size of byte array is just 10.
    Still I get OutOfMemory Error.
    java.lang.OutOfMemoryError: Requested array size exceeds VM limit
    08 14:48:07.170854 [            main]Exception in thread "Thread-7318" java.lang.OutOfMemoryError: Requested array size exceeds VM limit
    08 14:48:07.171741 [            main]     at java.lang.StringCoding$CharsetSD.decode(StringCoding.java:183)
    08 14:48:07.172147 [            main]     at java.lang.StringCoding.decode(StringCoding.java:228)
    08 14:48:07.172618 [            main]     at java.lang.String.<init>(String.java:405)
    08 14:48:07.172963 [            main]     at java.lang.String.<init>(String.java:433)

  • OutOfMemoryError after many redeployment on Integrated WebLogic Server

    Hello everyone.
    I noticed that deploying many times the same web application on the Integrated WebLogic Server I have the following message:
    <Critical> <Health> <BEA-310003> <Free memory in the server is 4.087.912 bytes. There is danger of OutOfMemoryError>
    Typically, shortly after this message, the application crashes and the following error appears:
    <Error> <Kernel> <BEA-000802> <ExecuteRequest failed java.lang.OutOfMemoryError: Java heap space. java.lang.OutOfMemoryError: Java heap space>
    This behavior happens when I redeploy many times the same application (around 15 / 20 times) using the start function from the index page or the adfc-config task-flow. This behavior doesn't happen if I undeploy first the application.
    It happens with different applications and also in different JDev versions (e.g. 11.1.1.3, 11.1.1.6, 11.1.2.3).
    Please also notice that the time of deployment increases with the number of redeployment. It seems that each redeployment fills a quantity of memory, that terminates after many redeployments.
    There is some shrewdness to take for redeploy applications?
    Thanks in advance.
    Manuel

    Timo,
    thanks for your response. Yes, currently restart the Integrated WebLogic Server is the action that I perform. I could prevent the error stopping the server after 5 / 10 redeployments, but this could happen often, especially if I'm working on back-end side.
    My question is only to avoid to lost time for any restart of the server. If there is no solution to prevent this, patience.
    Manuel

  • OutOfMemoryErrors after migrating WLS 6.1 to 8.1

    I work on a project that has been running on Weblogic 6.1 SP4, using Sun JDK 1.3.1_04
    on Solaris 8 for well over a year. We recently migrated to Weblogic 8.1 SP2 using
    Sun JDK 1.4.1_05. We did have to make minor changes to our application (deployment
    descriptors and what-not), but nothing substantial.
    Since the migration, I have seen numerous OutOfMemoryErrors on production, and
    I've been unable to determine the cause. I am currently fighting to make JProbe
    to do something useful, but in the meantime I am instrumenting the garbage collector.
    Below are our memory and garbage collector settings:
    MEM_ARGS="-ms512m -mx512m -XX:NewSize=128m -XX:MaxNewSize=128m -XX:MaxPermSize=192m
    -XX:SurvivorRatio=8"
    JAVA_OPTIONS="-verbosegc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC
    $JAVA_OPTIONS"
    When we get OutOfMemoryErrors, it appears that the VM has plenty of space. For
    instance, this is the last message logged before the first OutOfMemoryError this
    morning:
    : 283066K->283066K(393216K), 1.5253162 secs] 283066K->283066K(511232K) Heap after
    GC invocations=54:
    Heap
    def new generation total 118016K, used 0K [0xce800000, 0xd6800000, 0xd6800000)
    eden space 104960K, 0% used [0xce800000, 0xce800000, 0xd4e80000)
    from space 13056K, 0% used [0xd5b40000, 0xd5b40000, 0xd6800000)
    to space 13056K, 0% used [0xd4e80000, 0xd4e80000, 0xd5b40000)
    tenured generation total 393216K, used 283066K [0xd6800000, 0xee800000, 0xee800000)
    the space 393216K, 71% used [0xd6800000, 0xe7c6ea18, 0xe7c6ec00, 0xee800000)
    compacting perm gen total 63744K, used 63657K [0xee800000, 0xf2640000, 0xfa800000)
    the space 63744K, 99% used [0xee800000, 0xf262a6e0, 0xf262a800, 0xf2640000)
    } , 1.5282370 secs]
    As you can see, there's plenty of room in the tenured generation (71% of total
    in use), and the perm gen has only grown to 63M of its allocated 192M. Yes, 192M
    seems huge but we're trying to overshoot Java's needs to get the VM to stop crashing!
    The perm size can grow beyond that, as is shown by the most recent OutOfMemoryError
    today:
    : 207012K->200713K(393216K), 2.4353012 secs] 207012K->200713K(511232K) Heap after
    GC invocations=245:
    Heap
    def new generation total 118016K, used 0K [0xce800000, 0xd6800000, 0xd6800000)
    eden space 104960K, 0% used [0xce800000, 0xce800000, 0xd4e80000)
    from space 13056K, 0% used [0xd4e80000, 0xd4e80000, 0xd5b40000)
    to space 13056K, 0% used [0xd5b40000, 0xd5b40000, 0xd6800000)
    tenured generation total 393216K, used 200713K [0xd6800000, 0xee800000, 0xee800000)
    the space 393216K, 51% used [0xd6800000, 0xe2c02558, 0xe2c02600, 0xee800000)
    compacting perm gen total 74496K, used 74415K [0xee800000, 0xf30c0000, 0xfa800000)
    the space 74496K, 99% used [0xee800000, 0xf30abd78, 0xf30abe00, 0xf30c0000)
    } , 2.4384700 secs]
    Are there any suggestions on how to proceed from here? As I said, I'm trying
    to get JProbe to detect a memory leak, but I've found nothing so far.
    Thanks,
    Andy

    "Andrew Byala" <[email protected]> wrote:
    >
    I work on a project that has been running on Weblogic 6.1 SP4, using
    Sun JDK 1.3.1_04
    on Solaris 8 for well over a year. We recently migrated to Weblogic
    8.1 SP2 using
    Sun JDK 1.4.1_05. We did have to make minor changes to our application
    (deployment
    descriptors and what-not), but nothing substantial.
    Since the migration, I have seen numerous OutOfMemoryErrors on production,
    and
    I've been unable to determine the cause. I am currently fighting to
    make JProbe
    to do something useful, but in the meantime I am instrumenting the garbage
    collector.
    Below are our memory and garbage collector settings:
    MEM_ARGS="-ms512m -mx512m -XX:NewSize=128m -XX:MaxNewSize=128m -XX:MaxPermSize=192m
    -XX:SurvivorRatio=8"
    JAVA_OPTIONS="-verbosegc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC
    $JAVA_OPTIONS"
    When we get OutOfMemoryErrors, it appears that the VM has plenty of space.
    For
    instance, this is the last message logged before the first OutOfMemoryError
    this
    morning:
    : 283066K->283066K(393216K), 1.5253162 secs] 283066K->283066K(511232K)
    Heap after
    GC invocations=54:
    Heap
    def new generation total 118016K, used 0K [0xce800000, 0xd6800000,
    0xd6800000)
    eden space 104960K, 0% used [0xce800000, 0xce800000, 0xd4e80000)
    from space 13056K, 0% used [0xd5b40000, 0xd5b40000, 0xd6800000)
    to space 13056K, 0% used [0xd4e80000, 0xd4e80000, 0xd5b40000)
    tenured generation total 393216K, used 283066K [0xd6800000, 0xee800000,
    0xee800000)
    the space 393216K, 71% used [0xd6800000, 0xe7c6ea18, 0xe7c6ec00,
    0xee800000)
    compacting perm gen total 63744K, used 63657K [0xee800000, 0xf2640000,
    0xfa800000)
    the space 63744K, 99% used [0xee800000, 0xf262a6e0, 0xf262a800,
    0xf2640000)
    } , 1.5282370 secs]
    As you can see, there's plenty of room in the tenured generation (71%
    of total
    in use), and the perm gen has only grown to 63M of its allocated 192M.
    Yes, 192M
    seems huge but we're trying to overshoot Java's needs to get the VM to
    stop crashing!
    The perm size can grow beyond that, as is shown by the most recent OutOfMemoryError
    today:
    : 207012K->200713K(393216K), 2.4353012 secs] 207012K->200713K(511232K)
    Heap after
    GC invocations=245:
    Heap
    def new generation total 118016K, used 0K [0xce800000, 0xd6800000,
    0xd6800000)
    eden space 104960K, 0% used [0xce800000, 0xce800000, 0xd4e80000)
    from space 13056K, 0% used [0xd4e80000, 0xd4e80000, 0xd5b40000)
    to space 13056K, 0% used [0xd5b40000, 0xd5b40000, 0xd6800000)
    tenured generation total 393216K, used 200713K [0xd6800000, 0xee800000,
    0xee800000)
    the space 393216K, 51% used [0xd6800000, 0xe2c02558, 0xe2c02600,
    0xee800000)
    compacting perm gen total 74496K, used 74415K [0xee800000, 0xf30c0000,
    0xfa800000)
    the space 74496K, 99% used [0xee800000, 0xf30abd78, 0xf30abe00,
    0xf30c0000)
    } , 2.4384700 secs]
    Are there any suggestions on how to proceed from here? As I said, I'm
    trying
    to get JProbe to detect a memory leak, but I've found nothing so far.
    Thanks,
    AndySometimes it is related to the OS having problems with things like the number
    of files open etc conurrently at any one time. With the new SP, perhaps there
    is an additional overhead that has caused a problem.
    I have spend weeks and weeks before working on Out of Memory errors with multiple
    instances of Weblogic, Wepshpere or Dynamo and they have all been related to the
    Kernel limits.
    Look at the following docs and ensure you have your OS limits to set to the Solaris/Windows/AIX
    or HP Unix recommendations:
    http://e-docs.bea.com/wls/docs81/perform/

Maybe you are looking for

  • IPhone 5 won't connect to Wifi

    I have an iPhone 5 running iOS 7.0.4. I've been having trouble connecting to the wireless network at my dads house. I can connect this phone on every other network i've ever tried with no problems. Everyone else can also connect to my dads network wi

  • Urgent: Object oriented ALV Refresh

    Hello: Pl let me know or share a code--- to update multiple lines selected from OO ALV GRID list in the SAP transparent table Also I am trying to update the data into transparent table. Using OO ALV . The lines are getting refreshed ... PERFORM refre

  • Windows 7, 64 bit won't allow me to set Adobe Reader X as default for PDF file

    By right clicking a pdf file I can choose Adobe Reader as opposed to MS word, but the box to set default won't accept check mark to set this for all pdf. Therefore, when I click a pdf without saving to documents first and using open with, the click n

  • Burning a Premiere CS5.5 project using third party software

    HI All. Maybe you can help me. I have just spent a few days creating a promotional video, a pretty simple one using audio from SonicFire, transions and titles from the title maker in Premiere. No fancy stuff from Adobe After Effects, only Premiere Pr

  • Help Me with .bash_Profile

    Hey,Guys! I became interested in the development of AdiumX. I have met the following problem while trying to configure the subversion installed. According to the instructions given by the Official AdiumX website: "=== Putting SVN in your path === ''N