Hi Chandan, I would not recommend the wrapper with large heap and new JDK. The reason is because the Tanuki Java Wrapper used by the Karaf wrapper is super old (due to license issue).
Do you see the same problem using the bin/karaf script ? I would also recommend using G1 GC instead of CMS with Java 17. Regards JB On Tue, Mar 12, 2024 at 8:21 AM Chandan Singh <mailbox.chandansi...@gmail.com> wrote: > > Hi All , > > We upgraded from Karaf 4.3.7 (Java 11) to Karaf 4.3.10 ( Java 17 ) . but we > are noticing some degradation in performance during load testing . These > were the setting we have kept in wrapper in Java 11 > > wrapper.java.additional.12=-XX:+UseConcMarkSweepGC > wrapper.java.additional.13=-XX:NewRatio=2 > wrapper.java.additional.14=-Xmx20480M > wrapper.java.additional.15=-Xms5120M > > which now as UseConcMarkSweepGC has been removed in Java 17 . We modified > it below but we still don't see any improvements . > > wrapper.java.additional.12=-XX:+UseG1GC > wrapper.java.additional.13=-XX:NewRatio=2 > wrapper.java.additional.14=- Xmx20480M > wrapper.java.additional.15=-Xms5120M > > Any recommendations on the same ? > > > regards > Chandan