RE: Memory test

2003-09-15 Thread Daniel Rosenbaum
I am using JDK 1.4.1 After some further testing I beleive I found the problem. The purgatory is not being emptied quickly enough. To determine this, I modified AbstractDiskCache and added log statements by the purgatory.remove() calls in the code to log which key is being removed. I also

Re: out of memory error with TestDiskCache

2003-09-15 Thread Daniel Rosenbaum
Shaohua, I have a feeling this is the same problem discussed in the recent thread Memory test. Look there for my comments about cache events not firing quickly enough to keep up with the loop, so the items are not being removed from the purgatory quickly enough either. This is causing memory to

RE: out of memory error with TestDiskCache

2003-09-15 Thread Aaron Smuts
There cache isn't made to just dump items into it as fast as possible. Hmmn Aaron -Original Message- From: Daniel Rosenbaum [mailto:[EMAIL PROTECTED] Sent: Monday, September 15, 2003 4:33 PM To: Turbine JCS Users List Subject: Re: out of memory error with TestDiskCache Shaohua,