So I have been trying to allocate more ram to my server because it takes forever to load chunks when flying around in creative.. but it will not load when changing the amount of ram in the batch file. I have tried just about every amount.
My batch file reads:
"java -Xmx1024M -Xms1024M -jar server.jar
This works and it will load the server but, when i try to run it like this:
Chunk loading is a CPU dependent process, only partially RAM dependent.
Also disk dependent. In certain operating systems, adding ram to java means reducing ram for the OS to use as disk caching, thus slowing the chunk generation as the game tries to write the chunks to disk without having them corrupted. This is a generalization, but write behind caching is implemented differently in Windows than in linux/osx and allocating more ram to a process can have more or less impact on the performance of the writing of the chunks to disk.
Also chunk generation (not saving them to disk) is CPU bound.