The server seems to run fine when it's online, no lag or anything, and /gc reported about a 19.95 - 20 TPS, But when I restart it, especially after editing something in one of the plugin files, it repeatedly crashes on startup with this error:
10.07 21:17:15 [Server] WARN Exception in thread "Craft Scheduler Thread - 3"
10.07 21:17:15 [Server] WARN java.lang.OutOfMemoryError: unable to create new native thread
10.07 21:17:15 [Server] WARN at java.lang.Thread.start0(Native Method)
10.07 21:17:15 [Server] WARN at java.lang.Thread.start(Thread.java:717)
10.07 21:17:15 [Server] WARN at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:957)
10.07 21:17:15 [Server] WARN at java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:1025)
10.07 21:17:15 [Server] WARN at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
10.07 21:17:15 [Server] WARN at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
10.07 21:17:15 [Server] WARN at java.lang.Thread.run(Thread.java:748)
Then the server stopped responding, here's the console dump:
https://pastebin.com/LarKUdKm
I've also attached some of the crash reports as well.