Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » multiple eclipse Jobs causes error: java/lang/OutOfMemoryError
multiple eclipse Jobs causes error: java/lang/OutOfMemoryError [message #636513] Mon, 01 November 2010 16:19 Go to next message
Jack Higgins is currently offline Jack HigginsFriend
Messages: 2
Registered: October 2010
Junior Member
Hi,

I am new to Eclipse and I am writing my first eclipse application.
I am using the eclipse Jobs API to move long running tasks away from the main UI thread.

In my application i have a number of views each containing a TreeViewer. When the views are created I have a seperate job for each view to update itself from the back ground model.

However when launching the application I see the following error:

JVMDUMP006I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" - please wait.

Has anyone come across this issue before ?

Thanks,
Jack.
Re: multiple eclipse Jobs causes error: java/lang/OutOfMemoryError [message #636536 is a reply to message #636513] Mon, 01 November 2010 18:58 Go to previous messageGo to next message
Heiko Ahlig is currently offline Heiko AhligFriend
Messages: 62
Registered: July 2009
Member
Sounds like too many object, which would be loaded.
Maybe You can increase your application memory, with the Launching options:
--launcher.XXMaxPermSize <value>
or the vm argument:
-Xmx384m

(
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. platform.doc.isv/reference/misc/runtime-options.html
)

Greetings
Heiko


Am 01.11.2010 17:20, schrieb Jack Higgins:
> Hi,
>
> I am new to Eclipse and I am writing my first eclipse application.
> I am using the eclipse Jobs API to move long running tasks away from the
> main UI thread.
> In my application i have a number of views each containing a TreeViewer.
> When the views are created I have a seperate job for each view to update
> itself from the back ground model.
> However when launching the application I see the following error:
>
> JVMDUMP006I Processing dump event "systhrow", detail
> "java/lang/OutOfMemoryError" - please wait.
>
> Has anyone come across this issue before ?
>
> Thanks,
> Jack.
Re: multiple eclipse Jobs causes error: java/lang/OutOfMemoryError [message #637970 is a reply to message #636536] Tue, 09 November 2010 13:56 Go to previous message
Federico Gaule is currently offline Federico GauleFriend
Messages: 21
Registered: September 2010
Location: Buenos Aires, Argentina
Junior Member
Hi,

You should check how many objects are you managing and do some improvement to your code performance. Also, you could implement virtual views to avoid processing all your objects. If you want you can update your code so i can take a look.

Thankls
Previous Topic:how do I modify org.eclipse.ui.workbench plugin
Next Topic:ViewerFilter implementation
Goto Forum:
  


Current Time: Thu Apr 25 07:59:10 GMT 2024

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

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

Back to the top