Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OutOfMemory in Tests #538

Open
koin612 opened this issue May 23, 2023 · 6 comments
Open

OutOfMemory in Tests #538

koin612 opened this issue May 23, 2023 · 6 comments
Labels

Comments

@koin612
Copy link
Contributor

koin612 commented May 23, 2023

Seems not always to be the case. Running mvn install in root.

[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.216 s - in com.predic8.membrane.core.rules.ProxySSLTest
[INFO] Running com.predic8.membrane.integration.SessionManager
[ERROR] unable to create native thread: possibly out of memory or process/resource limits reached
Exception in thread "main" java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
        at java.base/java.lang.Thread.start0(Native Method)
        at java.base/java.lang.Thread.start(Thread.java:802)
        at java.base/java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:945)
        at java.base/java.util.concurrent.ThreadPoolExecutor.ensurePrestart(ThreadPoolExecutor.java:1593)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:346)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor.schedule(ScheduledThreadPoolExecutor.java:562)
        at org.apache.maven.surefire.booter.ForkedBooter.launchLastDitchDaemonShutdownThread(ForkedBooter.java:481)
        at org.apache.maven.surefire.booter.ForkedBooter.exit1(ForkedBooter.java:425)
        at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:605)
        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)
@koin612 koin612 added the bug label May 23, 2023
@rrayst
Copy link
Contributor

rrayst commented May 23, 2023

mac issue? @predic8

building on Github works https://github.com/membrane/service-proxy/actions/runs/5057045330 (though that does not run all the tests to stay within the time limit)

@koin612
Copy link
Contributor Author

koin612 commented May 23, 2023

I've build it on OSX already today and it worked, having github actions take a long time, I've tried to build it again locally and got this multiple times

@koin612
Copy link
Contributor Author

koin612 commented May 23, 2023

Possible that this is triggered by the changes in azuretablestorage branch, will check

@bridgerdier
Copy link
Contributor

OOM also occurs on Github during Ubuntu build:
Screenshot_20230525_215832

@t-burch
Copy link
Collaborator

t-burch commented Oct 18, 2023

This seems to be fixed right? @koin612

@koin612
Copy link
Contributor Author

koin612 commented Oct 18, 2023

This seems to be fixed right? @koin612

I don't think so. Did not touch it and experienced OOM in Github and local builds.

@t-burch t-burch self-assigned this Oct 18, 2023
@t-burch t-burch removed their assignment Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants