I’m running a Resing server from within MyEclipse. Once in a while the server crashes with an OutOfMemoryException, so I want to increase the size of the max memory allocation. This is possible through an argument to Resin 3. If I run this from the commandprompt it will start fine:
httpd.exe -Xmx512m
But when I try to add the parameter -Xmx512m to “Optional Program Arguments” for Resin 3 in MyEclipse options I get this error:
unknown argument `-verbose'
usage: Resin [-conf resin.conf] [-server id]
I have tried both with and without the ‘-‘ in front of the parameter, with and without space in front, different caps on the letters, and another parameter ‘-verbose’… all without effect.
was using MyEclipse v3.8.4 with Eclipse 3.0.1. Upgraded to MyEclipse 4.0M3_E3.1 with Eclipse 3.1. Still same problem.
I’ve googled to find a solution to the problem, but all I’ve found is people who have installed resin in a directory containing spaces. I have installed resin to C:\resin\resin-3.0.12 so spaces shouldn’t be an issue for me.