Problem Java out of memory error: unable to create new native thread

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

brainbaobao

New Member
Jul 29, 2019
21
0
0
I am running an FTB Unleashed 1.1.7 server with all mods enabled on 5G of RAM, hosted by prominecrafthost.
Recently(a few hours ago) the server started crashing and popping out the error http://pastebin.com/BxA
This is the crash report:
http://pastebin.com/BxAc5N2p

As said above, the server has 5G of RAM, 20 plugins(all correct versions of MC), and usually has 5-7 players on it.
What could I do to fix this?
 

nallar

New Member
Jul 29, 2019
270
0
0
Why do you have "-Xss2M" as a JVM argument? Increasing stack size shouldn't be necessary and will reduce the maximum number of threads you can have. This crash is happening because you're running out of memory for threads.
 

brainbaobao

New Member
Jul 29, 2019
21
0
0
Why do you have "-Xss2M" as a JVM argument? Increasing stack size shouldn't be necessary and will reduce the maximum number of threads you can have. This crash is happening because you're running out of memory for threads.
The host configured it as is. I'm not sure I can change it.
 

Solice2o0

New Member
Jul 29, 2019
69
0
0
Yes, cause they messed up and made your server start up with an unknown Java flag. "-Xss=2M" is not a real Java flag, so it is the reason why you cannot start your server.
 

nallar

New Member
Jul 29, 2019
270
0
0
Yes, cause they messed up and made your server start up with an unknown Java flag. "-Xss=2M" is not a real Java flag, so it is the reason why you cannot start your server.
It is a real flag, just it shouldn't be used.