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:[EMAIL PROTECTED] > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]