(facepalm)  offcourse..   how could I forget that.

thanks :-)

/Nicklas

On Mar 30, 2012, at 6:20 PM, [email protected] wrote:

> Have you deleted your repository dir after change? Be aware Jackrabbit copies 
> repository config for every workspace
> to workspace folder.
> 
> Marek
> 
>> ------------ Původní zpráva ------------
>> Od: Nicklas Löf <[email protected]>
>> Předmět: Bundlecache problem
>> Datum: 30.3.2012 16:58:28
>> ----------------------------------------
>> Hi,
>> 
>> I'm trying to understand if I have found a bug with the bundlecache
>> functionality or if it's just my configuration that is broken.
>> 
>> It looks like it doesn't care at all which value I'm setting for the bundle
>> cache.  I have this configuration:
>> 
>>    <PersistenceManager
>> class="org.apache.jackrabbit.core.persistence.bundle.MySqlPersistenceManager">
>>      <param name="bundleCacheSize" value="5000"/>
>>      <param name="dataSourceName" value="ds1"/>
>>      <param name="schemaObjectPrefix" value="J_PM_${wsp.name}_" />
>>      <param name="externalBLOBs" value="false"/>
>>    </PersistenceManager>
>> 
>> 
>> 
>> and no matter what I set as bundleCacheSize I'm getting these logmessages:
>> 
>> 2012-03-30 16:42:31,078  INFO
>> cachename=defaultBundleCache[ConcurrentCache@5629f5], elements=150194,
>> usedmemorykb=654589, maxmemorykb=1024000, access=1184021, miss=150194
>> 
>> 
>> that says maxmemory is 1GB. It doesn't matter if I set a bundleCacheSize to 
>> 8..
>> it still says 1GB as maxmemory.
>> 
>> I'm using the latest 2.4.0 release and it doesn't matter if I use bundle or 
>> pool
>> MySqlPersistenceManager. (actually it's typing a message that the bundle
>> persistence manager is deprecated even when I use pool).
>> 
>> /Nicklas
>> 
>> 
> 
> Marek Slama
> [email protected]

Reply via email to