Jvm.properties -Xmn7m seems low

Looking at jvm.properties tuning, I noteced a value which seems low when viewing the default settings: -Xmn.

Since 8.5, it has been set fixed at 7m, with the line vmarg.Xmn=-Xmn7m

But looking up that setting in OpenJ9 docs, (https://www.eclipse.org/openj9/docs/xmn/) that it defaults to an initial size of 25% of -Xms, and a maximum size of 25% of -Xmx.

Following todays 11.0.1 FP2 defaults, that would amount to 64m .. 128m

Which seems more fitting than a fixed 7m, which is corroborated by https://adotpalindrome.wordpress.com/2017/11/21/eclipse-tuning/ which says 'If the Nursery is too small, only smaller objects will get collected, and they will get collected very infrequently'

I can find only sources recommending -Xmn set to approx 25%, and no sources recommending -XMn to 2.7% of -Xms or 1.3% of -Xmx...

I am very curious if HCL development has JVM stress test tools, and what the outcomes of removing -Xmn values would have. My Notes client and Designer seem more stable with a # sign in front of -Xmn7m so the defaults of 25% are used.

Great finding!

Would be interesting to hear something from HCL Support about it

I have always suffered from Notes crashes when using Designer heavily. I implemented the advice here 10 days ago, and I have not had a designer based crash since.

I would agree that my Notes environment is more stable since the change.

Thank you for the confirmation! I hope this wil spark a good look at the Eclipse settings at HCL. Methinks the engine running our beloved client could do with some love for maintenance and settings.