1 Reply Latest reply on Sep 3, 2009 1:25 PM by Stan Lewis

    Running into OutOfMemory permgen

    Oren Livne Novice

      Dear All,

       

      I have about 100 of my own bundles running on the FUSE ESB 4.1.0.2 on Windows XP (4GB RAM) in addition to the basic features, cxf and camel-jms. I am running a lot into OutOfMemory issue, especially after updating some of the bundles a few times during development.

       

      I tried increasing the JAVA_OPTS flag to -Xmx1200 in bin\servicemix.bat. That doesn't help much. Is that the right thing to do, or what should I do instead? Thanks!

        • 1. Re: Running into OutOfMemory permgen
          Stan Lewis Novice

          How much RAM is servicemix using currently?  Setting the heap size would be the way around it but if you're running 32-bit Windows XP you're limited to a process size of 2048MB, there's really no way around that except moving to a 64-bit operating system.  Might also be worth poking around with JConsole to see how much heap is being used etc. and if invoking the garbage collector makes a difference in how much heap is being used.