FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 11-21-2010, 08:16 PM
Marius Andreiana
 
Default F14: after last updates, getting Eclipse out of memory errors

Hi,

After getting latest updates (glibc and eclise), I started getting reproducible Eclipse out of memory errors (happens during AppEngine deploys). Haven't done any other changes to my env besides yum update.

Should I file a bug?

!ENTRY org.eclipse.ui 4 4 2010-11-20 15:47:18.005
!MESSAGE An internal error has occurred.
!STACK 0
java.lang.OutOfMemoryError: Java heap space
*** at org.eclipse.jface.text.GapTextStore.allocate(GapTe xtStore.java:339)

*** at org.eclipse.jface.text.GapTextStore.reallocate(Gap TextStore.java:290)
*** at org.eclipse.jface.text.GapTextStore.adjustGap(GapT extStore.java:223)
*** at org.eclipse.jface.text.GapTextStore.replace(GapTex tStore.java:196)

*** at org.eclipse.jface.text.CopyOnWriteTextStore.replac e(CopyOnWriteTextStore.java:158)
*** at org.eclipse.jface.text.AbstractDocument.replace(Ab stractDocument.java:1184)
*** at org.eclipse.jface.text.AbstractDocument.replace(Ab stractDocument.java:1210)

*** at org.eclipse.ui.internal.console.ConsoleDocument.re place(ConsoleDocument.java:82)
*** at org.eclipse.ui.internal.console.IOConsolePartition er.processQueue(IOConsolePartitioner.java:572)
*** at org.eclipse.ui.internal.console.IOConsolePartition er$QueueProcessingJob.runInUIThread(IOConsoleParti tioner.java:520)

*** at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
*** at org.eclipse.swt.widgets.RunnableLock.run(RunnableL ock.java:35)
*** at org.eclipse.swt.widgets.Synchronizer.runAsyncMessa ges(Synchronizer.java:134)

*** at org.eclipse.swt.widgets.Display.runAsyncMessages(D isplay.java:3515)
*** at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:3164)
*** at org.eclipse.ui.internal.Workbench.runEventLoop(Wor kbench.java:2640)

*** at org.eclipse.ui.internal.Workbench.runUI(Workbench. java:2604)
*** at org.eclipse.ui.internal.Workbench.access$4(Workben ch.java:2438)
*** at org.eclipse.ui.internal.Workbench$7.run(Workbench. java:671)
*** at org.eclipse.core.databinding.observable.Realm.runW ithDefault(Realm.java:332)

*** at org.eclipse.ui.internal.Workbench.createAndRunWork bench(Workbench.java:664)
*** at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl atformUI.java:149)
*** at org.eclipse.ui.internal.ide.application.IDEApplica tion.start(IDEApplication.java:115)

*** at org.eclipse.equinox.internal.app.EclipseAppHandle. run(EclipseAppHandle.java:196)
*** at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 110)
*** at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:79)

*** at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:369)
*** at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:179)
*** at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)

*** at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:57)
*** at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
*** at java.lang.reflect.Method.invoke(Method.java:616)


!ENTRY org.eclipse.ui 4 4 2010-11-20 15:47:22.987
!MESSAGE An internal error has occurred.
!STACK 0
java.lang.OutOfMemoryError: Java heap space
*** at org.eclipse.jface.text.GapTextStore.allocate(GapTe xtStore.java:339)

*** at org.eclipse.jface.text.GapTextStore.reallocate(Gap TextStore.java:290)
*** at org.eclipse.jface.text.GapTextStore.adjustGap(GapT extStore.java:223)
*** at org.eclipse.jface.text.GapTextStore.replace(GapTex tStore.java:196)

*** at org.eclipse.jface.text.CopyOnWriteTextStore.replac e(CopyOnWriteTextStore.java:158)
*** at org.eclipse.jface.text.AbstractDocument.replace(Ab stractDocument.java:1184)
*** at org.eclipse.jface.text.AbstractDocument.replace(Ab stractDocument.java:1210)

*** at org.eclipse.ui.internal.console.ConsoleDocument.re place(ConsoleDocument.java:82)
*** at org.eclipse.ui.internal.console.IOConsolePartition er.processQueue(IOConsolePartitioner.java:572)
*** at org.eclipse.ui.internal.console.IOConsolePartition er$QueueProcessingJob.runInUIThread(IOConsoleParti tioner.java:520)

*** at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
*** at org.eclipse.swt.widgets.RunnableLock.run(RunnableL ock.java:35)
*** at org.eclipse.swt.widgets.Synchronizer.runAsyncMessa ges(Synchronizer.java:134)

*** at org.eclipse.swt.widgets.Display.runAsyncMessages(D isplay.java:3515)
*** at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:3164)
*** at org.eclipse.jface.window.Window.runEventLoop(Windo w.java:825)

*** at org.eclipse.jface.window.Window.open(Window.java:8 01)
*** at org.eclipse.jface.dialogs.MessageDialog.open(Messa geDialog.java:334)
*** at org.eclipse.ui.internal.ide.dialogs.InternalErrorD ialog.open(InternalErrorDialog.java:80)

*** at org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandl er.openQuestionDialog(IDEWorkbenchErrorHandler.jav a:199)
*** at org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandl er.handleException(IDEWorkbenchErrorHandler.java:1 54)

*** at org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandl er.access$0(IDEWorkbenchErrorHandler.java:146)
*** at org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandl er$1.runInUIThread(IDEWorkbenchErrorHandler.java:1 21)

*** at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
*** at org.eclipse.swt.widgets.RunnableLock.run(RunnableL ock.java:35)
*** at org.eclipse.swt.widgets.Synchronizer.runAsyncMessa ges(Synchronizer.java:134)

*** at org.eclipse.swt.widgets.Display.runAsyncMessages(D isplay.java:3515)
*** at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:3164)
*** at org.eclipse.ui.internal.Workbench.runEventLoop(Wor kbench.java:2640)

*** at org.eclipse.ui.internal.Workbench.runUI(Workbench. java:2604)
*** at org.eclipse.ui.internal.Workbench.access$4(Workben ch.java:2438)
*** at org.eclipse.ui.internal.Workbench$7.run(Workbench. java:671)


--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 11-22-2010, 07:08 AM
Alexander Kurtakov
 
Default F14: after last updates, getting Eclipse out of memory errors

On 10:05:21 am Sunday, November 21, 2010 Marius Andreiana wrote:
> Hi,
>
> After getting latest updates (glibc and eclise), I started getting
> reproducible Eclipse out of memory errors (happens during AppEngine
> deploys). Haven't done any other changes to my env besides yum update.
> Should I file a bug?

Just edit /etc/eclipse.ini and set the
--launcher.XXMaxPermSize and -Xmx384m
to something meaningful for you. JVM can allocate more memory than a predefined
value which can be controlled by startup parameters. This is what we do in
eclipse.ini but we can not set this to something really big because people can
use eclipse for things that even require less than the current settings.

Alexander Kurtakov

>
> !ENTRY org.eclipse.ui 4 4 2010-11-20 15:47:18.005
> !MESSAGE An internal error has occurred.
> !STACK 0
> java.lang.OutOfMemoryError: Java heap space
> at org.eclipse.jface.text.GapTextStore.allocate(GapTe xtStore.java:339)
> at
> org.eclipse.jface.text.GapTextStore.reallocate(Gap TextStore.java:290) at
> org.eclipse.jface.text.GapTextStore.adjustGap(GapT extStore.java:223) at
> org.eclipse.jface.text.GapTextStore.replace(GapTex tStore.java:196) at
> org.eclipse.jface.text.CopyOnWriteTextStore.replac e(CopyOnWriteTextStore.ja
> va:158) at
> org.eclipse.jface.text.AbstractDocument.replace(Ab stractDocument.java:1184)
> at
> org.eclipse.jface.text.AbstractDocument.replace(Ab stractDocument.java:1210)
> at
> org.eclipse.ui.internal.console.ConsoleDocument.re place(ConsoleDocument.jav
> a:82) at
> org.eclipse.ui.internal.console.IOConsolePartition er.processQueue(IOConsole
> Partitioner.java:572) at
> org.eclipse.ui.internal.console.IOConsolePartition er$QueueProcessingJob.run
> InUIThread(IOConsolePartitioner.java:520) at
> org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableL ock.java:35)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessa ges(Synchronizer.java:134
> ) at org.eclipse.swt.widgets.Display.runAsyncMessages(D isplay.java:3515) at
> org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:3164) at
> org.eclipse.ui.internal.Workbench.runEventLoop(Wor kbench.java:2640) at
> org.eclipse.ui.internal.Workbench.runUI(Workbench. java:2604) at
> org.eclipse.ui.internal.Workbench.access$4(Workben ch.java:2438) at
> org.eclipse.ui.internal.Workbench$7.run(Workbench. java:671) at
> org.eclipse.core.databinding.observable.Realm.runW ithDefault(Realm.java:332
> ) at
> org.eclipse.ui.internal.Workbench.createAndRunWork bench(Workbench.java:664)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl atformUI.java:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplica tion.start(IDEApplication
> .java:115) at
> org.eclipse.equinox.internal.app.EclipseAppHandle. run(EclipseAppHandle.java
> :196) at
> org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication
> (EclipseAppLauncher.java:110) at
> org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseA
> ppLauncher.java:79) at
> org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:369
> ) at
> org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:179
> ) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:5
> 7) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImp
> l.java:43) at java.lang.reflect.Method.invoke(Method.java:616)
>
> !ENTRY org.eclipse.ui 4 4 2010-11-20 15:47:22.987
> !MESSAGE An internal error has occurred.
> !STACK 0
> java.lang.OutOfMemoryError: Java heap space
> at org.eclipse.jface.text.GapTextStore.allocate(GapTe xtStore.java:339)
> at
> org.eclipse.jface.text.GapTextStore.reallocate(Gap TextStore.java:290) at
> org.eclipse.jface.text.GapTextStore.adjustGap(GapT extStore.java:223) at
> org.eclipse.jface.text.GapTextStore.replace(GapTex tStore.java:196) at
> org.eclipse.jface.text.CopyOnWriteTextStore.replac e(CopyOnWriteTextStore.ja
> va:158) at
> org.eclipse.jface.text.AbstractDocument.replace(Ab stractDocument.java:1184)
> at
> org.eclipse.jface.text.AbstractDocument.replace(Ab stractDocument.java:1210)
> at
> org.eclipse.ui.internal.console.ConsoleDocument.re place(ConsoleDocument.jav
> a:82) at
> org.eclipse.ui.internal.console.IOConsolePartition er.processQueue(IOConsole
> Partitioner.java:572) at
> org.eclipse.ui.internal.console.IOConsolePartition er$QueueProcessingJob.run
> InUIThread(IOConsolePartitioner.java:520) at
> org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableL ock.java:35)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessa ges(Synchronizer.java:134
> ) at org.eclipse.swt.widgets.Display.runAsyncMessages(D isplay.java:3515) at
> org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:3164) at
> org.eclipse.jface.window.Window.runEventLoop(Windo w.java:825) at
> org.eclipse.jface.window.Window.open(Window.java:8 01)
> at org.eclipse.jface.dialogs.MessageDialog.open(Messa geDialog.java:334)
> at
> org.eclipse.ui.internal.ide.dialogs.InternalErrorD ialog.open(InternalErrorD
> ialog.java:80) at
> org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandl er.openQuestionDialog(IDE
> WorkbenchErrorHandler.java:199) at
> org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandl er.handleException(IDEWor
> kbenchErrorHandler.java:154) at
> org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandl er.access$0(IDEWorkbenchE
> rrorHandler.java:146) at
> org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandl er$1.runInUIThread(IDEWor
> kbenchErrorHandler.java:121) at
> org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableL ock.java:35)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessa ges(Synchronizer.java:134
> ) at org.eclipse.swt.widgets.Display.runAsyncMessages(D isplay.java:3515) at
> org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:3164) at
> org.eclipse.ui.internal.Workbench.runEventLoop(Wor kbench.java:2640) at
> org.eclipse.ui.internal.Workbench.runUI(Workbench. java:2604) at
> org.eclipse.ui.internal.Workbench.access$4(Workben ch.java:2438) at
> org.eclipse.ui.internal.Workbench$7.run(Workbench. java:671)
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 11-23-2010, 05:32 PM
Marius Andreiana
 
Default F14: after last updates, getting Eclipse out of memory errors

On Mon, Nov 22, 2010 at 10:08 AM, Alexander Kurtakov <akurtako@redhat.com> wrote:

On 10:05:21 am Sunday, November 21, 2010 Marius Andreiana wrote:

> Hi,

>

> After getting latest updates (glibc and eclise), I started getting

> reproducible Eclipse out of memory errors (happens during AppEngine

> deploys). Haven't done any other changes to my env besides yum update.

> Should I file a bug?



Just edit /etc/eclipse.ini and set the

--launcher.XXMaxPermSize and -Xmx384m

to something meaningful for you. JVM can allocate more memory than a predefined

value which can be controlled by startup parameters. This is what we do in

eclipse.ini but we can not set this to something really big because people can

use eclipse for things that even require less than the current settings.



Alexander Kurtakov
solved, thanks!


--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 06:44 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org