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

Sanne Grinovero (JIRA) noreply at atlassian.com
Tue Jun 3 09:49:33 EDT 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_30316 ] 

Sanne Grinovero commented on HSEARCH-205:
-----------------------------------------

Also testing a file transfer of 4GB and I don't get any error, but the file is silently truncated
(I can only test on linux). 

a similar problem here:
http://forum.java.sun.com/thread.jspa?threadID=5254816&messageID=10055959

> 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