Hi,
I am new to this forum.
I just finished making an image processing tool for my college project by manipulating the image pixels.
Small size images up to 600-700 kb are loaded properly, but when when I try to load an image with size greater than 1 Mb it gives error.
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
at GetImage.getImagePixels(GetImage.java:109)
at GetImage.loadImage(GetImage.java:86)
at First$2.actionPerformed(First.java:120)
I tried increasing the heap size of jvm but still the same error.
XX:MaxPermSize=128m
-Xms128m
-Xmx1024m
Please help.
Thanks