cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vgritse...@hns.com>
Subject RE: IT'S TIME TO REDO YOUR TESTS, GENTLEMEN!
Date Wed, 22 Aug 2001 14:46:39 GMT
Gerhard,

It's not an inner class :)
http://marc.theaimsgroup.com/?l=xml-cocoon-cvs&m=99845052531765&w=4

Check these lines:

       /** ..put the new object in the cache, on the top of course ... */
  -    this.cache.put(key, new CacheObject(value,System.currentTimeMillis(),serialisedFlag));
  +    this.cache.put(key, value);
  +    this.mrulist.remove(key);
       this.mrulist.addFirst(key);

mrulist was growing twice faster then cache.

PS: CLI is still running... 37500 pages... NTFS can handle more files in a single directory
then FAT32. Who could know this?

Vadim

> -----Original Message-----
> From: Gerhard Froehlich [mailto:g-froehlich@gmx.de]
> Sent: Wednesday, August 22, 2001 10:24 AM
> To: cocoon-dev@xml.apache.org
> Subject: Re: IT'S TIME TO REDO YOUR TESTS, GENTLEMEN!
>
>
> Hi Vadim,
> >  - another with mrulist in MRUMemoryStore.
> can you explain me why this inner class produces
> a memory leak?
>
> Cheers
> Gerhard
>
>
> --
> Gerhard Fröhlich
> g-froehlich@gmx.de
>
> "black holes are,
> when GOD is dividing by zero"
>
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message