Re: Re: OOME when trying to install HISE

"Guillaume Sauthier (OW2)" <[email protected]> Fri, 17 Jun 2011 12:01:27 +0200
Newsgroups gmane.comp.java.objectweb.jonas
Message-ID <[email protected]>
2011/6/17 Peter Nabbefeld <[email protected]>

> Guillaume Sauthier (OW2) schrieb:
>
>  Your webapp is probably too big to fit in the available heap memory.
>>
>>  Sorry, should have mentioned it's an apache project:
>    http://incubator.apache.org/**hise/ <http://incubator.apache.org/hise/>
>
>
>  You can either:
>> * Strip down your webapp by removing all unrequired jars
>>
>
> Don't know, how, if possible.
>
>
>  * Augment heap memory of the JVM (Start JOnAs with -Xms256m -Xmx512m or
>> more if needed)
>>
>
> Tried that, seems to work (setting Jonbas properties)
>
>
>  * Do not deploy your app with the jonasAdmin UI: simply drop the war in
>> deploy/ or use jonbas to deploy the war for you
>>
>
> Hm, would that work when starting Jonas from NetBeans, as memory settings
> will be the same?
>

The cause of the Exception is because you upload a large file through HTTP.
if you do not pass in HTTP layers, no memory problems...

--G


>
> However, installing seems to be possible after setting VM parameters - but
> there's another exception, related to logging, which still prevents me from
> installing hise, log attached.
>
> Kind regards
>
> Peter
>
>