Hi! Congrats for your article, it's the only one I found that explains Java memory usage this clearly and detailedly.
Is there any way for multiple JVMs using the same AppCDS .jsa to only load it to RAM once? I need to run multiple equal .jars and I notice they all load the .jsa to memory (using NMT i see that the memory that was previously used by "Class" is now used by "Shared class space"), making faster start-up the only benefit of class sharing.
Is there a way to them share classes without having each of them load them to RAM separately?
Thanks in advance.
PS: I use OpenJDK 16
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi! Congrats for your article, it's the only one I found that explains Java memory usage this clearly and detailedly.
Is there any way for multiple JVMs using the same AppCDS .jsa to only load it to RAM once? I need to run multiple equal .jars and I notice they all load the .jsa to memory (using NMT i see that the memory that was previously used by "Class" is now used by "Shared class space"), making faster start-up the only benefit of class sharing.
Is there a way to them share classes without having each of them load them to RAM separately?
Thanks in advance.
PS: I use OpenJDK 16