Announcement Announcement Module
Collapse
No announcement yet.
How to set the JVM_OPTS ? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to set the JVM_OPTS ?

    Hi,

    I'm running a bunch of test against the vfabric-tc-server-standard 2.6, and always meet the memory issue.
    I tried to set something like this:
    set JVM_OPTS=-Xms512m -Xmx1024m -XX:MaxPermSize=128m -Xss192K
    in the $INSTANCE/bin/setenv.bat, but it didn't seem to work.

    Anybody could help tell me how to set the memory argument properly ?

    Thanks!

  • #2
    How to set the JVM_OPTS ?

    Not sure if you got around this, since it is a few months old.

    In setenv.sh, you do not use the "set" command. You just provide JVM_OPTS="..."

    Comment


    • #3
      On Windows, this post will help:
      http://forum.springsource.org/showth...556#post358556

      Comment


      • #4
        it is working thanks for the help...

        Comment


        • #5
          Hi
          You could add the following evinroment variable to your OS:
          LEIN_JVM_OPTS=-Xms4G -Xmx4G
          On Windows for example, you could add at the top of "lein.bat" file the following line (under "@echo off"):
          SET LEIN_JVM_OPTS=-Xms4G -Xmx4G

          Comment

          Working...
          X