facebook

[Closed] Jboss memory

💡
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 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #274807 Reply

    topicfun
    Member

    Hi!

    How can I start the Jboss with a different memory settings? I mean the MyEclipse use an own start script for Jboss… Where is it located?

    If I start the Jboss without MyEclipse I can set the following values in the run.conf and run.bat -Xms256m -Xmx768m I’d like to set this value for Jboss inside the MyEclipse as well….

    Thx,
    Topicfun

    #274827

    Loyal Water
    Member

    They can be entered in the “optional program arguments” text box by going to Windows > Preferences > MyEclipse > Application Server > JBoss > JBoss 2.x (or whatever version you have configured)

    #274859

    MyEclipseCA
    Member

    Hi there

    Which is the exact command that I should put on the “optional program arguments” text box for changing the memory setting? I have tried with some and the console responds me something like this:
    jboss: unrecognized option ‘–set’
    or likte this

    jboss: unused non-option argument: JAVA_OPTS=%JAVA_OPTS%
    jboss: invalid option — X

    please could someone tell me which are the exact words?

    #274866

    topicfun
    Member

    Hi!

    This is the question for me as well! How can I set it at the optional argument?

    The problem that with optional argument you can set some Jboss run.bat arguments but the Jboss takes the memory value not from run.bat + arg but from a conf file via JAVA_OPTS…..

    Thx,
    Topicfun

    #274876

    Loyal Water
    Member

    You will have to put exactly the values:
    -Xms256m -Xmx768m

    in that box.

    #274882

    MyEclipseCA
    Member

    I put the exact values -Xms256m -Xmx768m and i get a message like this in the console:

    jboss: invalid option — X

    #274897

    Loyal Water
    Member

    Sorry for confusing you guys. These aren’t JBoss arguments, they are actually VM arguments. They have to be entered as JDK arguments by going to Windows > Preferences > MyEclipse > Application Server > JBoss > JBoss 2.x (or whatever version you have configured) > JDK

    #274965

    MyEclipseCA
    Member

    …and it is done.. thank you very much for your help,

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: [Closed] Jboss memory

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