I think it's time to *think* about it (ie turn to jdk 7). I don't mean to 
change things, simply think about them, prepare them...

From: "Adam Heath" <doo...@brainfood.com>
==
Area: HotSpot
Synopsis: In JDK 7, interned strings are no longer allocated in the
permanent generation of the Java heap, but are instead allocated in
the main part of the Java heap (known as the young and old
generations), along with the other objects created by the application.
This change will result in more data residing in the main Java heap,
and less data in the permanent generation, and thus may require heap
sizes to be adjusted. Most applications will see only relatively small
differences in heap usage due to this change, but larger applications
that load many classes or make heavy use of the String.intern() method
will see more significant differences.
RFE: 6962931
==

A few years back, I modified ofbiz to intern strings read from
entitymodel and servicemodel files.  According to the above new
feature, those strings where in permgen.  Also, as ofbiz has used more
and more groovy files, there are more and more classes loaded.  That
also implies a much larger permgen.

Reply via email to