[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-205) Out of Memory on copy of large indexes by JMS

Sanne Grinovero (JIRA) noreply at atlassian.com
Mon Jun 2 20:10:33 EDT 2008


Out of Memory on copy of large indexes by JMS
---------------------------------------------

                 Key: HSEARCH-205
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-205
             Project: Hibernate Search
          Issue Type: Bug
          Components: directory provider
            Reporter: Sanne Grinovero


When using  FSMasterDirectoryProvider Hibernate Search uses java.nio.channels.FileChannel to make a copy of the index,
but each File needs to reserve an amout of RAM equals to the current block size; it is currently set to "whole file", so
for big indexes it could cause Out of Memory errors.

The file should be transfered splitting it in minor fixed blocks.

http://forum.hibernate.org/viewtopic.php?t=987323

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

        



More information about the hibernate-issues mailing list