Cache logging from AbstractBundlePersistenceManager does not work when I change
default bundle cache size to 512
----------------------------------------------------------------------------------------------------------------
Key: JCR-3256
URL: https://issues.apache.org/jira/browse/JCR-3256
Project: Jackrabbit Content Repository
Issue Type: Bug
Components: jackrabbit-core
Affects Versions: 2.4
Reporter: Marek Slama
When I left default bundle cache size every 1min I get cache stats log for
bundle cache. I wanted to increase cache size and see result but it stopped to
log. I added
{code}
<PersistenceManager
class="org.apache.jackrabbit.core.persistence.pool.PostgreSQLPersistenceManager">
<param name="dataSourceName" value="postgresql"/>
<param name="schemaObjectPrefix" value="pm_${wsp.name}_"/>
<param name="bundleCacheSize" value="512"/>
</PersistenceManager>
{code} to workspace section
and
{code}
<PersistenceManager
class="org.apache.jackrabbit.core.persistence.pool.PostgreSQLPersistenceManager">
<param name="dataSourceName" value="postgresql"/>
<param name="schemaObjectPrefix" value="pm_version_"/>
<param name="bundleCacheSize" value="128"/>
</PersistenceManager>
{code} to version section.
I have also
{code}
JAVA_OPTS="$JAVA_OPTS -Dorg.apache.jackrabbit.maxCacheMemory=256000000
-Dorg.apache.jackrabbit.maxMemoryPerCache=128000000"
{code} but as I did not find any info how caches handled by CacheManager are
related to bundle cache I assume they do not share the same memory ie. bundle
cache is not handled by CacheManager. In any case I did not see any error in my
log with these settings and log from CacheManager works as before. If there is
any relation between bundle cache and CacheManager it should be clearly
documented.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira