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