Jhove 1.10 runs out of heap space when run with this test file: http://digitalcorpora.org/corp/nps/files/govdocs1/000/000153.pdf
This patch seems to fix it. In the test file object 717 had "/K 0" and se.buildSubtree() entered an infinite loop. This patch adds a check for an empty list. As it's not a object reference I have assumed that this is the case. Please review to check that the fix is correct.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.