Hi,

Nothing to add to Paul's answer.
I found the tip of replacing the intern() method by the use of a hashmap 
in the excellent site of Roedy Green :

http://mindprod.com/jgloss/interned.html#WHY (end of the page)

Michaël


Paul Austin a écrit :
> Andreas,
>
> PermGen space is the area that the Java virtual machine uses to store 
> class file definitions and things like interned Strings.
>
> If you are using commons-logging in say tomcat then there can be cases 
> where classes in your web application are referenced by classes in the 
> servlet container itself. If this happens if you redeploy your 
> application many times then the old versions of the classes from your 
> web app can't be garbage collected (PermGen space items can be garbage 
> collected) so eventually the PermGen space fills up.
>
> Paul
>
> Andreas Schmitz wrote:
>> Michaël Michaud wrote:
>>
>> Hi,
>>
>> first of all, thanks for the effort of making OpenJUMP faster!
>>
>>   
>>> ==> permgen memory cannot be cleaned (no way to free the permgen space if 
>>> the
>>> layer is deleted)
>>>     
>> Do you know of a good reference of how the different memory types work/what
>> they're used for? We're sometimes also struggling with PermGen space errors, 
>> and
>> don't really have a clue what they're about (just increasing the space 
>> usually
>> works well enough)...
>>
>> Best regards, Andreas
>>   
>>  
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ 
>> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
>>  
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net 
>> <mailto:Jump-pilot-devel@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>   
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>   


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to