jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Smuts, Aaron" <Aaron.Sm...@travelocity.com>
Subject RE: Limiting Disk Cache Size?
Date Tue, 20 Sep 2005 13:18:06 GMT
You can only limit the number of keys, not the size of the file.  The
disk cache keeps track of empty spots from where an item has been
removed and it tries to reuse them, but this doesn't stop it from
growing indefinitely if you keep putting larger and larger items on
disk.  I don't think that the disk cache marks a spot as available when
a key is spooled off the disk cache key lru.  . . .

> -----Original Message-----
> From: Joshua Fuller [mailto:joshfuller@gmail.com]
> Sent: Monday, September 19, 2005 9:07 PM
> To: jcs-users@jakarta.apache.org
> Subject: Fwd: Limiting Disk Cache Size?
> Sorry, if this is a repeat - the last email didnt seem to send so I'm
> trying
> again......
> Is there a way to limit the size of the items in the cache being
stored to
> disk for a given region, or even globally? I can't find any setting
> anywhere
> that limits the size of the files on disk (by number of elements or
> physical).
> Thanks,
> Josh Fuller

To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org

View raw message