Thoughts on Java metaspace allocation in IdP 4
Wessel, Keith
kwessel at illinois.edu
Fri Jan 15 23:08:55 UTC 2021
Hi, all,
In reading up on Java's move from perm space to metaspace, I'm learning that it's advisable in many cases to limit Java's amount of memory used for metaspace with something like:
-XX:MetaspaceSize=256m -XX:MaxMetaspaceSize=1024m
Those numbers are probably too large for Shibboleth, I'm guessing. But if not set, it sounds like the metaspace can be as large as Tomcat or Jetty let it be.
The wiki doesn't seem to offer any advice on these settings. Are there recommended values? Or can I assume that the IdP's use of metaspace and Java's garbage collection with - XX:+UseG1GC are good enough?
Thanks,
Keith
More information about the users
mailing list