> If you had gone over 2GB of actual buffer *usage*, it would have > broke... Guaranteed. > We've now added a check in Lucene 2.9.1 that will throw an exception > if you try to go over 2048MB. > And as the javadoc says, to be on the safe side, you probably > shouldn't go too near 2048 - perhaps 2000MB is a good practical limit. >
I browsed http://issues.apache.org/jira/browse/LUCENE-1995 and http://search.lucidimagination.com/search/document/f29fc52348ab9b63/arrayind exoutofboundsexception_during_indexing - it is not proof of concept. It is workaround. Problem still exists, and scenario is unclear. -Fuad http://www.linkedin.com/in/liferay