Hi Claude,

Claude Vedovini schrieb:
> This option does not appear in my VM's help (java -X) but I will give it a 
> try!

Its an extended option, which is so extended, that it does not even
appear on -X ;-)

> By the way, do you know where I can find what is the available context
> in a script, beyond "currentNode"?

Have a look on our wiki at [1] (this page should probably go to the main
site...)

[1] http://cwiki.apache.org/SLING/scripting-variables.html

> 
> Thx,
> Claude
> 
> 
> 
> On Fri, Apr 3, 2009 at 11:22 AM, Felix Meschberger <[email protected]> wrote:
>> Hi Claude,
>>
>> raising the heap size does not help here, since this does not
>> (generally) enlarge the PermGen space. The PermGen space is used amongst
>> other things (very old objects) to store the class objects. If this
>> space fills up, the VM has lost ...
>>
>> So, provided you are running a Sun VM, you might consider setting the
>> -XX:MaxPermSize command line option to a higher value than the default.
>> See also [1] for more info.
>>
>> Hope this helps.
>>
>> Regards
>> Felix
>>
>> [1] http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp
>>
>> Claude Vedovini schrieb:
>>> Hi all,
>>>
>>> I am running Sling under jBoss and I am not able to keep the server
>>> alive for more than 10mn (30s when using a webdav client) because I
>>> get "OutOfMemoryError: PermGen space" errors, even tho the max heap
>>> size is set to be at 2Go.
>>>
>>> I searched through the mailing-list archives but the only results are
>>> related to the building of Sling.
>>> On Google, results are suggesting issues with webapp reloading
>>> features, but that's not happening here.
>>>
>>> Any hint?
>>>
>>> Thanks,
>>> Claude Vedovini
>>> ---
>>> Software Consulting & Development
>>> +41 78 617 86 98
>>> http://vedovini.net/
>>> http://www.dita-op.org/
>>>
> 

Reply via email to