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?

-Dosgi.noShutdown=false, -Dosgi.os=win32,, -Dosgi.arch=x86_64,-Xms512m, -Xmx2048m, -XX:PermSize=256m, -XX:MaxPermSize=512m,<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>\, -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
java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.addWaiter(
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(
at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(
at java.base/java.util.concurrent.Semaphore.tryAcquire(
at org.eclipse.core.runtime.adaptor.EclipseStarter.updateSplash(
at org.eclipse.core.runtime.adaptor.EclipseStarter.refreshPackages(
at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(
at java.base/java.lang.reflect.Method.invoke(
at org.eclipse.equinox.launcher.Main.invokeFramework(
at org.eclipse.equinox.launcher.Main.basicRun(
at org.eclipse.equinox.launcher.Main.main(
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: 4345
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: Sat Jun 10 00:49:52 GMT 2023

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

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

Back to the top