facebook

Resin 3 program arguments [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #235832 Reply

    gregers
    Member

    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.

    #235865

    Scott Anderson
    Participant

    -Xmx512M is not really a program argument, it’s a VM argument. Add it to to your preferences under Resin 3 > JDK > Optional Java VM Arguments and you should be fine.

    #236041

    gregers
    Member

    Oops, didn’t see that.
    It worked, thanks! 😀

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Resin 3 program arguments [Closed]

You must be logged in to post in the forum log in