[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
-XX:DirectMemorySize question  XML
Forum Index -> BigMemory
Author Message
kallenm

neo

Joined: 03/26/2014 14:18:17
Messages: 4
Offline

On startup of our app we get the error message

! Error: 04/08/15-15:20:55 PDT: WARNING: Your ehcache offheap cache configuration (plus an additional 268435456 overhead) is 530579456 bytes. This exceeds the JVM -XXirectMemorySize (524288000). Your application may experience OutOfMemoryErrors.

In ehcache.xml we have the

maxBytesLocalOffHeap="250M"

So when setting --XXirectMemorySize we have to include the offheap we want (250M) plus "additional overhead" correct? Is "additional overhead" a fixed value or is it proportional to maxBytesLocalOffHeap?

Thanks
 
Forum Index -> BigMemory
Go to:   
Powered by JForum 2.1.7 © JForum Team