Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-ui-dev] OutOfMemoryError?

On the Eclipse planning call yesterday, we talked about the memory consumption of Eclipse and how some of us regularly encounter OutOfMemoryErrors when running with the default heap settings, using only the SDK. This seems to be new in 3.5.

In order to collect at least more of such anecdotal evidence, I would like everyone on the Platform UI team to run with the default heap size, and one additional command line argument (requires a Sun VM): -XX:+HeapDumpOnOutOfMemoryError

This command line argument (to be added after "-vmargs") causes a heap dump to be written on disk when an OutOfMemoryError happens. We can then use http://wiki.eclipse.org/index.php/MemoryAnalyzer to look at the heap dump, post mortem.

Thanks!
Boris


Back to the top