]
Sanne Grinovero resolved HSEARCH-205.
-------------------------------------
Resolution: Fixed
Fix Version/s: 3.1.0
Out of Memory on copy of large indexes
--------------------------------------
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
Assignee: Sanne Grinovero
Fix For: 3.1.0
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: