Relates :
|
|
Relates :
|
In JDK8, if you want to create a large CDS archive (with a lot of classes), you need to add VM options like these -XX:SharedReadWriteSize=200000000 -XX:SharedReadOnlySize=200000000 -XX:SharedMiscDataSize=22000000 which is kind of cumbersome. It's better to have higher-level options like: -XX:+UseLargeSharedArchive -> allow up to 300MB combined archive size -XX:+UseHugeSharedArchive -> allow up to 800MB combined archive size
|