Balena error when iniciating

When iniciating balena in 1.12.2 magma this is what i get
31.08.21 13:29:09 (+0200) mc-server minecraft_server.1.12.2.jar
31.08.21 13:29:09 (+0200) mc-server paper.jar. Use ENABLE_UPDATE to update.
31.08.21 13:29:09 (+0200) mc-server Starting JAR file with: 7GB of RAM
31.08.21 13:29:09 (+0200) mc-server Invalid initial heap size: -Xms7GB
31.08.21 13:29:09 (+0200) mc-server Error: Could not create the Java Virtual Machine.
31.08.21 13:29:09 (+0200) mc-server Error: A fatal exception has occurred. Program will exit.

Is it the amount of ram?

Is it safe to assume you are using an 8gb RAM Pi 4 in this case? It might be worth trying to back off the RAM a bit, even if you are on an 8gb device, I have to wonder if the system itself is using more than 1gb…thus leaving less than 7gb remaining, causing your JVM request to fail.

I found the error: i used the parameter 8GB and It was 8G. Thanks for the advise.