Open HindujaB opened 3 days ago
Tested this failure locally and was able to get the complete stacktrace:
java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.Arrays.copyOf(Arrays.java:3482)
at java.base/java.util.ArrayList.grow(ArrayList.java:237)
at java.base/java.util.ArrayList.grow(ArrayList.java:244)
at java.base/java.util.ArrayList.add(ArrayList.java:483)
at java.base/java.util.ArrayList.add(ArrayList.java:496)
at io.ballerina.compiler.internal.parser.BallerinaParser.parseCompUnit(BallerinaParser.java:460)
at io.ballerina.compiler.internal.parser.BallerinaParser.parse(BallerinaParser.java:102)
at io.ballerina.compiler.syntax.tree.SyntaxTree.from(SyntaxTree.java:63)
at io.ballerina.stdlib.websub.action.MandatoryFunctionsGenerationAction.execute(MandatoryFunctionsGenerationAction.java:97)
at io.ballerina.projects.CodeActionManager.executeCodeAction(CodeActionManager.java:131)
at io.ballerina.stdlib.websub.codeaction.AbstractCodeActionTest.executeCodeAction(AbstractCodeActionTest.java:153)
at io.ballerina.stdlib.websub.codeaction.AbstractCodeActionTest.performTest(AbstractCodeActionTest.java:92)
at io.ballerina.stdlib.websub.codeaction.AbstractCodeActionTest.testCodeActions(AbstractCodeActionTest.java:64)
at java.base/java.lang.invoke.LambdaForm$DMH/0x00007d51e43cb000.invokeVirtual(LambdaForm$DMH)
at java.base/java.lang.invoke.LambdaForm$MH/0x00007d51e43d7400.invoke(LambdaForm$MH)
at java.base/java.lang.invoke.Invokers$Holder.invokeExact_MT(Invokers$Holder)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(DirectMethodHandleAccessor.java:157)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:677)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:969)
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
at org.testng.TestRunner$$Lambda/0x00007d51e41587a8.accept(Unknown Source)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at org.testng.TestRunner.privateRun(TestRunner.java:829)
at org.testng.TestRunner.run(TestRunner.java:602)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:437)
And it seems like it is coming from the SyntaxTree
API.
Heap dump for the build: java_pid29690.zip
Description
$subject This was disabled due to an OOM error.
https://github.com/ballerina-platform/module-ballerina-websub/actions/runs/11896654193/job/33149048234
Version
No response