Hi James,

the wrapper conf is used only when you use the init script generated (and supposed to be copied in /etc/init.d).
bin/setenv is not used by the wrapper, but by bin/karaf or bin/start script.

Regards
JB

On 10/15/2014 11:42 AM, BURN, James wrote:
Hi


We’re running ServiceMix 5.1.1 (Karaf 2.3.4) under wrapper. We’ve 8Gb on
the VM and I’m trying to increase the amount of memory allocated to the
JVM. I changed the memory in KARAF-service.conf file which was generated
through installing wrapper in ServiceMix to wrapper.java.maxmemory=6244

However, when I restart Karaf I am set -Xmx4096m in startup.  This
appears to be some sort of upper limit; if I put

wrapper.java.maxmemory=2048

this correctly sets –Xmx2048m in startup.

I can start ServiceMix directly and edit /etc/bin/setenv to allocate
more memory, but then lose the functionality of wrapper.


Any thoughts?

James


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to