<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Sigfried,<div><br></div><div>in opencms 8.0.4 clearing the core caches calls</div><div>org.opencms.monitor.CmsMemoryMonitor.clearCache()</div><div><br></div><div>which is implemented as follows:</div><div>----------------------------------------</div><div> /**<br> * Clears almost all internal caches.<p><br> */<br> public void clearCache() {<br><br> clearPrincipalsCache();<br><br> flushCache(CacheType.PROJECT);<br> flushCache(CacheType.RESOURCE);<br> flushCache(CacheType.RESOURCE_LIST);<br> flushCache(CacheType.PROPERTY);<br> flushCache(CacheType.PROPERTY_LIST);<br> flushCache(CacheType.PROJECT_RESOURCES);<br> flushCache(CacheType.PUBLISHED_RESOURCES);<br> }</div><div>----------------------------------------</div><div><br></div><div>PrincipalsCache holds all information about users, groups, accesscontrol list etc. This is used to speed up permission checks.</div><div>I can't tell, what the other caches include.</div><div><br></div><div>As far as I know, at least principals cache is cleared every time you publish</div><div><br></div><div>Hope that helps a bit</div><div><br></div><div>Regards</div><div>Christoph</div><div><br><div><div>Am 21.01.2013 um 11:55 schrieb Siegfried Ehret <<a href="mailto:s.ehret@eurelis.com">s.ehret@eurelis.com</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi all,<br>We are having an epic amount of data in the Heap of the JVM (almost 4go), with lots of data in the old gen.<br>When clearing the Core Cache, the heap is cleared (around 400mo).<br><br>Can you explain me what is included in the Core Cache ?<br><br>Thanks<br><br>-- <br>Siegfried Ehret<br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br><a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br><br><br><br></blockquote></div><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></div></body></html>