[ https://issues.apache.org/jira/browse/LUCENE-3746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doron Cohen updated LUCENE-3746: -------------------------------- Attachment: LUCENE-3746.patch Updated patch - without MemoryMXBean - computing 'max, total, free' (in that order) and deciding by 'free' or falling to 'max-free'. This is more conservative, than MemoryMxBean but since the latter is not full proof either, I prefer the simpler approach. > suggest.fst.Sort.BufferSize should not automatically fail just because of > freeMemory() > -------------------------------------------------------------------------------------- > > Key: LUCENE-3746 > URL: https://issues.apache.org/jira/browse/LUCENE-3746 > Project: Lucene - Java > Issue Type: Bug > Components: modules/spellchecker > Reporter: Doron Cohen > Fix For: 3.6, 4.0 > > Attachments: LUCENE-3746.patch, LUCENE-3746.patch, LUCENE-3746.patch > > > Follow up op dev thread: [FSTCompletionTest failure "At least 0.5MB RAM > buffer is needed" | http://markmail.org/message/d7ugfo5xof4h5jeh] -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org