jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torg...@pobox.com>
Subject Re: permgen error with jackrabbit 1.1
Date Wed, 18 Oct 2006 21:42:28 GMT

On 18 Oct 2006, at 22:07, Alexandru Popescu wrote:

> On 10/19/06, Michael Neale <michael.neale@gmail.com> wrote:
>> Yeah bumping up PermGen is usually fine, and not indicative of a  
>> memory leak
>> necessarily.
>> The Sun JVM (at least) does not treat class data the same as  
>> regular objects
>> (but JRockit does, apprently, do it wouldn't have this problem).
> I don't think this is really the problem, because the lifecycle of
> classes is different then the lifecycle of regular objects, and really
> tied to classloading mechanisms. And the permgen the OP is talking
> about seems to be related to the fact that the classloader cannot be
> dismissed because some classes are hanging around. After a new
> deployment a new classloader is created and so on, this finally
> resulting in the permgen error.
> The only real fix for this is to figure out what classes are left
> behind and fix this. And I agree, that this is not an easy task :-).

I might have a look using a debugger to step into loading classes  
when doing a session login. Using jconsole allows printing out all  
class loading and unloading, so it should give me some pointers..

Torgeir Veimo

View raw message