473,404 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Eclispe event loop exception?

Hi,

I am adding a plug into eclipse environment which contains an editor (ie graphical workbench) where i can drag and drop graphical devices from a device repository.i am getting error as event loop exception when i open and close a graphical file through navigator for about six times ..and the whole eclipse crashes

The error is as follows :

Event Loop Exception

Org.eclipse.swt.swterror:No more handles
..........

out of memory error: Java heap space.

Thanks and Regards
Bala
Apr 26 '07 #1
6 2445

Event Loop Exception

Org.eclipse.swt.swterror:No more handles
..........

out of memory error: Java heap space.



for these errors ...

can you please give me the solution for this problem....
Apr 27 '07 #2
Event Loop Exception

.............
out of memory error: Java heap space.



about these errors anyone can explain me plz.....
May 2 '07 #3
r035198x
13,262 8TB
Event Loop Exception

.............
out of memory error: Java heap space.


about these errors anyone can explain me plz.....
If your code is OK and there are no infinite loops, you can increase the heap space
May 2 '07 #4
the errors which I got ....


Error while informing user about event loop exception:
org.eclipse.swt.SWTError: No more handles
at org.eclipse.swt.SWT.error(SWT.java:3400)
at org.eclipse.swt.SWT.error(SWT.java:3297)
at org.eclipse.swt.SWT.error(SWT.java:3268)
at org.eclipse.swt.widgets.Widget.error(Widget.java:4 35)
at org.eclipse.swt.widgets.Control.createHandle(Contr ol.java:508)
at org.eclipse.swt.widgets.Composite.createHandle(Com posite.java:235)
at org.eclipse.swt.widgets.ToolBar.createHandle(ToolB ar.java:252)
at org.eclipse.swt.widgets.Control.createWidget(Contr ol.java:523)
at org.eclipse.swt.widgets.Scrollable.createWidget(Sc rollable.java:131)
at org.eclipse.swt.widgets.ToolBar.createWidget(ToolB ar.java:352)
at org.eclipse.swt.widgets.Control.<init>(Control.jav a:98)
at org.eclipse.swt.widgets.Scrollable.<init>(Scrollab le.java:72)
at org.eclipse.swt.widgets.Composite.<init>(Composite .java:93)
at org.eclipse.swt.widgets.ToolBar.<init>(ToolBar.jav a:98)
at org.eclipse.jface.action.ToolBarManager.createCont rol(ToolBarManager.java:99)
at org.eclipse.jface.action.ToolBarContributionItem.f ill(ToolBarContributionItem.java:194)
at org.eclipse.jface.action.CoolBarManager.update(Coo lBarManager.java:919)
at org.eclipse.ui.internal.WorkbenchWindow.updateActi onBars(WorkbenchWindow.java:2754)
at org.eclipse.ui.internal.WorkbenchWindow.largeUpdat eEnd(WorkbenchWindow.java:2803)
at org.eclipse.ui.internal.Workbench.largeUpdateEnd(W orkbench.java:2735)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEdit or(WorkbenchPage.java:2531)
at org.eclipse.ui.internal.WorkbenchPage.access$10(Wo rkbenchPage.java:2520)
at org.eclipse.ui.internal.WorkbenchPage$9.run(Workbe nchPage.java:2505)
at org.eclipse.swt.custom.BusyIndicator.showWhile(Bus yIndicator.java:67)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(W orkbenchPage.java:2500)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(W orkbenchPage.java:2485)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:388)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:350)
at org.eclipse.ui.actions.OpenFileAction.openFile(Ope nFileAction.java:98)
at org.eclipse.ui.actions.OpenSystemEditorAction.run( OpenSystemEditorAction.java:98)
at org.eclipse.ui.views.navigator.OpenActionGroup.run DefaultAction(OpenActionGroup.java:125)
at org.eclipse.ui.views.navigator.MainActionGroup.run DefaultAction(MainActionGroup.java:328)
at org.eclipse.ui.views.navigator.ResourceNavigator.h andleOpen(ResourceNavigator.java:679)
at org.eclipse.ui.views.navigator.ResourceNavigator$6 .open(ResourceNavigator.java:434)
at org.eclipse.jface.viewers.StructuredViewer$2.run(S tructuredViewer.java:817)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner .java:37)
at org.eclipse.core.runtime.Platform.run(Platform.jav a:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil. java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnab le.java:149)
at org.eclipse.jface.viewers.StructuredViewer.fireOpe n(StructuredViewer.java:815)
at org.eclipse.jface.viewers.StructuredViewer.handleO pen(StructuredViewer.java:1069)
at org.eclipse.jface.viewers.StructuredViewer$6.handl eOpen(StructuredViewer.java:1168)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent( OpenStrategy.java:249)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenS trategy.java:243)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent( OpenStrategy.java:283)
at org.eclipse.swt.widgets.EventTable.sendEvent(Event Table.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents( Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Wor kbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench. java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWork bench(Workbench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl atformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDE Application.java:95)
at org.eclipse.core.internal.runtime.PlatformActivato r$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 92)
at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Mai n.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java: 280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Dialog open exception:
java.lang.OutOfMemoryError: Java heap space



this is the error


how to increase the heap size?
May 2 '07 #5
how to increase the heap size?
Is there any specific way to proceed these type of errors?
To increase the heap size what are all the thing we need to do?

Thanks...
May 2 '07 #6
r035198x
13,262 8TB
how to increase the heap size?
Is there any specific way to proceed these type of errors?
To increase the heap size what are all the thing we need to do?

Thanks...
I don't know the proper way of doing it on eclipse. Google it ...
May 2 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Anand Pillai | last post by:
This is for folks who are familiar with asynchronous event handling in Python using the asyncore module. If you have ever used the asyncore module, you will realize that it's event loop does not...
21
by: Alo Sarv | last post by:
Hi From what I have understood from various posts in this newsgroup, writing event loops pretty much comes down to this: while (true) { handleEvents(); sleep(1); // or _sleep() or...
3
by: Clarence Gardner | last post by:
I'm seeing surprising behavior, consistent across Opera, Firefox, and IE. An event handler is changing the value of an element, and there is apparently no Change event being generated for the...
1
by: Frank Fulton | last post by:
I ran a search through the last 52,549 msg's in this forum and found nothing and was unable to find anything in the .net help system or MSDN online. I know there used to be a way to monitor disk...
2
by: Craig | last post by:
Hi I listen on a port, when data is received I raise an event (OnMessageReceived) in the while loop as follows: private void WaitForConnection() { TcpListener listener = new...
2
by: akameswaran | last post by:
Admittedly this problem causes no actual functional issues aside from an occasional error message when the program exits. The error is: Unhandled exception in thread started by Error in...
1
by: brad.serbus | last post by:
I am trying to figure out a way to have health monitoring throw different Event IDs into the event log, and am having a hard time. None of the customization that I have looked through so far has...
4
by: raylopez99 | last post by:
See comment below. This is a simple problem but I'm a little rusty. How to break out of a event loop (here _Paint)? I've tried if/else, case, etc but not quite what I want--I keep getting the JIT...
2
by: =?Utf-8?B?TWlrZVo=?= | last post by:
I know this is an ASP.NET question, but I know some experts can help me in this newsgroup: I have an asp.net web page, I need to push indefinite live video stream to web Brower, and here is the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.