Sun Java Application Server 9.1 – OutOfMemoryError
We have installed SJSAS 9.1 on our production server (SPARC). It has 8 GB memory.
In the first day, we were getting whole lot of sever warning:
PWC1406: Servlet.service() for servlet TechnicalLibraryServlet threw exception java.lang.OutOfMemoryError: Java heap space
So, we have increased the heap size from default 192 to 512
Application Server –> JVM Settings –> JVM Options
![]()
How to check the current heap size?
Application Server – Monitor –> Runtime
How to Monitor SJSAS 9.1?
Setup a Monitor: Configuration –> Monitor
![]()
How to View?
Application Server –> Monitor (You may the Display Chart button to see nice looking graph)
How to check Open and Close Connections?
Application –> Monitor –> Resources
![]()
Full Admin Guide for SJSAS 9.1: http://docs.sun.com/app/docs/doc/819-3671/
——————————————Episode2——————————————————————–
Apparently by increasing heap size did not help much. So we decided to install SJSAS 9.1 Update 1
Java Forum Thread:
http://forums.java.net/jive/thread.jspa?threadID=36239&tstart=15
Results: Wonderful but what an experience. I wish Sun would have fixed this out of memory issue before distribute SJSAS 9.1. I guess that’s why they came up with UR 1, which makes sense.
-
Archives
- November 2009 (1)
- July 2009 (1)
- June 2009 (5)
- May 2009 (2)
- April 2009 (4)
- March 2009 (2)
- January 2009 (3)
- December 2008 (1)
- November 2008 (2)
- October 2008 (1)
- September 2008 (3)
- August 2008 (2)
-
Categories
-
RSS
Entries RSS
Comments RSS