If the image is too large to fit in your memory, you should probably run JVM with some more memory.
Have a look at parameter -Xmx of your 'java' command.
HTH,
Giuseppe
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just happened to open a bug on this subject. See #1218424.
I even tried to fix the problem, but I couldn't do it.
I still have some free days, and if I get a solution, i will send you a patch.
Bye,
Giuseppe
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi, i used the example given on your projekt page, to scan an image.
everytime the scan is done ( the scanner stops working ) i get an out of memory, before the image can be saved...
do u have any sugestion?
If the image is too large to fit in your memory, you should probably run JVM with some more memory.
Have a look at parameter -Xmx of your 'java' command.
HTH,
Giuseppe
I just happened to open a bug on this subject. See #1218424.
I even tried to fix the problem, but I couldn't do it.
I still have some free days, and if I get a solution, i will send you a patch.
Bye,
Giuseppe