JA: Added a photo to one of my galleries within my main album today and after doing a Make Album, about ten seconds later I got this unexpected error:
An unexpected error occurred. Please see detailed description below:
java.lang.OutOfMemoryError: Java heap space
at java.desktop/java.awt.image.DataBufferByte.<init>(Unknown Source)
at java.desktop/java.awt.image.Raster.createInterleavedRaster(Unknown Source)
at java.desktop/com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(Unknown Source)
at java.desktop/com.sun.imageio.plugins.jpeg.JPEGImageReader.readRaster(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Searched here and on the Web, couldn't find much (that I could understand,) but since JA contains its own copy of Java, I figured you folks would know the answer.
I don't THINK I've done anything differently with JA, still using Tiger/Linen and Make Album worked just fine a couple days ago. Haven't added any other software or done anything to Windoze.
BTW, there are 857 images in this particular gallery. ("RECENT") and the error triggers when processing #419. I expect that is when Java runs out of memory. At first, I thought I had the problem figured out when I took a closer look at the files in that RECENT folder. There were about a dozen .PSD files that were quite large. I made JPG's of them and then deleted. Finally, closed/restarted JA, did a Make Album, and got the same out of memory heap space error.
I also have some video clips in that folder but they seem to work as advertised and I THINK I remember reading that JA supports video.
So, I'm at a loss for possible answers and will greatly appreciate any and all help.
Try adding that one photo (the one you just added, which triggered the error) to a new, otherwise empty album project, and try to make an album. Do you still get the error? If so, please upload that image somewhere and give us a link to it (assuming it's too large for an attachment here).
If it always fails at object #419, that points very clearly to a problem with that one, particular image. Because the process is multithreaded, if it were just "running out of room," it wouldn't always happen at precisely the same spot. Instead, that error suggests that there's something wonky about the internal formating of one image. You're going to need to track down which one it is.
Well, I guess I am but I never considered full-size originals from a modern DSLR, 4k drone, or mobile phone would be that large in today's context. I guess with all the FB attention (and lousy images,) perhaps it is.
Anyway, if you're curious (not likely,) I currently have:
7221 JPG's in that Album that total 17gb. So that's an average of 2.4mb per image...not all that big is it? But, I do have over a 100 of them are are 10mb or larger with the largest one being 67mb.
Only two videos, 20mb/50mb respectively.
And that's it.
P.S. The rendered JA online album has 13,763 files using 8.9gb.
Thanks again for the help but for some reason, JA decided to re-make all the images so I'm waiting on a long upload. (NOT complaining.)