On Jan 29, 2014, at 02:59 , Marvin Humphrey <[email protected]> wrote:

> On Tue, Jan 28, 2014 at 11:26 AM, Nick D. <[email protected]> wrote:
>> Why do I get a memory allocation error on a 32 bit OS and not a 64 bit OS?
> 
> It's probably a known architectural flaw in SortWriter which makes it consume
> too much RAM.

This issue should be resolved in the sortfieldwriter branch. The following two 
commits are the crucial ones:

https://git-wip-us.apache.org/repos/asf?p=lucy.git;a=commitdiff;h=0e49ac6f6ca45860d5598060b89bdac3fbfed2db

https://git-wip-us.apache.org/repos/asf?p=lucy.git;a=commitdiff;h=a5aa40a93d0b2542dc04afd387619b015cf273b5

It would be interesting to know whether they make a difference in Nick D.’s 
case. If they solve his problem, we should consider backporting the fix to the 
0.3 branch.

Nick W.

Reply via email to