Strato Linux V-Server 10 euro at Minecraft-Server Start shows that I have too little memory? Memory = working memory
I rented the v-Server Linux from Strato yesterday for 10 euro. But when I deploy a Minecraft server to my v-server and start it, there's not enough memory translated in German. What should I do?
I have this offer: https://www.strato.de/server/linux-vserver/
from the right
Strato promises me 100% 16GB RAM and 300GB SSD, so there's no net space, what is wrong? Please help me. Everything is 100% properly set up actually…
What does htop say?
The vserver accumulates RAM when it becomes hard.
You will only have minimal availability when at rest. With increasing utilization, more is allocated to him, this is how hundreds of customers can "promise" 16GB.
Don't set the Java parameter for minimum RAM as high
You must also assign the ram to the server.
e.g. For 1GB
java -Xmx1024M -Xms1024M -jar minecraft_server.jar
I have, everything is set up correctly
512M is a lot…
What does htop say how much is available.
Show exactly what error message is coming
[18:25:31 WARN]: java.lang.OutOfMemoryError: unable to create new native thread
[18:25:31 WARN]: at java.lang.Thread.start0 (Native Method)
[18:25:31 WARN]: at java.lang.Thread.start (Thread.java:717)
[18:25:31 WARN]: at java.util.concurrent.ThreadPoolExecutor.addWorker (ThreadPoolExecutor.java:957)
[18:25:31 WARN]: at java.util.concurrent.ThreadPoolExecutor.processWorkerExit (ThreadPoolExecutor.java:1025)
[18:25:31 WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
[18:25:31 WARN]: at java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java:624)
[18:25:31 WARN]: at java.lang.Thread.run (Thread.java:748)
First of all, and then
Show the start parameters for your server
# There's insufficient memory for the Java Runtime Environment to continue.
# Can't create GC thread. Out of system resources.
# An error report file with more information is saved as:
# /home/minecraft/Proxy/hs_err_pid14881.log
#! / Bin / bash
SCREEN = "Proxy" # screen name
SERVICE = "velocity.jar" # jar file
INITMEM = "1G" # Minimum RAM
MAXMEM = "2G" # Maximum RAM
if ["$ #" -eq 1]; then
if ["$ 1" == "inscreen"]; then
while true
do
java -server -Xmx $ MAXMEM -Xms $ INITMEM -jar $ SERVICE nogui
echo "Proxy starts… Press CTRL + C to cancel!"
echo "restart in:"
for i in 5 4 3 2 1
do
echo "$ i…"
sleep 1
done
echo "- start proxy -"
done
fi
else
screen -R $ SCREEN bash $ 0 inscreen
That always worked, even on my old server
How htop? What do you mean by that?
You have an endless loop that starts the server too often. Just try java -jar velocity.jar without the script and see if it works. This is not a memory error but your program creates too many threads at once
It doesn't work either.
Error occurred during initialization of VM
java.lang.OutOfMemoryError: unable to create new native thread
Then this is actually some limit of Strato have to call tomorrow
Thank you.
Because that shouldn't happen
You are right