jakarta-jcs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Smuts (JIRA)" <j...@apache.org>
Subject [jira] Closed: (JCS-3) File Optimization expensive in memory and disk space
Date Fri, 16 Mar 2007 00:34:10 GMT

     [ https://issues.apache.org/jira/browse/JCS-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Aaron Smuts closed JCS-3.

This enhancement has been applied for some time now.  Closing issue.

> File Optimization expensive in memory and disk space
> ----------------------------------------------------
>                 Key: JCS-3
>                 URL: https://issues.apache.org/jira/browse/JCS-3
>             Project: JCS
>          Issue Type: Bug
>          Components: Indexed Disk Cache
>         Environment: Any
>            Reporter: Peter Schwarz
>         Assigned To: Aaron Smuts
>             Fix For: jcs-
>         Attachments: indexed-disk.patch, indexed-disk.patch, IndexedDisk.java, IndexedDiskCache.java,
IndexedDiskDumper.java, IndexedDiskElementDescriptor.java, StandardSerializer.java
> The file optimization for the IndexedDiskCache creates a duplicate of the cache file.
 In deployments with large volumes of data this doubling of disk usage can be problematic.
 If this could be done inside the single file, it would be easier on the disk. 
> Additionally, OutOfMemoryErrors are common due to the deserializing and reserializing
of the objects in the cache.  Given the the size in bytes of each object in the file is known
(it's part of the record), the objects could be moved in the file without recreating an instance
of the object in memory.  The use of a single buffer for reading and then writing the data
(to either the same file or a new one) would be much more efficient for handling this optimization.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message