Donate Share

Digital Invisible Ink Toolkit

Tracker: Bugs

5 out of memory error with large images - ID: 1542982
Last Update: Settings changed ( kah18 )

When running the program on "large" images the program
crashes with an outofmemory error, something about
needing to allocate a larger heap using the -xmx
parameter. I have verified that I have JVM 1.5
installed.

The size of the last large image I used was a 768 x
576 jpg. I do not have the error if I use a small jpg
like 100x200.


brians08 ( brians08 ) - 2006-08-19 05:10

5

Closed

Invalid

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2006-11-05 10:43
Sender: kah18Project Admin

Logged In: YES
user_id=1279299

Not a bug, is a problem with Java's handling of pictures.
Basically because of the way the image is filtered to find
the pixels with the highest filter values, a lot of memory
is used. The remedy of this situation is to run the program
at the command line, passing in the amount of physical
memory your computer has.

For example:
java -Xmx512m -jar diit-1-5.jar
Tells your computer to run diit with 512m (512 megabytes) of
RAM. This should be more than sufficient to deal with most
pictures from digital cameras. The default if you run by
double clicking the jar file is 64MB (the standard Java
settings).


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2006-11-05 10:44 kah18
close_date - 2006-11-05 10:44 kah18
resolution_id None 2006-11-05 10:43 kah18