[opencms-dev] What is the core cache ?
Christoph Fröhlich
cfauto at folge2.de
Mon Jan 21 13:18:37 CET 2013
Hi Sigfried,
in opencms 8.0.4 clearing the core caches calls
org.opencms.monitor.CmsMemoryMonitor.clearCache()
which is implemented as follows:
----------------------------------------
/**
* Clears almost all internal caches.<p>
*/
public void clearCache() {
clearPrincipalsCache();
flushCache(CacheType.PROJECT);
flushCache(CacheType.RESOURCE);
flushCache(CacheType.RESOURCE_LIST);
flushCache(CacheType.PROPERTY);
flushCache(CacheType.PROPERTY_LIST);
flushCache(CacheType.PROJECT_RESOURCES);
flushCache(CacheType.PUBLISHED_RESOURCES);
}
----------------------------------------
PrincipalsCache holds all information about users, groups, accesscontrol list etc. This is used to speed up permission checks.
I can't tell, what the other caches include.
As far as I know, at least principals cache is cleared every time you publish
Hope that helps a bit
Regards
Christoph
Am 21.01.2013 um 11:55 schrieb Siegfried Ehret <s.ehret at eurelis.com>:
> Hi all,
> We are having an epic amount of data in the Heap of the JVM (almost 4go), with lots of data in the old gen.
> When clearing the Core Cache, the heap is cleared (around 400mo).
>
> Can you explain me what is included in the Core Cache ?
>
> Thanks
>
> --
> Siegfried Ehret
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130121/0d18f2f3/attachment.htm>
More information about the opencms-dev
mailing list