This is our production environment.
We have deployed a Integration Application (EAR) on weblogic integration server. this is running in single server instance.there is no clustering (we have limitation from connection system to WLI)
We get java.lang.OutOfMemoryError for every fortnight.
we have allocated 2GB memory to the server using startup script.unix server has 8GB memory.
automatic garbage collection happens properly for some days (for a week) .. We mean memory usage is between 1GB to 2GB .
We would like to know what is the reason for getting java.lang.OutOfMemoryError
Thanks & Regards
WLI team
-
Weblogic Server -- java.lang.OutOfMemoryError (4 messages)
- Posted by: S Yes
- Posted on: April 11 2006 03:16 EDT
Threaded Messages (4)
- Weblogic Server -- java.lang.OutOfMemoryError by Emil Kirschner on April 21 2006 07:49 EDT
- Weblogic Server -- java.lang.OutOfMemoryError by Teemu Kankaanpää on April 24 2006 06:41 EDT
- Re: Weblogic Server -- java.lang.OutOfMemoryError by Jeryl Cook on June 15 2006 20:13 EDT
- Solution may be... by Leslie Vanathuraj on March 04 2009 09:21 EST
-
Weblogic Server -- java.lang.OutOfMemoryError[ Go to top ]
- Posted by: Emil Kirschner
- Posted on: April 21 2006 07:49 EDT
- in response to S Yes
We would like to know what is the reason for getting java.lang.OutOfMemoryError Thanks & RegardsWLI team
I hate to break this to you but it looks like a serious memory leak. With j2ee this is most likely to happen in servlets and ejbs if you use static structures such as singletons which accumulate object instances without ever releasing them. Do you use a cache of some sort? If you use servlets, make sure you make proper use of the http session - expiration time should be set to a reasonable time and avoid storing to many objects in there.
Most important, make sure you properly release ALL references to temporary object when you don't need it any more.
regards,
Emil. ( http://www.thekirschners.com/software/testare/testare.html ) -
Weblogic Server -- java.lang.OutOfMemoryError[ Go to top ]
- Posted by: Teemu Kankaanpää
- Posted on: April 24 2006 06:41 EDT
- in response to S Yes
We received similar problems when using Weblogic's own JRockit JDK. In particular if the server is run on development mode not on production. -
Re: Weblogic Server -- java.lang.OutOfMemoryError[ Go to top ]
- Posted by: Jeryl Cook
- Posted on: June 15 2006 20:13 EDT
- in response to S Yes
memory leak...we fixed our by moving to spring framework, replacing major in-house with 3rd party tools(Hibernate,OSCache,Quartz) u should BUY a good memory debugging tool i suggest u look at JProbe. it is differntly code related!, and i wouldnt use JRockit..stick to Sun's Java editions (1.4),etc.- -
Solution may be...[ Go to top ]
- Posted by: Leslie Vanathuraj
- Posted on: March 04 2009 09:21 EST
- in response to S Yes
Hi, everytime we also face the same issue. Requirements are all same exactly like 2GB RAM. Temporary solution we are using is, restarting the Web application server. If anyone could provide a solution except this restarting installing s/w would be better (optimization side...). Appreciating your patience, Leslie V www.googlestepper.blogspot.com www.scrollnroll.blogspot.com