Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » eclipse internal error with gdb project
eclipse internal error with gdb project [message #39050] Thu, 01 August 2002 17:19 Go to next message
Eclipse UserFriend
Originally posted by: sid.x.com

I decided to use eclipse for a project that I'm working on, I'm porting
GDB to a new processor target, and I get out of memory errors. These
errors sometimes are so bad that I need to re-install eclipse before it
will startup again. I believe that anyone can reproduce what I'm doing by
going to ftp.gnu.org and getting gdb5.2 source. I configure it for my
target but that is not necessary to see the problem. I created a Makefile
at the root of my patchtree which looks like this:
DIRS := obj_lx86

dirs: $(DIRS)
cd $(DIRS); make all

all: dirs

clean:
cd $(DIRS); make clean;

At this level I have three items in my directory, the above Makefile, a
obj_lx86 directory where the built objects reside, and a gdb-5.2 diretory
where the source resides.

I create an eclipse "C" "Standard Make C Project" project. Eclipse then
goes ahead and builds the tree. When I try to browse the source I get out
of memory errors.

I've tried both IBM's java and Sun's java and I've attached the .log from
runs with both version of java.

!SESSION Aug 01, 2002 11:36:39.44
----------------------------------------------
java.fullversion=J2RE 1.3.0 IBM build cx130-20010925 (JIT enabled: jitc)
BootLoader constants: OS=linux, ARCH=x86, WS=motif, NL=en_US
Command-line arguments: -os linux -ws motif -arch x86 -install
file:/home/sid/eclipse/eclipse2/
!ENTRY org.eclipse.ui 4 4 Aug 01, 2002 11:36:39.45
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Aug 01, 2002 11:36:43.403
!MESSAGE java.lang.OutOfMemoryError
!STACK 0
java.lang.OutOfMemoryError
!ENTRY org.eclipse.ui 4 4 Aug 01, 2002 11:36:50.385
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Aug 01, 2002 11:36:50.388
!MESSAGE java.lang.OutOfMemoryError
!STACK 0
java.lang.OutOfMemoryError
!ENTRY org.eclipse.ui 4 2 Aug 01, 2002 11:36:56.905
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui".
!STACK 0
java.lang.NullPointerException
at
org.eclipse.cdt.internal.ui.editor.CEditor$AdaptedSourceView er$VerifyKeyListenersManager.uninstall(CEditor.java:1501)
at
org.eclipse.cdt.internal.ui.editor.CEditor$AdaptedSourceView er$VerifyKeyListenersManager.removeListener(CEditor.java:148 5)
at
org.eclipse.cdt.internal.ui.editor.CEditor$AdaptedSourceView er.removeVerifyKeyListener(CEditor.java:1528)
at
org.eclipse.ui.texteditor.AbstractTextEditor$ActivationCodeT rigger.uninstall(AbstractTextEditor.java:535)
at
org.eclipse.ui.texteditor.AbstractTextEditor.dispose(Abstrac tTextEditor.java:1905)
at org.eclipse.cdt.internal.ui.editor.CEditor.dispose(CEditor.j ava:598)
at org.eclipse.ui.internal.WorkbenchPage$5.run(WorkbenchPage.ja va:902)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:831)
at org.eclipse.core.runtime.Platform.run(Platform.java:416)
at
org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchP age.java:900)
at
org.eclipse.ui.internal.WorkbenchPage.closeAllEditors(Workbe nchPage.java:661)
at org.eclipse.ui.internal.WorkbenchPage.dispose(WorkbenchPage. java:919)
at
org.eclipse.ui.internal.WorkbenchWindow.closeAllPages(Workbe nchWindow.java:406)
at
org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchW indow.java:871)
at
org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchW indow.java:322)
at
org.eclipse.ui.internal.WorkbenchWindow.access$3(WorkbenchWi ndow.java:311)
at org.eclipse.ui.internal.WorkbenchWindow$2.run(WorkbenchWindo w.java:367)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:66)
at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindo w.java:365)
at org.eclipse.jface.window.WindowManager.close(WindowManager.j ava:103)
at org.eclipse.ui.internal.Workbench$2.run(Workbench.java:202)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:831)
at org.eclipse.core.runtime.Platform.run(Platform.java:416)
at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1 73)
at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:15 0)
at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:291)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:66)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:289)
at
org.eclipse.ui.internal.ExceptionHandler.closeWorkbench(Exce ptionHandler.java:109)
at
org.eclipse.ui.internal.ExceptionHandler.handleException(Exc eptionHandler.java:88)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:560 )
at org.eclipse.jface.window.Window.open(Window.java:537)
at
org.eclipse.ui.internal.dialogs.InternalErrorDialog.open(Int ernalErrorDialog.java:65)
at
org.eclipse.ui.internal.dialogs.InternalErrorDialog.openQues tion(InternalErrorDialog.java:166)
at
org.eclipse.ui.internal.ExceptionHandler.openQuestionDialog( ExceptionHandler.java:187)
at
org.eclipse.ui.internal.ExceptionHandler.handleException(Exc eptionHandler.java:92)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1180)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1160)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:775)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:248)
at org.eclipse.core.launcher.Main.run(Main.java:698)
at org.eclipse.core.launcher.Main.main(Main.java:534)
!ENTRY org.eclipse.ui 4 4 Aug 01, 2002 11:39:37.504
!MESSAGE Problems saving workspace
!ENTRY org.eclipse.ui 4 1 Aug 01, 2002 11:39:37.505
!MESSAGE Problems occurred while trying to save the state of the workbench.
!SUBENTRY 1 org.eclipse.ui 4 1 Aug 01, 2002 11:39:37.506
!MESSAGE Internal Error
!STACK 0
java.lang.OutOfMemoryError
!SESSION Aug 01, 2002 11:45:53.457
---------------------------------------------
java.version=1.3.1_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=motif, NL=en_US
Command-line arguments: -os linux -ws motif -arch x86 -install
file:/home/sid/eclipse/eclipse2/
!ENTRY org.eclipse.ui 4 4 Aug 01, 2002 11:45:53.459
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Aug 01, 2002 11:45:53.463
!MESSAGE java.lang.OutOfMemoryError
!STACK 0
java.lang.OutOfMemoryError
<<no stack trace available>>
!ENTRY org.eclipse.ui 4 2 Aug 01, 2002 11:46:04.266
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui".
!STACK 0
java.lang.NullPointerException
at
org.eclipse.cdt.internal.ui.editor.CEditor$AdaptedSourceView er$VerifyKeyListenersManager.uninstall(CEditor.java:1501)
at
org.eclipse.cdt.internal.ui.editor.CEditor$AdaptedSourceView er$VerifyKeyListenersManager.removeListener(CEditor.java:148 5)
at
org.eclipse.cdt.internal.ui.editor.CEditor$AdaptedSourceView er.removeVerifyKeyListener(CEditor.java:1528)
at
org.eclipse.ui.texteditor.AbstractTextEditor$ActivationCodeT rigger.uninstall(AbstractTextEditor.java:535)
at
org.eclipse.ui.texteditor.AbstractTextEditor.dispose(Abstrac tTextEditor.java:1905)
at org.eclipse.cdt.internal.ui.editor.CEditor.dispose(CEditor.j ava:598)
at org.eclipse.ui.internal.WorkbenchPage$5.run(WorkbenchPage.ja va:902)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:831)
at org.eclipse.core.runtime.Platform.run(Platform.java:416)
at
org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchP age.java:900)
at
org.eclipse.ui.internal.WorkbenchPage.closeAllEditors(Workbe nchPage.java:661)
at org.eclipse.ui.internal.WorkbenchPage.dispose(WorkbenchPage. java:919)
at
org.eclipse.ui.internal.WorkbenchWindow.closeAllPages(Workbe nchWindow.java:406)
at
org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchW indow.java:871)
at
org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchW indow.java:322)
at
org.eclipse.ui.internal.WorkbenchWindow.access$3(WorkbenchWi ndow.java:311)
at org.eclipse.ui.internal.WorkbenchWindow$2.run(WorkbenchWindo w.java:367)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:66)
at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindo w.java:365)
at org.eclipse.jface.window.WindowManager.close(WindowManager.j ava:103)
at org.eclipse.ui.internal.Workbench$2.run(Workbench.java:202)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:831)
at org.eclipse.core.runtime.Platform.run(Platform.java:416)
at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1 73)
at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:15 0)
at org.eclipse.ui.internal.Workbench$3.run(Workbench.java:291)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:66)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:289)
at
org.eclipse.ui.internal.ExceptionHandler.closeWorkbench(Exce ptionHandler.java:109)
at
org.eclipse.ui.internal.ExceptionHandler.handleException(Exc eptionHandler.java:94)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1180)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1160)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:775)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:248)
at org.eclipse.core.launcher.Main.run(Main.java:698)
at org.eclipse.core.launcher.Main.main(Main.java:534)
!ENTRY org.eclipse.ui 4 4 Aug 01, 2002 11:46:10.790
!MESSAGE Problems saving workspace
!ENTRY org.eclipse.ui 4 1 Aug 01, 2002 11:46:10.792
!MESSAGE Problems occurred while trying to save the state of the workbench.
!SUBENTRY 1 org.eclipse.ui 4 1 Aug 01, 2002 11:46:10.793
!MESSAGE Internal Error
!STACK 0
java.lang.OutOfMemoryError
<<no stack trace available>>
Re: eclipse internal error with gdb project [message #39078 is a reply to message #39050] Thu, 01 August 2002 17:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sid.x.com

sid manning wrote:


BTW: from the log file you might think that my system just ran out of
memory, but that is not the case. I never use > 66% of my system memory
while this operation is underway.
Re: eclipse internal error with gdb project [message #39108 is a reply to message #39078] Fri, 02 August 2002 08:26 Go to previous message
Eclipse UserFriend
Originally posted by: g.wagenknecht.intershop.de

"sid manning" <sid@x.com> schrieb im Newsbeitrag
news:aibroh$e12$1@rogue.oti.com...

> BTW: from the log file you might think that my system just ran out of
> memory, but that is not the case. I never use > 66% of my system memory
> while this operation is underway.

Did you try to start eclipse telling the JVM to use more memory? Default is
only 64MB. You can pass JVM arguments to the eclipse executable useing
parameter "-vmargs -Xmx256m -Xms256m" (this will allow eclipse to take a
maximum of 256 MB heap size).

Cu, Gunnar
Previous Topic:code assist?
Next Topic:Wow to use eclipse.cdt together with IBMs z/OS C/C++ productivity toolkit
Goto Forum:
  


Current Time: Sun Nov 10 01:26:56 GMT 2024

Powered by FUDForum. Page generated in 0.03337 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top