[TR-34] Property values for single-pass indexing are not scaled Created: 23/Feb/10 Updated: 24/Feb/10 Resolved: 24/Feb/10
|Reporter:||Philipp Sorg||Assignee:||Craig Macdonald|
The value of property "memory.reserved" is interpreted as bytes, and not in MB as stated in the sample property file.
The value of "memory.heap.usage" is interpreted as real number, and not as percentage.
When using the default settings (memory.reserved=50, memory.heap.usage=85), the condition in RuntimeMemoryChecker therefore never gets true and the intermediate runs are not written to disk. When indexing large datasets, this leads to out of memory exceptions.
Maybe it would be a good idea to check the valid range of these properties and output a warning.
|Comment by Craig Macdonald [ 23/Feb/10 ]|
Thanks for the heads up about the sample properties file. I have added suitable checks to the relevant Terrier class for checking that these properties are properly set in the future.
|Comment by Craig Macdonald [ 24/Feb/10 ]|
Committed to trunk. Thanks!