Huge sun.nio.fs object churn on EAP7

Solution Unverified - Updated -

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.UnixPath and sun.nio.fs.UnixFileAttributes$UnixAsBasicFileAttributes and 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.UnixPath and sun.nio.fs.UnixFileAttributes$UnixAsBasicFileAttributes objects, but sun.nio.fs retention related to the xnio-file-watcher thread.

Environment

  • JBoss Enterprise Application Platform (EAP) 7.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.