Eclipse installation

Hello,

I’m trying to install Eclipse 2.1.1 but when I lauch it I obtain
“Problem during startup. Check the .log file in the .metadata
directory of your workspace” which contains:

!SESSION ----------------------------------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 mar 12, 2004 09:56:15.490
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.OutOfMemoryError

Stack trace:

Information about the environment:
QNX 6.2
Eclipse: /opt/share/eclipse
J9: /opt/share/ive/bin

Eclipse launcher script in /usr/bin:

cd /
cd opt/share/eclipse

export PATH=$PATH:/opt/share/ive/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/share/eclipse/ive/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/share/eclipse/plugins/org.eclipse.swt.photon_2.1.1/os/qnx/x86

exec eclipse

exit

Regards, Gianluca.

Which part of this did you have trouble understanding? Eclipse like most java apps is a real pig on memory. I would not really try playing with it unless you have 512M of ram. It will start with less, but once you try to compile you will likely run out of memory during the compile or link.

Rick…

Actually, you only need 256M of memory if you are compiling C/C++ apps. In general Ecliipse will use 90-140M of memory. You only really need 512M of memory if you plan on invoking two copies of Eclipse (which I do all the time for eclipse development, so all my machines have 512M).

Thank you very much.

Gianluca


A young, er, (un)experienced QNX user…