Is there a limit to the number of classes my Java program can use?
We employ about 17,000 classes and receive OutOfMemory errors even when calls to the java system class' free memory method reports hundreds of MB are free.
-
Too Many Classes? (2 messages)
- Posted by: Luke Samaha
- Posted on: October 10 2003 15:13 EDT
Threaded Messages (2)
- Too Many Classes? by Race Condition on October 10 2003 16:37 EDT
- Too Many Classes? by Cameron Purdy on October 11 2003 13:27 EDT
-
Too Many Classes?[ Go to top ]
- Posted by: Race Condition
- Posted on: October 10 2003 16:37 EDT
- in response to Luke Samaha
17,000 classes? That's bull$hit. -
Too Many Classes?[ Go to top ]
- Posted by: Cameron Purdy
- Posted on: October 11 2003 13:27 EDT
- in response to Luke Samaha
Sounds like you may need to increase the maxpermsize JVM parameter if you are using the Sun JVM or a derivative.
Peace,
Cameron Purdy
Tangosol, Inc.
Coherence: Clustered JCache for Grid Computing!