In my application, whenever I load this one file I always get a OutOf MemoryError, java heap space…
I know why, its becasue the image is 4000pixels by 4000pixels…
Which i know i have no real reason to load this, but how would i catch this error so that i can keep the program running smoothly?