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

Fatal Exception: java.lang.OutOfMemoryError #123

Open
Expressint opened this issue Sep 22, 2022 · 1 comment
Open

Fatal Exception: java.lang.OutOfMemoryError #123

Expressint opened this issue Sep 22, 2022 · 1 comment

Comments

@Expressint
Copy link

Can you please help to fix this issue.

Fatal Exception: java.lang.OutOfMemoryError
Could not allocate JNI Env: Failed anonymous mmap(0x0, 8192, 0x3, 0x22, -1, 0): Out of memory. See process maps in the log.

java.lang.Thread.nativeCreate (Thread.java)
java.lang.Thread.start (Thread.java:884)
java.util.concurrent.ThreadPoolExecutor.addWorker (ThreadPoolExecutor.java:975)
java.util.concurrent.ThreadPoolExecutor.execute (ThreadPoolExecutor.java:1382)
java.util.concurrent.Executors$DelegatedExecutorService.execute (Executors.java:630)
com.github.nkzawa.thread.EventThread.nextTick (EventThread.java:71)
com.github.nkzawa.thread.EventThread.exec (EventThread.java:52)
com.github.nkzawa.engineio.client.transports.PollingXHR$1.call (PollingXHR.java:53)
com.github.nkzawa.emitter.Emitter.emit (Emitter.java:117)
com.github.nkzawa.engineio.client.transports.PollingXHR$Request.onResponseHeaders (PollingXHR.java:254)
com.github.nkzawa.engineio.client.transports.PollingXHR$Request.access$500 (PollingXHR.java:135)
com.github.nkzawa.engineio.client.transports.PollingXHR$Request$1.run (PollingXHR.java:210)
java.lang.Thread.run (Thread.java:920)

Thanks.

@YovanggaAnandhika
Copy link

Can you please help to fix this issue.

Fatal Exception: java.lang.OutOfMemoryError Could not allocate JNI Env: Failed anonymous mmap(0x0, 8192, 0x3, 0x22, -1, 0): Out of memory. See process maps in the log.

java.lang.Thread.nativeCreate (Thread.java) java.lang.Thread.start (Thread.java:884) java.util.concurrent.ThreadPoolExecutor.addWorker (ThreadPoolExecutor.java:975) java.util.concurrent.ThreadPoolExecutor.execute (ThreadPoolExecutor.java:1382) java.util.concurrent.Executors$DelegatedExecutorService.execute (Executors.java:630) com.github.nkzawa.thread.EventThread.nextTick (EventThread.java:71) com.github.nkzawa.thread.EventThread.exec (EventThread.java:52) com.github.nkzawa.engineio.client.transports.PollingXHR$1.call (PollingXHR.java:53) com.github.nkzawa.emitter.Emitter.emit (Emitter.java:117) com.github.nkzawa.engineio.client.transports.PollingXHR$Request.onResponseHeaders (PollingXHR.java:254) com.github.nkzawa.engineio.client.transports.PollingXHR$Request.access$500 (PollingXHR.java:135) com.github.nkzawa.engineio.client.transports.PollingXHR$Request$1.run (PollingXHR.java:210) java.lang.Thread.run (Thread.java:920)

Thanks.

Do you have some sample code ?. cause of "java.lang.OutOfMemoryError" Due to systematic execution of commands in your code you experience loops or memory leaks. be sure to read the documentation carefully so that no forced closing occurs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants