Hi,
Do you know what is maxPermSize? I have read few articles and they suggested to increase the number if you have a huge number of classes in your application. My question is are they talking about "huge number of UNIQUE classes" or "huge number of loaded classes(w/wo dupe)".
If they are talking about "huge number of UNIQUE classes", then I don't understand why I encountered an outofmemoryError when I run a load test. I created a load script that would ONLY hit several pages of my application repeatly. However, after a period of time, I encounter this error.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[Full GC 45168K->45167K(57344K), 1.0896013 secs]
Thu Aug 15 16:29:39 EDT 2002:<E> <ServletContext-General> Servlet failed with Exception
java.lang.OutOfMemoryError
<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
From this exception, you can see that after the full GC, I should have around 57M of heap available. Why?
Thanks,
Tony
-
maxPermSize (2 messages)
- Posted by: tony yip
- Posted on: August 15 2002 16:35 EDT
Threaded Messages (2)
- maxPermSize by William Kemp on August 15 2002 18:56 EDT
- maxPermSize by tony yip on August 16 2002 10:15 EDT
-
maxPermSize[ Go to top ]
- Posted by: William Kemp
- Posted on: August 15 2002 18:56 EDT
- in response to tony yip
Hi,
This page is good for explaing the GC algorithm:
http://java.sun.com/docs/hotspot/gc/
Perhaps you are out of perm space and should try to increase it?
These are tough, good luck.
Bill -
maxPermSize[ Go to top ]
- Posted by: tony yip
- Posted on: August 16 2002 10:15 EDT
- in response to William Kemp
I overlooked at the GC. Actually, I ran out of heap size since after the Full GC.