Thanks for the information.
Used instance:opts-change and is working fine.

-Vinu

-----Original Message-----
From: Jean-Baptiste Onofré [mailto:[email protected]]
Sent: Tuesday, September 23, 2014 6:04 PM
To: [email protected]
Subject: Re: Setting heap size of Karaf instances

By the way, the configuration of the instances is in 
instances/instances.properties file.

Regards
JB

On 09/23/2014 02:07 PM, [email protected] wrote:
> Using Apache Karaf 3.0.1 on RHEL 5.5. I am trying out running multiple
> instances of karaf using same installation. Create 2 instances using
> instance:create command and started using instance_start <instance
> name> command. The root instance has a JVM heap size of 4GB set using
> JAVA_OPTS set in the environment. The instances are not taking the
> JAVA_OPTS instead defaulting the heap size to 512M. I tried modifying
> the setenv file in $KARAF_HOME/bin directory but no effect.  How do I
> set heap size for instances ?
>
> regards
>
> Vinu
>
> The information contained in this electronic message and any
> attachments to this message are intended for the exclusive use of the
> addressee(s) and may contain proprietary, confidential or privileged
> information. If you are not the intended recipient, you should not
> disseminate, distribute or copy this e-mail. Please notify the sender
> immediately and destroy all copies of this message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses.
> The company accepts no liability for any damage caused by any virus
> transmitted by this email.
>
> www.wipro.com
>

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

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

Reply via email to