UGH!  

The remove all method did nto remove all.  That's it. 
It has worked for 3 years!!!!!!!!!!!!

JCS used to use a thread for each region.  Now you can
use thread pools.  EH can't do that.

I run multiple tomcat isntances, each with only 128mb
or ram.  I have dozens of cache regions and I'm
putting millions of items through the cache a day on
each app.  I'm using hte indexed disk cache and the
remote cache extensively.

THERE IS NO MEMORY LEAK IN JCS.  THE PROBLEM IS IN
YOUR CODE.  



--- jklame <[EMAIL PROTECTED]> wrote:

> 
> Hi,
> 
> We've been happily using JCS Cache for a few months
> and have started to see
> a memory leak in our application.    I don't believe
> our leak has anything
> to do with JCS,  but I'm getting pressure to try
> alternatives,  specifically
> EHCache.   Mostly this is due to the following blurb
> at
>
http://www.manageability.org/blog/stuff/distributed-cache-java/view
> 
> EHCache - A replacement for JCS. EHCache started out
> as some patches for JCS
> to correct threading and memory leak problems.
> EHCache is faster than JCS.
> Acts as a pluggable cache for Hibernate 2.1. Small
> foot print, both in terms
> of size and memory requirements. Implements JCACHE.
> Implemented by some guys
> at ThoughtWorks.
> 
> What I'm curious about is exactly what the nature of
> the JCS threading and
> memory leak problems were,  and if and when they
> were fixed in JCS.   Any
> references you could provide would be most helpful.
> 
> Thanks,
> John
>     
> -- 
> View this message in context:
>
http://www.nabble.com/EHCache-vs-JCSCache-tf2555532.html#a7121250
> Sent from the JCS - Users mailing list archive at
> Nabble.com.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to