[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
launching Eclipse from the command line / running Eclipse with more memory
|
Hello,
I am trying to run Eclipse with a lot of projects in my workspace on a Win2K
machine but the application is crashing due to out-of-memory exceptions
after it allocates about 100MB to the javaw.exe process.
It is possible to launch a java application with a larger heap size with
the -Xmx flag, but I cannot get Eclipse to run by simply invoking the
virtual machine with the appropriate main class:
java -cp startup.jar org.eclipse.core.launcher.Main
When I do this in -verbose mode, I can trace the failure to:
...
[Loaded org.eclipse.core.internal.watson.ElementTree$ChildIDsCache]
[Loaded org.eclipse.core.resources.WorkspaceLock]
[Loaded org.eclipse.core.internal.resources.WorkManager$Identifier]
[Loaded org.eclipse.core.internal.boot.Policy]
[Loaded java.lang.Shutdown$Lock from C:\Program
Files\JavaSoft\JRE\1.3.1\lib\rt.jar]
I am sure that I am missing some arguments.
Can somebody tell me how to launch Eclipse from the command line?
Thanks,
Arturo Falck