BinBrain Community
Welcome, Guest. Please login or register.
May 21, 2012, 05:23:15 PM

Login with username, password and session length
Search:     Advanced search
742 Posts in 415 Topics by 2732 Members
Latest Member: Ditalully
* Home Help Search Login Register


Online Exams | Blogs | Photos | Videos | Real Estate | Recipes | Business Directory| TV | Free Wallpapers
+  BinBrain Community
|-+  Computer Forums
| |-+  Java
| | |-+  JSP
| | | |-+  wts PermGen space error>
« previous next »
Pages: [1] Print
Author Topic: wts PermGen space error>  (Read 1010 times)
bob
Newbie
*
Posts: 41


« on: June 08, 2008, 10:28:09 AM »

hwy iam getting  PermGen space   error?
Logged
jj1985
Newbie
*
Posts: 16


« Reply #1 on: August 04, 2008, 11:16:30 PM »

Perm generation refers to the heap space where all the loades classes are stored. It's exclusively used to store the class definitions. Guess your applications has very huge number of classes.

You can increase the PermSize :
java -XX:MaxPermSize=128M <application>

Try incrementing the permsize by trail and error
Logged
junie
Newbie
*
Posts: 15


« Reply #2 on: August 04, 2008, 11:24:00 PM »

To set a new initial size on Sun JVM use the -XX:PermSize=64m option when starting the virtual machine. To set the maximum permanent generation size use -XX:MaxPermSize=128m
option. If you set the initial size and maximum size to equal values
you may be able to avoid some full garbage collections that may occur
if/when the permanent generation needs to be resized. The default
values differ from among different versions but for Sun JVMs upper
limit is typically 64MB.


Some of the default values for Sun JVMs are listed below.

JDK 1.3.1_06  Initial Size  Maximum Size
Client JVM  1MB  32MB
Server JVM  1MB  64MB



JDK 1.4.1_01  Initial Size  Maximum Size
Client JVM  4MB  64MB
Server JVM  4MB  64MB


JDK 1.4.2  Initial Size  Maximum Size
Client JVM  4MB  64MB
Server JVM  16MB  64MB


JDK 1.5.0  Initial Size  Maximum Size
Client JVM  8MB  64MB
Server JVM  16MB  64MB
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Social Campaigns

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!