What steps will reproduce the problem?
1. In accordance with the log below, go to Watchmen on Astana
2. clean the pages project directory of all but images/
3. from above, run ca_analyze.py -m images pages
What is the expected output? What do you see instead?
I expected ca_analyze to finish -- instead, the process quit in the middle
of the job (see log below). Results.txt was empty, etc.
I currently have 3 guesses --
a) that something about the color / compression encoding of the specific
file Watchmen--00154.jpg killed it -- although it was generated by the same
batch process as all the other images.
b) that under certain circumstances the process uses more memory the larger
the batch, and that 154 images killed it
c) that something about the way I invoked ca_analyze.py from the command
line and with an empty but existing config.py killed it.
astana:Watchmen jeremydouglass$ pwd
/Volumes/SWS02/projects/jeremy/comics/graphic novels/Watchmen
astana:Watchmen jeremydouglass$ ca_analyze.py -m images pages
Processing line...
/Applications/Programming/softwarestudies/scripts/line -d pages/lines
--preset high pages/images
[line]Processing...Watchmen--00001.jpg
[line]Processing...Watchmen--00002.jpg
[line]Processing...Watchmen--00003.jpg
[...]
line]Processing...Watchmen--00153.jpg
[line]Processing...Watchmen--00154.jpg
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at misc.ImageUtil.convolve(ImageUtil.java:181)
at extractor.LineFeature.process(LineFeature.java:297)
at extractor.LineFeature.main(LineFeature.java:489)
Error processing pages/images/Watchmen--00154.jpg
Error: line
Processing colorTexture...
/Applications/Programming/softwarestudies/scripts/colorTexture -d 1
/Volumes/SWS02/projects/jeremy/comics/graphic novels/Watchmen/pages/images/
Invalid arguments. --help for more info
Error: colorTexture
astana:Watchmen jeremydouglass$
Original issue reported on code.google.com by jeremydouglass@gmail.com on 8 Sep 2009 at 6:45
Original issue reported on code.google.com by
jeremydouglass@gmail.com
on 8 Sep 2009 at 6:45Attachments: