[infinispan-issues] [JBoss JIRA] Created: (ISPN-523) reduce Lucene Directory memory usage: store only initialized buffer ranges

Sanne Grinovero (JIRA) jira-events at lists.jboss.org
Sat Jul 3 09:02:46 EDT 2010


reduce Lucene Directory memory usage: store only initialized buffer ranges
--------------------------------------------------------------------------

                 Key: ISPN-523
                 URL: https://jira.jboss.org/browse/ISPN-523
             Project: Infinispan
          Issue Type: Task
          Components: Lucene Directory
            Reporter: Sanne Grinovero
            Assignee: Sanne Grinovero
             Fix For: 4.1.0.CR1, 5.0.0.BETA1


All buffers created prior to writing a new file chunk are initialized at bufferSize and then stored as-is (as the full buffer);

In most cases the memory penalty due to unused areas is not noticeable as biggest files are split in several chunks, but the many smallest files containing metadata only are wasting more memory, as only a couple of bytes are used in each.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list