I'm getting a few of these in a script, which is displaying a succession of images in a canvas.
Exception in thread "Image Fetcher 0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Image Fetcher 0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Image Fetcher 0" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Image Fetcher 0" java.lang.OutOfMemoryError: Java heap space
although they don't seem to be stopping execution of the script... Is it serious?
Exception in thread "Image Fetcher 0"
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
After investigation, I've found that it's happening when a high-res JPG image is displayed. Say the picture is about 4MB, 3456 pixels by 2304, needing to be scaled by 0.369 to fit on the screen. It generates the exception:
Exception in thread "Image Fetcher 0" java.lang.OutOfMemoryError: Java heap space
is there a way to adjust the heap space?
Exception in thread "Image Fetcher 0" java.lang.OutOfMemoryError: Java heap space
is there a way to adjust the heap space?
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact: