ModeShape out of memeory (OOM) problem.
Issue
We are using a JCR repository with Modeshape that is included with Data Virtualization 6.1. After several days of adding content, we see the memory usage keeps increasing.
All of our JCR sessions are being closed properly, after a full garbage collection we can see no JcrSessions surviving the collection. The memory usage is consistently high, even after a few hours of not adding any content and all indexing operations being completed. Our heap size is 8gb, 1/3rd young and 2/3rd old space. (-XX:NewRatio=2)
Our configuration has a maximum of 40,000 entries for the Modeshape infinispan cache, and 10,000 entries for the Hibernate and Hibernate query cache. After a restart of one node, we see less than one gigabyte of memory being used, so the 40,000 entries in the Modeshape infinispan cache cannot be the problem, since the state has been transferred to this new node.
Environment
Red Hat JBoss Data Virtualization
6.1.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
