Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » java.lang.OutOfMemoryError: Java heap space when Tool is launching (java.lang.OutOfMemoryError: Java heap space when the tool is launching while running the tests)
java.lang.OutOfMemoryError: Java heap space when Tool is launching [message #1854251] Tue, 09 August 2022 08:07 Go to next message
Ajay Balakumar is currently offline Ajay BalakumarFriend
Messages: 1
Registered: August 2022
Junior Member
In our Jenkins builds we face this error sporadically. Does anyone has any hint?

Args:
-Dosgi.noShutdown=false, -Dosgi.os=win32, -Dosgi.ws=win32, -Dosgi.arch=x86_64,-Xms512m, -Xmx2048m, -XX:PermSize=256m, -XX:MaxPermSize=512m, -Defxclipse.java-modules.dir=<path>, -Dosgi.clean=true, -jar, <path>\org.eclipse.equinox.launcher-1.5.700.v20200207-2156.jar, -debug, -consolelog, -application, org.eclipse.tycho.surefire.osgibooter.uitest, -testproperties, <path>\surefire.properties, -testApplication, org.eclipse.ui.ide.workbench, -product, org.eclipse.platform.ide, -timeout, 7200000

!ENTRY org.eclipse.osgi 4 0 2022-08-08 23:06:20.119
!MESSAGE Startup error
!STACK 1
java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.addWaiter(AbstractQueuedSynchronizer.java:651)
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1060)
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1369)
at java.base/java.util.concurrent.Semaphore.tryAcquire(Semaphore.java:415)
at org.eclipse.core.runtime.adaptor.EclipseStarter.updateSplash(EclipseStarter.java:1190)
at org.eclipse.core.runtime.adaptor.EclipseStarter.refreshPackages(EclipseStarter.java:680)
at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:599)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:331)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:251)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
at org.eclipse.equinox.launcher.Main.run(Main.java:1447)
at org.eclipse.equinox.launcher.Main.main(Main.java:1420)
Re: java.lang.OutOfMemoryError: Java heap space when Tool is launching [message #1854940 is a reply to message #1854251] Mon, 19 September 2022 17:49 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Do you have that much physical memory for your agent? You're reserving three quarters of a gigabyte at startup.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:How to remove Eclipse Test Menus and Tabs
Next Topic:Hello hello can you make it any more difficult 2 report a bug
Goto Forum:
  


Current Time: Fri Apr 26 20:50:07 GMT 2024

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

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

Back to the top