We are seeing our perm space gradually increase throughout the day until we eventually get a fatal HotSpot JVM crash. We have implemented a few JVM settings that we hope will help. However, I had a few questions about perm:
Can an object ever migrate from tenured into perm? Meaning, a truly long lived object (say a Singleton) in tenured could move to perm. (My guess is no, as I have never read anything like this before, just checking).
I know that reflective objects (classes, methods, etc.) are stored in perm. Is the string-constant pool there as well? Anything else?
Thanks much!
- Saish