joni-jones opened a new issue, #5431: URL: https://github.com/apache/openwhisk/issues/5431
# Summary I'm working on upgrading OpenWhisk to Akka 2.6.20 and Scala 2.13 and experienced the issue with OpenWhisk invokers consuming all available g1-old heap size after running for a couple of days with active traffic. Doing heap profiling I got the following suggestions from Heap Hero: ``` One instance of akka.actor.LocalActorRef loaded by jdk.internal.loader.ClassLoaders$AppClassLoader @ 0x3c05c5018 occupies 20,136,784 (18.14%) bytes. The memory is accumulated in one instance of scala.collection.immutable.RedBlackTree$Tree, loaded by jdk.internal.loader.ClassLoaders$AppClassLoader @ 0x3c05c5018, which occupies 20,132,728 (18.14%) bytes. ``` Further analysis with Eclipse Memory Analyzer shows the following: <img width="1186" alt="Screenshot 2023-08-03 at 11 26 51 AM" src="https://github.com/apache/openwhisk/assets/2736528/51d8fa89-c0d2-4385-b6d4-9c5dcd83e433"> <img width="644" alt="Screenshot 2023-08-03 at 11 29 54 AM" src="https://github.com/apache/openwhisk/assets/2736528/267f6826-c0fa-42a9-87d3-331e9682b9a0"> <img width="737" alt="Screenshot 2023-08-03 at 11 29 34 AM" src="https://github.com/apache/openwhisk/assets/2736528/278d6cd9-50e2-4fab-88e6-4742576248bc"> ## Environment details: * Scala 2.13 * Akka 2.6.20 * Akka HTTP 10.2.10 * Akka Management 1.1.4 Any suggestions on where I should look to find the root cause of this memory leak? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
