| Summary: | OutOfMemoryError - nothing documented in help system. | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Andreas Krüger <andreas.krueger> |
| Component: | Doc | Assignee: | Platform-Doc-Inbox <platform-doc-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Mike_Wilson, stefan.berger |
| Version: | 2.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | |||
|
Description
Andreas Krüger
Appearently, -vmargs -Xmx does the trick. The JDK documentation (I'm using SUN 1.4.0) claims that the default value is only 64MB. Yet, Eclipse consistently grabs about 100 MB virtual RAM on my system (before I used -vmargs -Xmx). Does the Eclipse startup programm change the value, or what's going on? This too should be documented. Someone asked me in private email how to go about adding arguments. Other people may be having the same problem, so I answer it here in the open (in a feeble attempt to reduce the amount of email I'm getting): What I do is, call "eclipse.exe" with additional command line arguments. The complete call, that has been working well for me for some time, looks something like this in my case: c:\eclipse\location\eclipse.exe -data c:\my\workspace\location -vmargs -Xmx100m Personally, being a Perl affictionado, I use a small Perl script with an "exec" statement to do this. You should also be able to get by with a simple .bat file. thanks, this helped me a lot. The core "eclipsers" appear to discuss the same in https://bugs.eclipse.org/bugs/show_bug.cgi?id=33972 |