[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]
terracotta 3.7.4 Offheap  XML
Forum Index -> Terracotta Platform
Author Message
stermeau

neo

Joined: 04/08/2013 07:45:25
Messages: 2
Offline

I tried to setup offheap using
Code:
   <servers>
     <server host="XXXX" name="XXXX">
       <logs>/var/log/terracotta</logs>
       <dso-port>9510</dso-port>
       <jmx-port>9520</jmx-port>
       <data>/data/terracotta</data>
       <index>/data/terracotta</index>
       <data-backup>/data/terracotta</data-backup>
       <statistics>/data/terracotta</statistics>
       <dso>
         <client-reconnect-window>120</client-reconnect-window>
         <persistence>
           <mode>permanent-store</mode>
           <offheap>
             <enabled>true</enabled>
             <maxDataSize>60GB</maxDataSize>
           </offheap>
         </persistence>
       </dso>
     </server>
     <server host="YYYY" name="YYYY">
       <logs>/var/log/terracotta</logs>
       <dso-port>9510</dso-port>
       <jmx-port>9520</jmx-port>
       <data>/data/terracotta</data>
       <index>/data/terracotta</index>
       <data-backup>/data/terracotta</data-backup>
       <statistics>/data/terracotta</statistics>
       <dso>
         <client-reconnect-window>120</client-reconnect-window>
         <persistence>
           <mode>permanent-store</mode>
           <offheap>
             <enabled>true</enabled>
             <maxDataSize>60GB</maxDataSize>
           </offheap>
         </persistence>
       </dso>
     </server>
 

However, the objects are always allocated on the heap and the dev console reports that the max off heap size is 0B.
Is offheap even possible with this version of terracotta?
I can increase the heap size 32G but then what are the performance implications when the GC will run?

Thanks a lot
 
Forum Index -> Terracotta Platform
Go to:   
Powered by JForum 2.1.7 © JForum Team