The default are in bin/karaf, and you can override bin/setenv.
Regards JB On 07/17/2015 11:28 AM, Srikanth Hugar wrote:
But i could not find any GC argument in karaf scripts. I was expecting /*XX:+USeParNewGC* argument for JVM. Please correct me if i am wrong./ Srikanth Hugar www.gharki.com <http://www.gharki.com> On Fri, Jul 17, 2015 at 2:40 PM, Jean-Baptiste Onofré <[email protected] <mailto:[email protected]>> wrote: No, CMS is the default. On 07/17/2015 10:59 AM, Srikanth Hugar wrote: ok. apache karaf 3.0.0 does not use G1 by default? Srikanth Hugar www.gharki.com <http://www.gharki.com> <http://www.gharki.com> On Fri, Jul 17, 2015 at 2:24 PM, Jean-Baptiste Onofré <[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>> wrote: Hi, you can change your JVM settings to change the GC behavior (you can use the G1 or, if you want to still use the CMS, you can tune the NewRatio, etc). Regards JB On 07/17/2015 10:46 AM, Srikanth Hugar wrote: Hello, I have a application running with *apache karaf 3.0.0* (with *jetty *container). I wanted to run the some performance tests. So started to check the *memory *and *CPU without *running any tests. While profiling noticed that, memory usage goes up and comes down every hour. Basically *GC pauses* happening every *hour*. Is it a default behavior? Can we change? If yes, please let me know how to change. *Please find the attached image for your reference.* Thank you. -- Jean-Baptiste Onofré [email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> http://blog.nanthrax.net Talend - http://www.talend.com -- Jean-Baptiste Onofré [email protected] <mailto:[email protected]> http://blog.nanthrax.net Talend - http://www.talend.com
-- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
