Is it a memory leak with LIRS eviction strategy in JDG6 and JDG7

Solution Verified - Updated -

Issue

  • I have a memory/heap issue with the LIRS eviction strategy
  • When I put a lot of data in a cache with an eviction size (10 for an example), the cache size is 10 (that's the expected behaviour).
    But if we have a look deep inside the DataContainer ant the BoundedEquivalentConcurrentHashMapV8 content, we can see that a lot of keys are still retained by the internal structure.
  • Populate a cache cause OurOfMemory if LIRS policy is used for eviction, is that a memory leak?

Environment

  • Red Hat JBoss Data Grid (JDG)
    • 6.6.1
    • 7.0.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content