jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "CacheManager" by ThomasMueller
Date Wed, 19 Dec 2007 11:08:42 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by ThomasMueller:
http://wiki.apache.org/jackrabbit/CacheManager

------------------------------------------------------------------------------
  The CacheManager manages the size of the caches used in Jackrabbit (MLRUItem``State``Cache
objects). The combined size of all caches must be limited to avoid out of memory problems.
Without CacheManager, Jackrabbit can run out of memory because the the combined size of the
various caches is not managed. This mechanism is not the definitive solution; it may be desirable
to internally use only one cache.
  
- The CacheManager does not control the memory used by unsaved data (data in the transient
space).
+ The CacheManager does not control the memory used by unsaved data (data in the transient
space). If you get out of memory exceptions, check that your application calls Node.save()
or (even better) Session.save() from time to time. Unsaved changes are kept in memory with
the current Jackrabbit.
  
  The maximum size for all caches in CacheManager is 16 megabytes by default, but it can be
changed like this:
  

Mime
View raw message