syvaidya / openstego

OpenStego is a steganography application that provides two functionalities: a) Data Hiding: It can hide any data within an image file. b) Watermarking: Watermarking image files with an invisible signature. It can be used to detect unauthorized file copying.
https://www.openstego.com
GNU General Public License v2.0
1.15k stars 212 forks source link

java.lang.OutOfMemoryError: Java heap space #13

Closed ctrlmaniac closed 7 years ago

ctrlmaniac commented 7 years ago

When I try to watermark a hi-res pictur it will throw the "java.lang.OutOfMemoryError: Java heap space" error!

2017-05-04 1

syvaidya commented 7 years ago

You can try increasing memory allocation in "openstego.bat" file. You'll see one param -Xmx1024m. Change 1024 to 2048 for example.