facebook

command line arguments

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #234105 Reply

    aphenner
    Member

    Hi,

    I keep on getting java.outofmemory exceptions and when debugging and running my application the system slows down to a snails pace. Eventually myeclipse will shut itself down due to a java vm out of memory.

    How do I set the myeclipse command line arguments to up my java vm?

    Thanks

    #234117

    Scott Anderson
    Participant

    If Eclipse itself is running out of memory, you just need to change the startup arguments used in your shortcut to start eclipse to something like:
    eclipse.exe -vmargs -Xms128M -Xmx512M

    If a standalone program you’re debugging is running out of memory then modify the launch configuration to add the -X arguments above when it is launched.

    If you’re running an application server through one of our connectors, add the arguments (one per line) to Window > MyEclipse > Application Servers > <server-name> > JDK

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: command line arguments

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