Hey, there! Log in / Register

Local man discovers limits of Java programming language

Spatch reports on an extensive experiment with Java on a server. And TNT.

Neighborhoods: 
Topics: 


Ad:


Like the job UHub is doing? Consider a contribution. Thanks!

Comments

I have no idea what this has to do with Boston, but it is funny.
Love the first comment, haven't heard that line in 35 years.

up
Voting closed 0

Funny story. We've packed a 12 story building (5 above ground and 7 basements and sub-basements) to the gills with TNT after spending several weeks building it. Blew a hole to bedrock. Didn't crash the server despite it only using 2GB of RAM and being in the world's worst data center.

up
Voting closed 0

The Java VM actually has a launch paramater that defines how big the heap size is, and since Minecraft takes up a shitload of RAM (especially minecraft-server) it suggests you launch with -Xmx1024M -Xms1024M to give it a gig. In practice though, I've seen it come close to running low with a small 6-7 player server.

A shitload of TNT will cause a lot of events to happen that need to be distributed to all players, what the server calls 'chunk updates', making CPU and RAM usage skyrocket, but you can actually configure Java to handle this well without crashing.

up
Voting closed 0