Provide configuration option for StoreJanitor to invoke flush and clear instead 
of free on stores that allow for disk overflow (e.g. EHDefaultStore)
----------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: COCOON-2293
                 URL: https://issues.apache.org/jira/browse/COCOON-2293
             Project: Cocoon
          Issue Type: Improvement
          Components: * Cocoon Core
            Reporter: Krzysztof Kowalczyk


Invoking free on EHDefaultStore increase memory consumption and takes quite 
some time as described in https://issues.apache.org/jira/browse/COCOON-2292. In 
our environment when we have 300 mb of free heap it is not enough to complete 
freeing of objects. But Ehcache can be configured to clear memory store on 
flush, so when flush is invoked all elements from memory are removed. This 
seems to have lower memory consumption and preserve cached elements (instead of 
permanently removing them).

So it would be good to have a possibility to configure StoreJanitor for such 
behavior.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to