[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]
Disabled cache manager but still faulting objects...  XML
Forum Index -> General
Author Message
Shake

master

Joined: 01/05/2008 07:27:49
Messages: 84
Offline

Hi,

I start my terracotta clients with "-Dcom.tc.l1.cachemanager.enabled=false". Then I have started the admin console and watched the "Object Flush Rate" and I have seen that those clients still flush out some objects (not many, but sometimes I have a smal peak).
Any ideas how I can avoid that any objects are flushed?



Thanks,

Johannes
kbhasin

consul

Joined: 12/04/2006 13:08:21
Messages: 340
Offline

The word "flush" in the admin console can be a little misleading. The object count you see under "flush rate" is the number of objects that are no longer resident in the local heap. This might happen because:

1. All references to the objects were cleared by the application and they were garbage collected or

2. If the memory utilization of the application heap is high and the Terracotta Memory Manager had to clear references to the object as part of the LFU+LRU object eviction policies.

You are seeing objects being GCed as per case 1 above.

Regards,

Kunal Bhasin,
Terracotta, Inc.

Be a part of the Terracotta community: Join now!
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.7 © JForum Team