memory management - Adding java ClassLoaders to heap not perm gen -


We have an application that generates thousands of Java Classloaders and classes before they can collect garbage. We are absolutely convinced that there is no class loader leak, but we are receiving transit errors (even if it is orthogonal for any possible leakage).

Is there a way to specify certain classloaders?

We are using Oracle JDK Java 6 on Linux.


EDIT: Looks like Java 8 is no PermGen now it will be replaced by METASPRESS.

Of course you're getting the sequence of common errors - that's where Square loader classes. What would you expect?

You can map them into a byte buffer, like Java NIO does it, but they do not go to the pile.

You should try to increase your paragraph general size before taking extraordinary measures. How many paragraph general spaces do you need? Try it using Visual VM and see.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -