I think increasing the available memmory to JVM would be enough. Add these parameters to the command line:
Code:
java -Xms256M -Xmx512M ....
This way, a min. of 256Mb to a max. of 512Mb will be available. Change the values acording to your needs and tell us if it worked
Regards.