martylamb/nailgun — pull request #50 by lauri-elevant (2014-11-15 20:56:27+00:00)
Title: Close NGInputStream

Before:
1) start nailgun
2) Observe "ps -o nlwp PID
2) run "ng ng-stats" 10x
4) Observe "ps -o nlwp PID"
5) Shows +20 threads "leaked"
6) jstack -F PID confirms it

After: seems to be resolved.

Was getting lots of "java.lang.OutOfMemoryError: unable to create new native thread". Now seems to be resolved (I did reduce Xss as well, so, who knows..)