Huge sun.nio.fs object churn on EAP7
Issue
- After starting JBoss EAP, without any user using the system, the memory shows a saw-tooth pattern, going from 1G to 10G, then back to 1G, then to 10G, etc.
- It doesn't seem like a memory leak, it just uses a lot of memory without any user usage.
- Garbage collection analysis does not show any issues. Objects apparently die very young and are collected very cheaply.
- Heap dump analysis shows huge numbers of
sun.nio.fs.UnixPathandsun.nio.fs.UnixFileAttributes$UnixAsBasicFileAttributesand significant heap space in unreachable objects that will be reclaimed during the next garbage collection. - Heap dump analysis does not show any live
sun.nio.fs.UnixPathandsun.nio.fs.UnixFileAttributes$UnixAsBasicFileAttributesobjects, butsun.nio.fsretention related to thexnio-file-watcherthread.
Environment
- JBoss Enterprise Application Platform (EAP) 7.0.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.