-
Notifications
You must be signed in to change notification settings - Fork 6
Out of Memory Enhancement #38
Description
Found this error when ran the game for about 15 minutes straight on Mac OS X. Full stack trace was:
[690.313s][warning][os,thread] Failed to start thread - pthread_create failed (EAGAIN) for attributes: stacksize: 1024k, guardsize: 4k, detached. Exception in thread "Thread-0" 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:813) at java.desktop/com.sun.media.sound.DirectAudioDevice$DirectClip.open(DirectAudioDevice.java:1094) at java.desktop/com.sun.media.sound.DirectAudioDevice$DirectClip.open(DirectAudioDevice.java:1164) at pong.Game.playSound(Game.java:121) at pong.Game.checkWallBounce(Game.java:251) at pong.Game.run(Game.java:167) at java.base/java.lang.Thread.run(Thread.java:844)