Discussions

Performance and scalability: Too Many Classes?

  1. Too Many Classes? (2 messages)

    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.

    Threaded Messages (2)

  2. Too Many Classes?[ Go to top ]

    17,000 classes? That's bull$hit.
  3. Too Many Classes?[ Go to top ]

    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!