You can't overload a Ramdisk, it is the system memory which will be an order of magnitude faster than any mechanical HD.or the ramdisk is overloaded
You can't overload a Ramdisk, it is the system memory which will be an order of magnitude faster than any mechanical HD.or the ramdisk is overloaded
I meant overloaded as in fullYou can't overload a Ramdisk, it is the system memory which will be an order of magnitude faster than any mechanical HD.
Ah! Yes that would cause havoc, not sure what would happen in MC, but nothing good!I meant overloaded as in full
The question I havnt seen answered is, what OS, and what Java? Are both 64bit?
And what is the lag like if you start a world with no mods at all? Other than, perhaps, opis, because a lot of server lag can be derived from tps latency. Ive had servers lag out because, within 100m of spawn there was a village hiding in a jungle that had accidentally made an effective villager breeder. Opis will help show any issues caused by entities breeding out of control.
it would crash immediately because 32 bit just CANNOT allocate more than 4 gig. Hell there is 65k reserved as invalid in win32 either way (to catch bad pointers)He could be passing -xmx4G - I don't know what 32bit java would do. Error out or clamp the parameter to a legal value?
On a 32 bit OS you will not see more then 2.5-3 GB if RAM since the rest is used to store the addresses for all the machine devices. The more video Ram you have on your graphics card the less memory you will have available since it also needs to be addressed.He could be passing -xmx4G - I don't know what 32bit java would do. Error out or clamp the parameter to a legal value?
you are confusing physical and virtual memory, a 32 bit OS can easily allocate 4 gig virtual memory to an application if there is a paging file available, (win32 only allows 2gig by default and reserves first and last pages)On a 32 bit OS you will not see more then 2.5-3 GB if RAM since the rest is used to store the addresses for all the machine devices. The more video Ram you have on your graphics card the less memory you will have available since it also needs to be addressed.
If the OS doesn't have the 4Gb, java can't allocate it and will crash.
Even if the OS is 64x and has more than 4Gb available, if Java is 32 bits, it can't allocate 4Gb since he would had to map the 4Gb and also map the 'internals' of Java.
Sent from my CUBOT ONE using Tapatalk
you are confusing physical and virtual memory, a 32 bit OS can easily allocate 4 gig virtual memory to an application if there is a paging file available, (win32 only allows 2gig by default and reserves first and last pages)
part of the virtual memory is (typically) reserved for the runtime library and a trap page where the null pointer points to.
YES IT CAN, it can't put it all on physical ram at the same time but that is what paging is forA 64bit OS can allocate 4gig virtual memory to a 32bit process. A 32bit OS can't.
A 64bit OS can allocate 4gig virtual memory to a 32bit process. A 32bit OS can't.
You need to realize that when you tell Java to allocate 4Gb you are telling him he can allocate 4Gb to the application he is running, but the Java process will need to allocate 4Gb plus the memory for Java to run, so... it will fail!YES IT CAN, it can't put it all on physical ram at the same time but that is what paging is for
it's easy enough to simulate more than 4gig memory on a 32 bit app with manual paging using a memory mapped file, though it means that all memory accesses have to go through a software MMU which is slowYou need to realize that when you tell Java to allocate 4Gb you are telling him he can allocate 4Gb to the application he is running, but the Java process will need to allocate 4Gb plus the memory for Java to run, so... it will fail!
This has nothing to do with physical or virtual memory, is has to do with using 32 bit to address memory positions and with 32 bits you can only have 4,294,967,295 possible addresses, so... you cant use more then 4Gb and you will need to address the 4Gb plus some internal shenanigans Java uses.
If by any reason Java 86x lets you do this, run away from it since it will be using some voodoo to be able to work and it will hurt performance and might not be stable!