Posted: 29 Nov 2016 3:27 EST Last activity: 11 Dec 2016 20:44 EST
We have increased CodeCacheSize for the JIT compiler and now we set it to 512MB, but still it does not seem to be enough. We are again trying to increase it in production system but is there any way of calculating an appropriate size for specific application? For example, permanent size (meta space size) is related to the number of classes that PRPC generates. What is CodeCacheSize dependent on, and how can we get an appropriate size? Any standard practice in general?
Like I said, we know how much is currently used.. My question was if there is any estimation method or standard practice. Your answer sounds like "No, there is no such calculation and just add it if system throws error.
Posted: 4 years ago
Posted: 1 Dec 2016 20:32 EST
Kevin Zheng (KevinZheng_GCS)
Director, Software Solutions Engineering