Any benefits to running minecraft in a 64bit environment?The benefits of Java 64x (bit) version in minecraftPlay Minecraft Classic Server when Minecraft.net is down?Problem with minecraft server running on 64-bit Windows 7 computerWhat configuration would I need to set up a minecraft server on a VPS by XEN or OpenVZ?Security issues minecraft server time capsuleRunning Multiple Minecraft Installations on LinuxAdding Minecraft to Steam with 64bit JRESevere system lag spike when running Minecraft server with more than 1 user?Hosting minecraft server via webmin on UbuntuStart Minecraft Server on first ConnectionMinecraft Local Server: Internal Exception: java.io.IOException: An existing connection was forcibly closed by the remote host

Asserting that Atheism and Theism are both faith based positions

What properties make a magic weapon befit a Rogue more than a DEX-based Fighter?

How do I lift the insulation blower into the attic?

Name this simple norm equality! (Real Analysis)

Why is participating in the European Parliamentary elections used as a threat?

Mac Mini (2018) 10Gb Port Compatibility

How do you say "Trust your struggle." in French?

When is the exact date for EOL of Ubuntu 14.04 LTS?

In the event of Brexit being postponed beyond the EU elections, will UK voters in EU countries be eligible to participate?

Why do Radio Buttons not fill the entire outer circle?

Does capillary rise violate hydrostatic paradox?

What is it called when someone votes for an option that's not their first choice?

Is this saw blade faulty?

Not hide and seek

"Marked down as someone wanting to sell shares." What does that mean?

Reasons for having MCU pin-states default to pull-up/down out of reset

Capacitor electron flow

Put the phone down / Put down the phone

Trouble reading roman numeral notation with flats

Did I make a mistake by ccing email to boss to others?

How can a new country break out from a developed country without war?

python displays `n` instead of breaking a line

How to detect sounds in IPA spelling

New Order #2: Turn My Way



Any benefits to running minecraft in a 64bit environment?


The benefits of Java 64x (bit) version in minecraftPlay Minecraft Classic Server when Minecraft.net is down?Problem with minecraft server running on 64-bit Windows 7 computerWhat configuration would I need to set up a minecraft server on a VPS by XEN or OpenVZ?Security issues minecraft server time capsuleRunning Multiple Minecraft Installations on LinuxAdding Minecraft to Steam with 64bit JRESevere system lag spike when running Minecraft server with more than 1 user?Hosting minecraft server via webmin on UbuntuStart Minecraft Server on first ConnectionMinecraft Local Server: Internal Exception: java.io.IOException: An existing connection was forcibly closed by the remote host













9















I'm wondering if I was to run minecraft in a 32bit or 64bit ubuntu server; would there be a benefit (speed improvements) or something else, or just the same? Downsides?










share|improve this question

















  • 3





    I guess I'm one of those people who plays Minecraft using the 32-bit JVM on a 64-bit OS, the performance sucks. The moment I switched over to using the 64-bit JVM, performance improved dramatically. The game became playable again. I don't know why, that's just the way it is. YMMV.

    – Jeff Mercado
    Aug 16 '11 at 3:30











  • 32 bit has a 4 GB memory limit, this could be relevant for huge worlds (also @Jeff)

    – Zommuter
    Aug 16 '11 at 3:54












  • @Tobias: Interestingly, my machine only has 4GB of memory so the memory limit shouldn't have affected me AFAIK yet this still happens.

    – Jeff Mercado
    Aug 16 '11 at 4:58











  • @Jeff I had the same experience with the 32 and 64 bit JVM. Not sure why.

    – Fambida
    Aug 16 '11 at 6:17






  • 1





    @Arda Xi, Alexy13: WoW64 seems to work like the adapter design pattern. It's not an emulation for the same reason Wine is Not an Emulator. In all these cases, the machine code is directly executed on the CPU; only the APIs for system calls and some libraries that need some "translation". (this is different from Intel Mac OS X running PowerPC applications: that was true (CPU) emulation) — See also en.wikipedia.org/wiki/AMD64#Operating_modes

    – Denilson Sá Maia
    Aug 16 '11 at 21:56
















9















I'm wondering if I was to run minecraft in a 32bit or 64bit ubuntu server; would there be a benefit (speed improvements) or something else, or just the same? Downsides?










share|improve this question

















  • 3





    I guess I'm one of those people who plays Minecraft using the 32-bit JVM on a 64-bit OS, the performance sucks. The moment I switched over to using the 64-bit JVM, performance improved dramatically. The game became playable again. I don't know why, that's just the way it is. YMMV.

    – Jeff Mercado
    Aug 16 '11 at 3:30











  • 32 bit has a 4 GB memory limit, this could be relevant for huge worlds (also @Jeff)

    – Zommuter
    Aug 16 '11 at 3:54












  • @Tobias: Interestingly, my machine only has 4GB of memory so the memory limit shouldn't have affected me AFAIK yet this still happens.

    – Jeff Mercado
    Aug 16 '11 at 4:58











  • @Jeff I had the same experience with the 32 and 64 bit JVM. Not sure why.

    – Fambida
    Aug 16 '11 at 6:17






  • 1





    @Arda Xi, Alexy13: WoW64 seems to work like the adapter design pattern. It's not an emulation for the same reason Wine is Not an Emulator. In all these cases, the machine code is directly executed on the CPU; only the APIs for system calls and some libraries that need some "translation". (this is different from Intel Mac OS X running PowerPC applications: that was true (CPU) emulation) — See also en.wikipedia.org/wiki/AMD64#Operating_modes

    – Denilson Sá Maia
    Aug 16 '11 at 21:56














9












9








9








I'm wondering if I was to run minecraft in a 32bit or 64bit ubuntu server; would there be a benefit (speed improvements) or something else, or just the same? Downsides?










share|improve this question














I'm wondering if I was to run minecraft in a 32bit or 64bit ubuntu server; would there be a benefit (speed improvements) or something else, or just the same? Downsides?







minecraft






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Aug 16 '11 at 3:08









alexy13alexy13

62031324




62031324







  • 3





    I guess I'm one of those people who plays Minecraft using the 32-bit JVM on a 64-bit OS, the performance sucks. The moment I switched over to using the 64-bit JVM, performance improved dramatically. The game became playable again. I don't know why, that's just the way it is. YMMV.

    – Jeff Mercado
    Aug 16 '11 at 3:30











  • 32 bit has a 4 GB memory limit, this could be relevant for huge worlds (also @Jeff)

    – Zommuter
    Aug 16 '11 at 3:54












  • @Tobias: Interestingly, my machine only has 4GB of memory so the memory limit shouldn't have affected me AFAIK yet this still happens.

    – Jeff Mercado
    Aug 16 '11 at 4:58











  • @Jeff I had the same experience with the 32 and 64 bit JVM. Not sure why.

    – Fambida
    Aug 16 '11 at 6:17






  • 1





    @Arda Xi, Alexy13: WoW64 seems to work like the adapter design pattern. It's not an emulation for the same reason Wine is Not an Emulator. In all these cases, the machine code is directly executed on the CPU; only the APIs for system calls and some libraries that need some "translation". (this is different from Intel Mac OS X running PowerPC applications: that was true (CPU) emulation) — See also en.wikipedia.org/wiki/AMD64#Operating_modes

    – Denilson Sá Maia
    Aug 16 '11 at 21:56













  • 3





    I guess I'm one of those people who plays Minecraft using the 32-bit JVM on a 64-bit OS, the performance sucks. The moment I switched over to using the 64-bit JVM, performance improved dramatically. The game became playable again. I don't know why, that's just the way it is. YMMV.

    – Jeff Mercado
    Aug 16 '11 at 3:30











  • 32 bit has a 4 GB memory limit, this could be relevant for huge worlds (also @Jeff)

    – Zommuter
    Aug 16 '11 at 3:54












  • @Tobias: Interestingly, my machine only has 4GB of memory so the memory limit shouldn't have affected me AFAIK yet this still happens.

    – Jeff Mercado
    Aug 16 '11 at 4:58











  • @Jeff I had the same experience with the 32 and 64 bit JVM. Not sure why.

    – Fambida
    Aug 16 '11 at 6:17






  • 1





    @Arda Xi, Alexy13: WoW64 seems to work like the adapter design pattern. It's not an emulation for the same reason Wine is Not an Emulator. In all these cases, the machine code is directly executed on the CPU; only the APIs for system calls and some libraries that need some "translation". (this is different from Intel Mac OS X running PowerPC applications: that was true (CPU) emulation) — See also en.wikipedia.org/wiki/AMD64#Operating_modes

    – Denilson Sá Maia
    Aug 16 '11 at 21:56








3




3





I guess I'm one of those people who plays Minecraft using the 32-bit JVM on a 64-bit OS, the performance sucks. The moment I switched over to using the 64-bit JVM, performance improved dramatically. The game became playable again. I don't know why, that's just the way it is. YMMV.

– Jeff Mercado
Aug 16 '11 at 3:30





I guess I'm one of those people who plays Minecraft using the 32-bit JVM on a 64-bit OS, the performance sucks. The moment I switched over to using the 64-bit JVM, performance improved dramatically. The game became playable again. I don't know why, that's just the way it is. YMMV.

– Jeff Mercado
Aug 16 '11 at 3:30













32 bit has a 4 GB memory limit, this could be relevant for huge worlds (also @Jeff)

– Zommuter
Aug 16 '11 at 3:54






32 bit has a 4 GB memory limit, this could be relevant for huge worlds (also @Jeff)

– Zommuter
Aug 16 '11 at 3:54














@Tobias: Interestingly, my machine only has 4GB of memory so the memory limit shouldn't have affected me AFAIK yet this still happens.

– Jeff Mercado
Aug 16 '11 at 4:58





@Tobias: Interestingly, my machine only has 4GB of memory so the memory limit shouldn't have affected me AFAIK yet this still happens.

– Jeff Mercado
Aug 16 '11 at 4:58













@Jeff I had the same experience with the 32 and 64 bit JVM. Not sure why.

– Fambida
Aug 16 '11 at 6:17





@Jeff I had the same experience with the 32 and 64 bit JVM. Not sure why.

– Fambida
Aug 16 '11 at 6:17




1




1





@Arda Xi, Alexy13: WoW64 seems to work like the adapter design pattern. It's not an emulation for the same reason Wine is Not an Emulator. In all these cases, the machine code is directly executed on the CPU; only the APIs for system calls and some libraries that need some "translation". (this is different from Intel Mac OS X running PowerPC applications: that was true (CPU) emulation) — See also en.wikipedia.org/wiki/AMD64#Operating_modes

– Denilson Sá Maia
Aug 16 '11 at 21:56






@Arda Xi, Alexy13: WoW64 seems to work like the adapter design pattern. It's not an emulation for the same reason Wine is Not an Emulator. In all these cases, the machine code is directly executed on the CPU; only the APIs for system calls and some libraries that need some "translation". (this is different from Intel Mac OS X running PowerPC applications: that was true (CPU) emulation) — See also en.wikipedia.org/wiki/AMD64#Operating_modes

– Denilson Sá Maia
Aug 16 '11 at 21:56











6 Answers
6






active

oldest

votes


















17














Minecraft is written in Java, so it should "adapt" itself to both 32-bit and 64-bit systems (depending if you have a 32-bit or 64-bit Java runtime).



While Minecraft itself is not optimized for 64-bit, it will take advantage of JVM optimizations for 64-bit processors. Basically, this means more general-purpose registers available (16 in 64-bit against 8 in 32-bit, which means better machine code and less RAM access, improving performance) and larger addressable memory. On the other hand, since now pointers take up twice as much space, there is a little extra overhead for using 64-bit.



But you should also think about the operating system, as it will also take advantage of 64-bit improvements. If you have more than 2GB or 3GB of RAM, your operating system should be 64-bit, else it won't access all RAM (or will have a considerable overhead doing so). And if you have a 64-bit operating system, you should also go with a 64-bit Java Runtime for better performance (as other users already commented).



By the way, in my opinion, you should always go to 64-bit unless you have a very good reason to avoid it, like compatibility reasons (which is not this case).



Related question on StackOverflow: Does Java 64bit perform better than the 32bit version?




Wait a minute! I talked code written in Java, but how about native libraries? Like OpenGL support and OpenAL? They are available on both 32-bit and 64-bit versions, and the correct version will be loaded. And I can confirm that on my Linux 64-bit system, it loads the 64-bit version of those native Java libraries. (as an experiment, I've deleted the 32-bit versions and Minecraft still runs fine)






share|improve this answer

























  • What happens if I only have 1.7gb of ram?

    – alexy13
    Aug 16 '11 at 11:34






  • 2





    Buy Moar RAM! Honestly though, memory is so cheap these days it isn't worth running less than 4 unless your motherboard can't handle it.

    – Adanion
    Aug 16 '11 at 12:48






  • 1





    Or if you bought a server from amazon....

    – alexy13
    Aug 16 '11 at 14:17






  • 1





    @Alexy13 If Amazon servers support 64-bit mode, that's because the underlying hardware is 64-bit. Thus, I still think you should go with 64-bit OS and 64-bit Java. As I said, I see no reason for using 32-bit versions unless you have compatibility problems.

    – Denilson Sá Maia
    Aug 16 '11 at 16:40











  • @Denilson Perfect answer!

    – alexy13
    Aug 16 '11 at 18:01


















3














Minecraft is not designed as a 64-bit application, and thus, while usable on a 64-bit OS, won't see any sorts of improvements from a technical standpoint.



However, if you also install the 64-bit java runtime environment, you may notice some slight performance optimization, but a 64-bit OS on its own will not have much of an effect.






share|improve this answer

























  • Sorry, but I disagree. As Minecraft is written in Java, any improvements come from Java Virtual Machine, and not from Minecraft itself.

    – Denilson Sá Maia
    Aug 16 '11 at 16:41











  • @Denilson - be that as it may, I think a downvote is disingenuous, given that the OP never mentioned JVM at all.

    – Raven Dreamer
    Aug 16 '11 at 17:26






  • 1





    The downvote was because I believe this answer is not technically correct. No Java application is designed as 32-bit or 64-bit, as it is the job of Java Runtime. This is different from a game written in C/C++, that gets compiled to one architecture "and thus, while usable on a 64-bit OS, won't see any sorts of improvements…" If this answer was given to a C/C++ game, that would have been an upvote, but for a Java game, I believe it is incorrect.

    – Denilson Sá Maia
    Aug 16 '11 at 17:45











  • @Denilson - Again, the JVM, 64 bit or otherwise, is something independent of the operating system being 64-bit. (Admittedly, the former is impossible without the latter, but there are doubtless people who have 64-bit OSes and are using 32-bit Java.) I have edited my answer to clarify this.

    – Raven Dreamer
    Aug 16 '11 at 17:54











  • While I still believe that a 64-bit OS might still have benefits (because the OS itself will also use 64-bit optimizations), it would be nit-picking and not too relevant. Thanks for the clarification!

    – Denilson Sá Maia
    Aug 16 '11 at 17:59


















2














I'm running my server on a 64 CentOs server and it doesn't seem to have improved anything. Minecraft only records the movements X,Y,Z of the players with items and block placed in the world. So running it on a 32 or 64 bit OS won't change anything.



For better performance of the game you need lots of RAM and fast HDD maybe a 10k RPM or 15 RPM on the server. That way you ensure faster loading and higher efficiency.



I have 8GB RAM on a Quad core system with 2 HDD 10k RPM, and I haven't noticed any lag with 20+ players online.






share|improve this answer
































    1














    CPU-bound Java apps will almost always run slower on 64-bit JVM, and Minecraft is no exception. To quote Oracle,




    the benefits of being able to address larger amounts of memory come with a small performance loss in 64-bit VMs versus running the same application on a 32-bit VM. This is due to the fact that every native pointer in the system takes up 8 bytes instead of 4.




    The fact that 64-bit JVM features more registers alleviates that performance loss, but does not out-weight it. According to Oracle, Java applications on x86 lose 0 to 15% of their original performance when migrated to 64 bit.



    Another point to consider is that 64 bit JVM is more memory-hungry: because of those 64-bit pointers, so you'll have to give it 30% more RAM just to match the storage space you had on 32 bits. Another quote from Oracle FAQ:




    We have adjusted the defaults for 64-bit implementations to be 30% larger in order to make up for the increased size of Java objects due to larger native pointers. Remember that Java objects contain class and lock pointers so even if you create Java objects which contain only integers, each object takes up additional memory.




    Of course, things turn over when you're giving Minecraft lots of RAM, since it will be able to run GC less frequently and keep more chunks in the memory.



    To sum up, upgrading is only worth it when you're planning to give it 4 GB or more.






    share|improve this answer























    • Very interesting! The quote from Oracle goes on to say "The good news is that with AMD64 & EM64T platforms running in 64-bit mode, the Java VM gets some additional registers which it can use to generate more efficient native instruction sequences. These extra registers increase performance to the point where there is often no performance loss at all when comparing 32 to 64-bit execution speed" which is confusing because Oracle says that there is indeed a performance degradation. Do you know if these extra registers mitigate the performance impacts associated with making the registers larger?

      – alexy13
      May 28 '17 at 15:46











    • @alexy13 Those extra registers are not larger, there's just more of them. And the quote about performance loss seems consistent with 0-15% performance loss range: that 0 corresponds to there is often no performance loss at all, 15% being the worst case.

      – Dmitry Grigoryev
      May 29 '17 at 7:16


















    0














    For me, I have got a weird solutions I have a 64-bit Processor and OS, but the game was unplayable, I then decided to try out the x86 version (32-bit). I know this normally doesn't improve anything, but when I did I have a decent framerate of 60fps WHEN RECORDING! The performance dramatically improved with 32-bit for me. However, if your machine is 64-bit, I would recommend using the 64-bit version first, then use the 32-bit. After that you can decide which to use.



    My system info
    ATI Radeon X1200 Graphics
    AMD Turion 64X2
    Dolby Sound Room
    Atheros Wireless
    Windows 7 Professional x64 SP1/Ubuntu 13.10 x64






    share|improve this answer






























      0














      Using a 32-bit Java Runtime Environment, you may run into errors giving it 2 GB of memory or more:



      "%programfiles(x86)%Javajre1.8.0_201binjava.exe" -Xms2G -Xmx2G -jar server.jar



      Error occurred during initialization of VM

      Could not reserve enough space for 2097152KB object heap




      And for 4 GB and up:



      java -d32 -Xms4G -Xmx4G -jar server.jar



      Invalid initial heap size: -Xms4G

      The specified size exceeds the maximum representable size.

      Error: Could not create the Java Virtual Machine.

      Error: A fatal exception has occurred. Program will exit.




      It works with a 64-bit Java:



      %programfiles%Javajre1.8.0_201binjava.exe -Xms4G -Xmx4G -jar server.jar



      [main/INFO]: Loaded 0 recipes

      [main/INFO]: Loaded 0 advancements

      [Server thread/INFO]: Starting minecraft server version 1.13.2

      ...




      Minecraft also seems to come with its own 64-bit JRE which you may use:



      "%programfiles(x86)%Minecraftruntimejre-x64binjava.exe" -Xms4G -Xmx4G -jar server.jar


      Note that the flags -d32 and -d64 don't let you choose an installed 32- or 64-bit JRE (at least on Windows), but rather define the bitness you require. If java is a 64-bit Java, then -d32 will make it fail because the 64-bit executable does not support 32-bit.






      share|improve this answer








      New contributor




      CoDEmanX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.



















        Your Answer








        StackExchange.ready(function()
        var channelOptions =
        tags: "".split(" "),
        id: "41"
        ;
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function()
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled)
        StackExchange.using("snippets", function()
        createEditor();
        );

        else
        createEditor();

        );

        function createEditor()
        StackExchange.prepareEditor(
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: false,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        imageUploader:
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        ,
        noCode: true, onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        );



        );













        draft saved

        draft discarded


















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f28057%2fany-benefits-to-running-minecraft-in-a-64bit-environment%23new-answer', 'question_page');

        );

        Post as a guest















        Required, but never shown

























        6 Answers
        6






        active

        oldest

        votes








        6 Answers
        6






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        17














        Minecraft is written in Java, so it should "adapt" itself to both 32-bit and 64-bit systems (depending if you have a 32-bit or 64-bit Java runtime).



        While Minecraft itself is not optimized for 64-bit, it will take advantage of JVM optimizations for 64-bit processors. Basically, this means more general-purpose registers available (16 in 64-bit against 8 in 32-bit, which means better machine code and less RAM access, improving performance) and larger addressable memory. On the other hand, since now pointers take up twice as much space, there is a little extra overhead for using 64-bit.



        But you should also think about the operating system, as it will also take advantage of 64-bit improvements. If you have more than 2GB or 3GB of RAM, your operating system should be 64-bit, else it won't access all RAM (or will have a considerable overhead doing so). And if you have a 64-bit operating system, you should also go with a 64-bit Java Runtime for better performance (as other users already commented).



        By the way, in my opinion, you should always go to 64-bit unless you have a very good reason to avoid it, like compatibility reasons (which is not this case).



        Related question on StackOverflow: Does Java 64bit perform better than the 32bit version?




        Wait a minute! I talked code written in Java, but how about native libraries? Like OpenGL support and OpenAL? They are available on both 32-bit and 64-bit versions, and the correct version will be loaded. And I can confirm that on my Linux 64-bit system, it loads the 64-bit version of those native Java libraries. (as an experiment, I've deleted the 32-bit versions and Minecraft still runs fine)






        share|improve this answer

























        • What happens if I only have 1.7gb of ram?

          – alexy13
          Aug 16 '11 at 11:34






        • 2





          Buy Moar RAM! Honestly though, memory is so cheap these days it isn't worth running less than 4 unless your motherboard can't handle it.

          – Adanion
          Aug 16 '11 at 12:48






        • 1





          Or if you bought a server from amazon....

          – alexy13
          Aug 16 '11 at 14:17






        • 1





          @Alexy13 If Amazon servers support 64-bit mode, that's because the underlying hardware is 64-bit. Thus, I still think you should go with 64-bit OS and 64-bit Java. As I said, I see no reason for using 32-bit versions unless you have compatibility problems.

          – Denilson Sá Maia
          Aug 16 '11 at 16:40











        • @Denilson Perfect answer!

          – alexy13
          Aug 16 '11 at 18:01















        17














        Minecraft is written in Java, so it should "adapt" itself to both 32-bit and 64-bit systems (depending if you have a 32-bit or 64-bit Java runtime).



        While Minecraft itself is not optimized for 64-bit, it will take advantage of JVM optimizations for 64-bit processors. Basically, this means more general-purpose registers available (16 in 64-bit against 8 in 32-bit, which means better machine code and less RAM access, improving performance) and larger addressable memory. On the other hand, since now pointers take up twice as much space, there is a little extra overhead for using 64-bit.



        But you should also think about the operating system, as it will also take advantage of 64-bit improvements. If you have more than 2GB or 3GB of RAM, your operating system should be 64-bit, else it won't access all RAM (or will have a considerable overhead doing so). And if you have a 64-bit operating system, you should also go with a 64-bit Java Runtime for better performance (as other users already commented).



        By the way, in my opinion, you should always go to 64-bit unless you have a very good reason to avoid it, like compatibility reasons (which is not this case).



        Related question on StackOverflow: Does Java 64bit perform better than the 32bit version?




        Wait a minute! I talked code written in Java, but how about native libraries? Like OpenGL support and OpenAL? They are available on both 32-bit and 64-bit versions, and the correct version will be loaded. And I can confirm that on my Linux 64-bit system, it loads the 64-bit version of those native Java libraries. (as an experiment, I've deleted the 32-bit versions and Minecraft still runs fine)






        share|improve this answer

























        • What happens if I only have 1.7gb of ram?

          – alexy13
          Aug 16 '11 at 11:34






        • 2





          Buy Moar RAM! Honestly though, memory is so cheap these days it isn't worth running less than 4 unless your motherboard can't handle it.

          – Adanion
          Aug 16 '11 at 12:48






        • 1





          Or if you bought a server from amazon....

          – alexy13
          Aug 16 '11 at 14:17






        • 1





          @Alexy13 If Amazon servers support 64-bit mode, that's because the underlying hardware is 64-bit. Thus, I still think you should go with 64-bit OS and 64-bit Java. As I said, I see no reason for using 32-bit versions unless you have compatibility problems.

          – Denilson Sá Maia
          Aug 16 '11 at 16:40











        • @Denilson Perfect answer!

          – alexy13
          Aug 16 '11 at 18:01













        17












        17








        17







        Minecraft is written in Java, so it should "adapt" itself to both 32-bit and 64-bit systems (depending if you have a 32-bit or 64-bit Java runtime).



        While Minecraft itself is not optimized for 64-bit, it will take advantage of JVM optimizations for 64-bit processors. Basically, this means more general-purpose registers available (16 in 64-bit against 8 in 32-bit, which means better machine code and less RAM access, improving performance) and larger addressable memory. On the other hand, since now pointers take up twice as much space, there is a little extra overhead for using 64-bit.



        But you should also think about the operating system, as it will also take advantage of 64-bit improvements. If you have more than 2GB or 3GB of RAM, your operating system should be 64-bit, else it won't access all RAM (or will have a considerable overhead doing so). And if you have a 64-bit operating system, you should also go with a 64-bit Java Runtime for better performance (as other users already commented).



        By the way, in my opinion, you should always go to 64-bit unless you have a very good reason to avoid it, like compatibility reasons (which is not this case).



        Related question on StackOverflow: Does Java 64bit perform better than the 32bit version?




        Wait a minute! I talked code written in Java, but how about native libraries? Like OpenGL support and OpenAL? They are available on both 32-bit and 64-bit versions, and the correct version will be loaded. And I can confirm that on my Linux 64-bit system, it loads the 64-bit version of those native Java libraries. (as an experiment, I've deleted the 32-bit versions and Minecraft still runs fine)






        share|improve this answer















        Minecraft is written in Java, so it should "adapt" itself to both 32-bit and 64-bit systems (depending if you have a 32-bit or 64-bit Java runtime).



        While Minecraft itself is not optimized for 64-bit, it will take advantage of JVM optimizations for 64-bit processors. Basically, this means more general-purpose registers available (16 in 64-bit against 8 in 32-bit, which means better machine code and less RAM access, improving performance) and larger addressable memory. On the other hand, since now pointers take up twice as much space, there is a little extra overhead for using 64-bit.



        But you should also think about the operating system, as it will also take advantage of 64-bit improvements. If you have more than 2GB or 3GB of RAM, your operating system should be 64-bit, else it won't access all RAM (or will have a considerable overhead doing so). And if you have a 64-bit operating system, you should also go with a 64-bit Java Runtime for better performance (as other users already commented).



        By the way, in my opinion, you should always go to 64-bit unless you have a very good reason to avoid it, like compatibility reasons (which is not this case).



        Related question on StackOverflow: Does Java 64bit perform better than the 32bit version?




        Wait a minute! I talked code written in Java, but how about native libraries? Like OpenGL support and OpenAL? They are available on both 32-bit and 64-bit versions, and the correct version will be loaded. And I can confirm that on my Linux 64-bit system, it loads the 64-bit version of those native Java libraries. (as an experiment, I've deleted the 32-bit versions and Minecraft still runs fine)







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited May 23 '17 at 12:37









        Community

        1




        1










        answered Aug 16 '11 at 7:15









        Denilson Sá MaiaDenilson Sá Maia

        5,27983363




        5,27983363












        • What happens if I only have 1.7gb of ram?

          – alexy13
          Aug 16 '11 at 11:34






        • 2





          Buy Moar RAM! Honestly though, memory is so cheap these days it isn't worth running less than 4 unless your motherboard can't handle it.

          – Adanion
          Aug 16 '11 at 12:48






        • 1





          Or if you bought a server from amazon....

          – alexy13
          Aug 16 '11 at 14:17






        • 1





          @Alexy13 If Amazon servers support 64-bit mode, that's because the underlying hardware is 64-bit. Thus, I still think you should go with 64-bit OS and 64-bit Java. As I said, I see no reason for using 32-bit versions unless you have compatibility problems.

          – Denilson Sá Maia
          Aug 16 '11 at 16:40











        • @Denilson Perfect answer!

          – alexy13
          Aug 16 '11 at 18:01

















        • What happens if I only have 1.7gb of ram?

          – alexy13
          Aug 16 '11 at 11:34






        • 2





          Buy Moar RAM! Honestly though, memory is so cheap these days it isn't worth running less than 4 unless your motherboard can't handle it.

          – Adanion
          Aug 16 '11 at 12:48






        • 1





          Or if you bought a server from amazon....

          – alexy13
          Aug 16 '11 at 14:17






        • 1





          @Alexy13 If Amazon servers support 64-bit mode, that's because the underlying hardware is 64-bit. Thus, I still think you should go with 64-bit OS and 64-bit Java. As I said, I see no reason for using 32-bit versions unless you have compatibility problems.

          – Denilson Sá Maia
          Aug 16 '11 at 16:40











        • @Denilson Perfect answer!

          – alexy13
          Aug 16 '11 at 18:01
















        What happens if I only have 1.7gb of ram?

        – alexy13
        Aug 16 '11 at 11:34





        What happens if I only have 1.7gb of ram?

        – alexy13
        Aug 16 '11 at 11:34




        2




        2





        Buy Moar RAM! Honestly though, memory is so cheap these days it isn't worth running less than 4 unless your motherboard can't handle it.

        – Adanion
        Aug 16 '11 at 12:48





        Buy Moar RAM! Honestly though, memory is so cheap these days it isn't worth running less than 4 unless your motherboard can't handle it.

        – Adanion
        Aug 16 '11 at 12:48




        1




        1





        Or if you bought a server from amazon....

        – alexy13
        Aug 16 '11 at 14:17





        Or if you bought a server from amazon....

        – alexy13
        Aug 16 '11 at 14:17




        1




        1





        @Alexy13 If Amazon servers support 64-bit mode, that's because the underlying hardware is 64-bit. Thus, I still think you should go with 64-bit OS and 64-bit Java. As I said, I see no reason for using 32-bit versions unless you have compatibility problems.

        – Denilson Sá Maia
        Aug 16 '11 at 16:40





        @Alexy13 If Amazon servers support 64-bit mode, that's because the underlying hardware is 64-bit. Thus, I still think you should go with 64-bit OS and 64-bit Java. As I said, I see no reason for using 32-bit versions unless you have compatibility problems.

        – Denilson Sá Maia
        Aug 16 '11 at 16:40













        @Denilson Perfect answer!

        – alexy13
        Aug 16 '11 at 18:01





        @Denilson Perfect answer!

        – alexy13
        Aug 16 '11 at 18:01













        3














        Minecraft is not designed as a 64-bit application, and thus, while usable on a 64-bit OS, won't see any sorts of improvements from a technical standpoint.



        However, if you also install the 64-bit java runtime environment, you may notice some slight performance optimization, but a 64-bit OS on its own will not have much of an effect.






        share|improve this answer

























        • Sorry, but I disagree. As Minecraft is written in Java, any improvements come from Java Virtual Machine, and not from Minecraft itself.

          – Denilson Sá Maia
          Aug 16 '11 at 16:41











        • @Denilson - be that as it may, I think a downvote is disingenuous, given that the OP never mentioned JVM at all.

          – Raven Dreamer
          Aug 16 '11 at 17:26






        • 1





          The downvote was because I believe this answer is not technically correct. No Java application is designed as 32-bit or 64-bit, as it is the job of Java Runtime. This is different from a game written in C/C++, that gets compiled to one architecture "and thus, while usable on a 64-bit OS, won't see any sorts of improvements…" If this answer was given to a C/C++ game, that would have been an upvote, but for a Java game, I believe it is incorrect.

          – Denilson Sá Maia
          Aug 16 '11 at 17:45











        • @Denilson - Again, the JVM, 64 bit or otherwise, is something independent of the operating system being 64-bit. (Admittedly, the former is impossible without the latter, but there are doubtless people who have 64-bit OSes and are using 32-bit Java.) I have edited my answer to clarify this.

          – Raven Dreamer
          Aug 16 '11 at 17:54











        • While I still believe that a 64-bit OS might still have benefits (because the OS itself will also use 64-bit optimizations), it would be nit-picking and not too relevant. Thanks for the clarification!

          – Denilson Sá Maia
          Aug 16 '11 at 17:59















        3














        Minecraft is not designed as a 64-bit application, and thus, while usable on a 64-bit OS, won't see any sorts of improvements from a technical standpoint.



        However, if you also install the 64-bit java runtime environment, you may notice some slight performance optimization, but a 64-bit OS on its own will not have much of an effect.






        share|improve this answer

























        • Sorry, but I disagree. As Minecraft is written in Java, any improvements come from Java Virtual Machine, and not from Minecraft itself.

          – Denilson Sá Maia
          Aug 16 '11 at 16:41











        • @Denilson - be that as it may, I think a downvote is disingenuous, given that the OP never mentioned JVM at all.

          – Raven Dreamer
          Aug 16 '11 at 17:26






        • 1





          The downvote was because I believe this answer is not technically correct. No Java application is designed as 32-bit or 64-bit, as it is the job of Java Runtime. This is different from a game written in C/C++, that gets compiled to one architecture "and thus, while usable on a 64-bit OS, won't see any sorts of improvements…" If this answer was given to a C/C++ game, that would have been an upvote, but for a Java game, I believe it is incorrect.

          – Denilson Sá Maia
          Aug 16 '11 at 17:45











        • @Denilson - Again, the JVM, 64 bit or otherwise, is something independent of the operating system being 64-bit. (Admittedly, the former is impossible without the latter, but there are doubtless people who have 64-bit OSes and are using 32-bit Java.) I have edited my answer to clarify this.

          – Raven Dreamer
          Aug 16 '11 at 17:54











        • While I still believe that a 64-bit OS might still have benefits (because the OS itself will also use 64-bit optimizations), it would be nit-picking and not too relevant. Thanks for the clarification!

          – Denilson Sá Maia
          Aug 16 '11 at 17:59













        3












        3








        3







        Minecraft is not designed as a 64-bit application, and thus, while usable on a 64-bit OS, won't see any sorts of improvements from a technical standpoint.



        However, if you also install the 64-bit java runtime environment, you may notice some slight performance optimization, but a 64-bit OS on its own will not have much of an effect.






        share|improve this answer















        Minecraft is not designed as a 64-bit application, and thus, while usable on a 64-bit OS, won't see any sorts of improvements from a technical standpoint.



        However, if you also install the 64-bit java runtime environment, you may notice some slight performance optimization, but a 64-bit OS on its own will not have much of an effect.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Aug 16 '11 at 17:54

























        answered Aug 16 '11 at 3:27









        Raven DreamerRaven Dreamer

        143k119616892




        143k119616892












        • Sorry, but I disagree. As Minecraft is written in Java, any improvements come from Java Virtual Machine, and not from Minecraft itself.

          – Denilson Sá Maia
          Aug 16 '11 at 16:41











        • @Denilson - be that as it may, I think a downvote is disingenuous, given that the OP never mentioned JVM at all.

          – Raven Dreamer
          Aug 16 '11 at 17:26






        • 1





          The downvote was because I believe this answer is not technically correct. No Java application is designed as 32-bit or 64-bit, as it is the job of Java Runtime. This is different from a game written in C/C++, that gets compiled to one architecture "and thus, while usable on a 64-bit OS, won't see any sorts of improvements…" If this answer was given to a C/C++ game, that would have been an upvote, but for a Java game, I believe it is incorrect.

          – Denilson Sá Maia
          Aug 16 '11 at 17:45











        • @Denilson - Again, the JVM, 64 bit or otherwise, is something independent of the operating system being 64-bit. (Admittedly, the former is impossible without the latter, but there are doubtless people who have 64-bit OSes and are using 32-bit Java.) I have edited my answer to clarify this.

          – Raven Dreamer
          Aug 16 '11 at 17:54











        • While I still believe that a 64-bit OS might still have benefits (because the OS itself will also use 64-bit optimizations), it would be nit-picking and not too relevant. Thanks for the clarification!

          – Denilson Sá Maia
          Aug 16 '11 at 17:59

















        • Sorry, but I disagree. As Minecraft is written in Java, any improvements come from Java Virtual Machine, and not from Minecraft itself.

          – Denilson Sá Maia
          Aug 16 '11 at 16:41











        • @Denilson - be that as it may, I think a downvote is disingenuous, given that the OP never mentioned JVM at all.

          – Raven Dreamer
          Aug 16 '11 at 17:26






        • 1





          The downvote was because I believe this answer is not technically correct. No Java application is designed as 32-bit or 64-bit, as it is the job of Java Runtime. This is different from a game written in C/C++, that gets compiled to one architecture "and thus, while usable on a 64-bit OS, won't see any sorts of improvements…" If this answer was given to a C/C++ game, that would have been an upvote, but for a Java game, I believe it is incorrect.

          – Denilson Sá Maia
          Aug 16 '11 at 17:45











        • @Denilson - Again, the JVM, 64 bit or otherwise, is something independent of the operating system being 64-bit. (Admittedly, the former is impossible without the latter, but there are doubtless people who have 64-bit OSes and are using 32-bit Java.) I have edited my answer to clarify this.

          – Raven Dreamer
          Aug 16 '11 at 17:54











        • While I still believe that a 64-bit OS might still have benefits (because the OS itself will also use 64-bit optimizations), it would be nit-picking and not too relevant. Thanks for the clarification!

          – Denilson Sá Maia
          Aug 16 '11 at 17:59
















        Sorry, but I disagree. As Minecraft is written in Java, any improvements come from Java Virtual Machine, and not from Minecraft itself.

        – Denilson Sá Maia
        Aug 16 '11 at 16:41





        Sorry, but I disagree. As Minecraft is written in Java, any improvements come from Java Virtual Machine, and not from Minecraft itself.

        – Denilson Sá Maia
        Aug 16 '11 at 16:41













        @Denilson - be that as it may, I think a downvote is disingenuous, given that the OP never mentioned JVM at all.

        – Raven Dreamer
        Aug 16 '11 at 17:26





        @Denilson - be that as it may, I think a downvote is disingenuous, given that the OP never mentioned JVM at all.

        – Raven Dreamer
        Aug 16 '11 at 17:26




        1




        1





        The downvote was because I believe this answer is not technically correct. No Java application is designed as 32-bit or 64-bit, as it is the job of Java Runtime. This is different from a game written in C/C++, that gets compiled to one architecture "and thus, while usable on a 64-bit OS, won't see any sorts of improvements…" If this answer was given to a C/C++ game, that would have been an upvote, but for a Java game, I believe it is incorrect.

        – Denilson Sá Maia
        Aug 16 '11 at 17:45





        The downvote was because I believe this answer is not technically correct. No Java application is designed as 32-bit or 64-bit, as it is the job of Java Runtime. This is different from a game written in C/C++, that gets compiled to one architecture "and thus, while usable on a 64-bit OS, won't see any sorts of improvements…" If this answer was given to a C/C++ game, that would have been an upvote, but for a Java game, I believe it is incorrect.

        – Denilson Sá Maia
        Aug 16 '11 at 17:45













        @Denilson - Again, the JVM, 64 bit or otherwise, is something independent of the operating system being 64-bit. (Admittedly, the former is impossible without the latter, but there are doubtless people who have 64-bit OSes and are using 32-bit Java.) I have edited my answer to clarify this.

        – Raven Dreamer
        Aug 16 '11 at 17:54





        @Denilson - Again, the JVM, 64 bit or otherwise, is something independent of the operating system being 64-bit. (Admittedly, the former is impossible without the latter, but there are doubtless people who have 64-bit OSes and are using 32-bit Java.) I have edited my answer to clarify this.

        – Raven Dreamer
        Aug 16 '11 at 17:54













        While I still believe that a 64-bit OS might still have benefits (because the OS itself will also use 64-bit optimizations), it would be nit-picking and not too relevant. Thanks for the clarification!

        – Denilson Sá Maia
        Aug 16 '11 at 17:59





        While I still believe that a 64-bit OS might still have benefits (because the OS itself will also use 64-bit optimizations), it would be nit-picking and not too relevant. Thanks for the clarification!

        – Denilson Sá Maia
        Aug 16 '11 at 17:59











        2














        I'm running my server on a 64 CentOs server and it doesn't seem to have improved anything. Minecraft only records the movements X,Y,Z of the players with items and block placed in the world. So running it on a 32 or 64 bit OS won't change anything.



        For better performance of the game you need lots of RAM and fast HDD maybe a 10k RPM or 15 RPM on the server. That way you ensure faster loading and higher efficiency.



        I have 8GB RAM on a Quad core system with 2 HDD 10k RPM, and I haven't noticed any lag with 20+ players online.






        share|improve this answer





























          2














          I'm running my server on a 64 CentOs server and it doesn't seem to have improved anything. Minecraft only records the movements X,Y,Z of the players with items and block placed in the world. So running it on a 32 or 64 bit OS won't change anything.



          For better performance of the game you need lots of RAM and fast HDD maybe a 10k RPM or 15 RPM on the server. That way you ensure faster loading and higher efficiency.



          I have 8GB RAM on a Quad core system with 2 HDD 10k RPM, and I haven't noticed any lag with 20+ players online.






          share|improve this answer



























            2












            2








            2







            I'm running my server on a 64 CentOs server and it doesn't seem to have improved anything. Minecraft only records the movements X,Y,Z of the players with items and block placed in the world. So running it on a 32 or 64 bit OS won't change anything.



            For better performance of the game you need lots of RAM and fast HDD maybe a 10k RPM or 15 RPM on the server. That way you ensure faster loading and higher efficiency.



            I have 8GB RAM on a Quad core system with 2 HDD 10k RPM, and I haven't noticed any lag with 20+ players online.






            share|improve this answer















            I'm running my server on a 64 CentOs server and it doesn't seem to have improved anything. Minecraft only records the movements X,Y,Z of the players with items and block placed in the world. So running it on a 32 or 64 bit OS won't change anything.



            For better performance of the game you need lots of RAM and fast HDD maybe a 10k RPM or 15 RPM on the server. That way you ensure faster loading and higher efficiency.



            I have 8GB RAM on a Quad core system with 2 HDD 10k RPM, and I haven't noticed any lag with 20+ players online.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Aug 16 '11 at 18:09









            Dave McClelland

            12.7k2074118




            12.7k2074118










            answered Aug 16 '11 at 4:07









            WarfaceWarface

            8,45549101150




            8,45549101150





















                1














                CPU-bound Java apps will almost always run slower on 64-bit JVM, and Minecraft is no exception. To quote Oracle,




                the benefits of being able to address larger amounts of memory come with a small performance loss in 64-bit VMs versus running the same application on a 32-bit VM. This is due to the fact that every native pointer in the system takes up 8 bytes instead of 4.




                The fact that 64-bit JVM features more registers alleviates that performance loss, but does not out-weight it. According to Oracle, Java applications on x86 lose 0 to 15% of their original performance when migrated to 64 bit.



                Another point to consider is that 64 bit JVM is more memory-hungry: because of those 64-bit pointers, so you'll have to give it 30% more RAM just to match the storage space you had on 32 bits. Another quote from Oracle FAQ:




                We have adjusted the defaults for 64-bit implementations to be 30% larger in order to make up for the increased size of Java objects due to larger native pointers. Remember that Java objects contain class and lock pointers so even if you create Java objects which contain only integers, each object takes up additional memory.




                Of course, things turn over when you're giving Minecraft lots of RAM, since it will be able to run GC less frequently and keep more chunks in the memory.



                To sum up, upgrading is only worth it when you're planning to give it 4 GB or more.






                share|improve this answer























                • Very interesting! The quote from Oracle goes on to say "The good news is that with AMD64 & EM64T platforms running in 64-bit mode, the Java VM gets some additional registers which it can use to generate more efficient native instruction sequences. These extra registers increase performance to the point where there is often no performance loss at all when comparing 32 to 64-bit execution speed" which is confusing because Oracle says that there is indeed a performance degradation. Do you know if these extra registers mitigate the performance impacts associated with making the registers larger?

                  – alexy13
                  May 28 '17 at 15:46











                • @alexy13 Those extra registers are not larger, there's just more of them. And the quote about performance loss seems consistent with 0-15% performance loss range: that 0 corresponds to there is often no performance loss at all, 15% being the worst case.

                  – Dmitry Grigoryev
                  May 29 '17 at 7:16















                1














                CPU-bound Java apps will almost always run slower on 64-bit JVM, and Minecraft is no exception. To quote Oracle,




                the benefits of being able to address larger amounts of memory come with a small performance loss in 64-bit VMs versus running the same application on a 32-bit VM. This is due to the fact that every native pointer in the system takes up 8 bytes instead of 4.




                The fact that 64-bit JVM features more registers alleviates that performance loss, but does not out-weight it. According to Oracle, Java applications on x86 lose 0 to 15% of their original performance when migrated to 64 bit.



                Another point to consider is that 64 bit JVM is more memory-hungry: because of those 64-bit pointers, so you'll have to give it 30% more RAM just to match the storage space you had on 32 bits. Another quote from Oracle FAQ:




                We have adjusted the defaults for 64-bit implementations to be 30% larger in order to make up for the increased size of Java objects due to larger native pointers. Remember that Java objects contain class and lock pointers so even if you create Java objects which contain only integers, each object takes up additional memory.




                Of course, things turn over when you're giving Minecraft lots of RAM, since it will be able to run GC less frequently and keep more chunks in the memory.



                To sum up, upgrading is only worth it when you're planning to give it 4 GB or more.






                share|improve this answer























                • Very interesting! The quote from Oracle goes on to say "The good news is that with AMD64 & EM64T platforms running in 64-bit mode, the Java VM gets some additional registers which it can use to generate more efficient native instruction sequences. These extra registers increase performance to the point where there is often no performance loss at all when comparing 32 to 64-bit execution speed" which is confusing because Oracle says that there is indeed a performance degradation. Do you know if these extra registers mitigate the performance impacts associated with making the registers larger?

                  – alexy13
                  May 28 '17 at 15:46











                • @alexy13 Those extra registers are not larger, there's just more of them. And the quote about performance loss seems consistent with 0-15% performance loss range: that 0 corresponds to there is often no performance loss at all, 15% being the worst case.

                  – Dmitry Grigoryev
                  May 29 '17 at 7:16













                1












                1








                1







                CPU-bound Java apps will almost always run slower on 64-bit JVM, and Minecraft is no exception. To quote Oracle,




                the benefits of being able to address larger amounts of memory come with a small performance loss in 64-bit VMs versus running the same application on a 32-bit VM. This is due to the fact that every native pointer in the system takes up 8 bytes instead of 4.




                The fact that 64-bit JVM features more registers alleviates that performance loss, but does not out-weight it. According to Oracle, Java applications on x86 lose 0 to 15% of their original performance when migrated to 64 bit.



                Another point to consider is that 64 bit JVM is more memory-hungry: because of those 64-bit pointers, so you'll have to give it 30% more RAM just to match the storage space you had on 32 bits. Another quote from Oracle FAQ:




                We have adjusted the defaults for 64-bit implementations to be 30% larger in order to make up for the increased size of Java objects due to larger native pointers. Remember that Java objects contain class and lock pointers so even if you create Java objects which contain only integers, each object takes up additional memory.




                Of course, things turn over when you're giving Minecraft lots of RAM, since it will be able to run GC less frequently and keep more chunks in the memory.



                To sum up, upgrading is only worth it when you're planning to give it 4 GB or more.






                share|improve this answer













                CPU-bound Java apps will almost always run slower on 64-bit JVM, and Minecraft is no exception. To quote Oracle,




                the benefits of being able to address larger amounts of memory come with a small performance loss in 64-bit VMs versus running the same application on a 32-bit VM. This is due to the fact that every native pointer in the system takes up 8 bytes instead of 4.




                The fact that 64-bit JVM features more registers alleviates that performance loss, but does not out-weight it. According to Oracle, Java applications on x86 lose 0 to 15% of their original performance when migrated to 64 bit.



                Another point to consider is that 64 bit JVM is more memory-hungry: because of those 64-bit pointers, so you'll have to give it 30% more RAM just to match the storage space you had on 32 bits. Another quote from Oracle FAQ:




                We have adjusted the defaults for 64-bit implementations to be 30% larger in order to make up for the increased size of Java objects due to larger native pointers. Remember that Java objects contain class and lock pointers so even if you create Java objects which contain only integers, each object takes up additional memory.




                Of course, things turn over when you're giving Minecraft lots of RAM, since it will be able to run GC less frequently and keep more chunks in the memory.



                To sum up, upgrading is only worth it when you're planning to give it 4 GB or more.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 28 '17 at 12:18









                Dmitry GrigoryevDmitry Grigoryev

                15811




                15811












                • Very interesting! The quote from Oracle goes on to say "The good news is that with AMD64 & EM64T platforms running in 64-bit mode, the Java VM gets some additional registers which it can use to generate more efficient native instruction sequences. These extra registers increase performance to the point where there is often no performance loss at all when comparing 32 to 64-bit execution speed" which is confusing because Oracle says that there is indeed a performance degradation. Do you know if these extra registers mitigate the performance impacts associated with making the registers larger?

                  – alexy13
                  May 28 '17 at 15:46











                • @alexy13 Those extra registers are not larger, there's just more of them. And the quote about performance loss seems consistent with 0-15% performance loss range: that 0 corresponds to there is often no performance loss at all, 15% being the worst case.

                  – Dmitry Grigoryev
                  May 29 '17 at 7:16

















                • Very interesting! The quote from Oracle goes on to say "The good news is that with AMD64 & EM64T platforms running in 64-bit mode, the Java VM gets some additional registers which it can use to generate more efficient native instruction sequences. These extra registers increase performance to the point where there is often no performance loss at all when comparing 32 to 64-bit execution speed" which is confusing because Oracle says that there is indeed a performance degradation. Do you know if these extra registers mitigate the performance impacts associated with making the registers larger?

                  – alexy13
                  May 28 '17 at 15:46











                • @alexy13 Those extra registers are not larger, there's just more of them. And the quote about performance loss seems consistent with 0-15% performance loss range: that 0 corresponds to there is often no performance loss at all, 15% being the worst case.

                  – Dmitry Grigoryev
                  May 29 '17 at 7:16
















                Very interesting! The quote from Oracle goes on to say "The good news is that with AMD64 & EM64T platforms running in 64-bit mode, the Java VM gets some additional registers which it can use to generate more efficient native instruction sequences. These extra registers increase performance to the point where there is often no performance loss at all when comparing 32 to 64-bit execution speed" which is confusing because Oracle says that there is indeed a performance degradation. Do you know if these extra registers mitigate the performance impacts associated with making the registers larger?

                – alexy13
                May 28 '17 at 15:46





                Very interesting! The quote from Oracle goes on to say "The good news is that with AMD64 & EM64T platforms running in 64-bit mode, the Java VM gets some additional registers which it can use to generate more efficient native instruction sequences. These extra registers increase performance to the point where there is often no performance loss at all when comparing 32 to 64-bit execution speed" which is confusing because Oracle says that there is indeed a performance degradation. Do you know if these extra registers mitigate the performance impacts associated with making the registers larger?

                – alexy13
                May 28 '17 at 15:46













                @alexy13 Those extra registers are not larger, there's just more of them. And the quote about performance loss seems consistent with 0-15% performance loss range: that 0 corresponds to there is often no performance loss at all, 15% being the worst case.

                – Dmitry Grigoryev
                May 29 '17 at 7:16





                @alexy13 Those extra registers are not larger, there's just more of them. And the quote about performance loss seems consistent with 0-15% performance loss range: that 0 corresponds to there is often no performance loss at all, 15% being the worst case.

                – Dmitry Grigoryev
                May 29 '17 at 7:16











                0














                For me, I have got a weird solutions I have a 64-bit Processor and OS, but the game was unplayable, I then decided to try out the x86 version (32-bit). I know this normally doesn't improve anything, but when I did I have a decent framerate of 60fps WHEN RECORDING! The performance dramatically improved with 32-bit for me. However, if your machine is 64-bit, I would recommend using the 64-bit version first, then use the 32-bit. After that you can decide which to use.



                My system info
                ATI Radeon X1200 Graphics
                AMD Turion 64X2
                Dolby Sound Room
                Atheros Wireless
                Windows 7 Professional x64 SP1/Ubuntu 13.10 x64






                share|improve this answer



























                  0














                  For me, I have got a weird solutions I have a 64-bit Processor and OS, but the game was unplayable, I then decided to try out the x86 version (32-bit). I know this normally doesn't improve anything, but when I did I have a decent framerate of 60fps WHEN RECORDING! The performance dramatically improved with 32-bit for me. However, if your machine is 64-bit, I would recommend using the 64-bit version first, then use the 32-bit. After that you can decide which to use.



                  My system info
                  ATI Radeon X1200 Graphics
                  AMD Turion 64X2
                  Dolby Sound Room
                  Atheros Wireless
                  Windows 7 Professional x64 SP1/Ubuntu 13.10 x64






                  share|improve this answer

























                    0












                    0








                    0







                    For me, I have got a weird solutions I have a 64-bit Processor and OS, but the game was unplayable, I then decided to try out the x86 version (32-bit). I know this normally doesn't improve anything, but when I did I have a decent framerate of 60fps WHEN RECORDING! The performance dramatically improved with 32-bit for me. However, if your machine is 64-bit, I would recommend using the 64-bit version first, then use the 32-bit. After that you can decide which to use.



                    My system info
                    ATI Radeon X1200 Graphics
                    AMD Turion 64X2
                    Dolby Sound Room
                    Atheros Wireless
                    Windows 7 Professional x64 SP1/Ubuntu 13.10 x64






                    share|improve this answer













                    For me, I have got a weird solutions I have a 64-bit Processor and OS, but the game was unplayable, I then decided to try out the x86 version (32-bit). I know this normally doesn't improve anything, but when I did I have a decent framerate of 60fps WHEN RECORDING! The performance dramatically improved with 32-bit for me. However, if your machine is 64-bit, I would recommend using the 64-bit version first, then use the 32-bit. After that you can decide which to use.



                    My system info
                    ATI Radeon X1200 Graphics
                    AMD Turion 64X2
                    Dolby Sound Room
                    Atheros Wireless
                    Windows 7 Professional x64 SP1/Ubuntu 13.10 x64







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Nov 5 '13 at 1:46









                    WxD311WxD311

                    91




                    91





















                        0














                        Using a 32-bit Java Runtime Environment, you may run into errors giving it 2 GB of memory or more:



                        "%programfiles(x86)%Javajre1.8.0_201binjava.exe" -Xms2G -Xmx2G -jar server.jar



                        Error occurred during initialization of VM

                        Could not reserve enough space for 2097152KB object heap




                        And for 4 GB and up:



                        java -d32 -Xms4G -Xmx4G -jar server.jar



                        Invalid initial heap size: -Xms4G

                        The specified size exceeds the maximum representable size.

                        Error: Could not create the Java Virtual Machine.

                        Error: A fatal exception has occurred. Program will exit.




                        It works with a 64-bit Java:



                        %programfiles%Javajre1.8.0_201binjava.exe -Xms4G -Xmx4G -jar server.jar



                        [main/INFO]: Loaded 0 recipes

                        [main/INFO]: Loaded 0 advancements

                        [Server thread/INFO]: Starting minecraft server version 1.13.2

                        ...




                        Minecraft also seems to come with its own 64-bit JRE which you may use:



                        "%programfiles(x86)%Minecraftruntimejre-x64binjava.exe" -Xms4G -Xmx4G -jar server.jar


                        Note that the flags -d32 and -d64 don't let you choose an installed 32- or 64-bit JRE (at least on Windows), but rather define the bitness you require. If java is a 64-bit Java, then -d32 will make it fail because the 64-bit executable does not support 32-bit.






                        share|improve this answer








                        New contributor




                        CoDEmanX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.
























                          0














                          Using a 32-bit Java Runtime Environment, you may run into errors giving it 2 GB of memory or more:



                          "%programfiles(x86)%Javajre1.8.0_201binjava.exe" -Xms2G -Xmx2G -jar server.jar



                          Error occurred during initialization of VM

                          Could not reserve enough space for 2097152KB object heap




                          And for 4 GB and up:



                          java -d32 -Xms4G -Xmx4G -jar server.jar



                          Invalid initial heap size: -Xms4G

                          The specified size exceeds the maximum representable size.

                          Error: Could not create the Java Virtual Machine.

                          Error: A fatal exception has occurred. Program will exit.




                          It works with a 64-bit Java:



                          %programfiles%Javajre1.8.0_201binjava.exe -Xms4G -Xmx4G -jar server.jar



                          [main/INFO]: Loaded 0 recipes

                          [main/INFO]: Loaded 0 advancements

                          [Server thread/INFO]: Starting minecraft server version 1.13.2

                          ...




                          Minecraft also seems to come with its own 64-bit JRE which you may use:



                          "%programfiles(x86)%Minecraftruntimejre-x64binjava.exe" -Xms4G -Xmx4G -jar server.jar


                          Note that the flags -d32 and -d64 don't let you choose an installed 32- or 64-bit JRE (at least on Windows), but rather define the bitness you require. If java is a 64-bit Java, then -d32 will make it fail because the 64-bit executable does not support 32-bit.






                          share|improve this answer








                          New contributor




                          CoDEmanX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






















                            0












                            0








                            0







                            Using a 32-bit Java Runtime Environment, you may run into errors giving it 2 GB of memory or more:



                            "%programfiles(x86)%Javajre1.8.0_201binjava.exe" -Xms2G -Xmx2G -jar server.jar



                            Error occurred during initialization of VM

                            Could not reserve enough space for 2097152KB object heap




                            And for 4 GB and up:



                            java -d32 -Xms4G -Xmx4G -jar server.jar



                            Invalid initial heap size: -Xms4G

                            The specified size exceeds the maximum representable size.

                            Error: Could not create the Java Virtual Machine.

                            Error: A fatal exception has occurred. Program will exit.




                            It works with a 64-bit Java:



                            %programfiles%Javajre1.8.0_201binjava.exe -Xms4G -Xmx4G -jar server.jar



                            [main/INFO]: Loaded 0 recipes

                            [main/INFO]: Loaded 0 advancements

                            [Server thread/INFO]: Starting minecraft server version 1.13.2

                            ...




                            Minecraft also seems to come with its own 64-bit JRE which you may use:



                            "%programfiles(x86)%Minecraftruntimejre-x64binjava.exe" -Xms4G -Xmx4G -jar server.jar


                            Note that the flags -d32 and -d64 don't let you choose an installed 32- or 64-bit JRE (at least on Windows), but rather define the bitness you require. If java is a 64-bit Java, then -d32 will make it fail because the 64-bit executable does not support 32-bit.






                            share|improve this answer








                            New contributor




                            CoDEmanX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.










                            Using a 32-bit Java Runtime Environment, you may run into errors giving it 2 GB of memory or more:



                            "%programfiles(x86)%Javajre1.8.0_201binjava.exe" -Xms2G -Xmx2G -jar server.jar



                            Error occurred during initialization of VM

                            Could not reserve enough space for 2097152KB object heap




                            And for 4 GB and up:



                            java -d32 -Xms4G -Xmx4G -jar server.jar



                            Invalid initial heap size: -Xms4G

                            The specified size exceeds the maximum representable size.

                            Error: Could not create the Java Virtual Machine.

                            Error: A fatal exception has occurred. Program will exit.




                            It works with a 64-bit Java:



                            %programfiles%Javajre1.8.0_201binjava.exe -Xms4G -Xmx4G -jar server.jar



                            [main/INFO]: Loaded 0 recipes

                            [main/INFO]: Loaded 0 advancements

                            [Server thread/INFO]: Starting minecraft server version 1.13.2

                            ...




                            Minecraft also seems to come with its own 64-bit JRE which you may use:



                            "%programfiles(x86)%Minecraftruntimejre-x64binjava.exe" -Xms4G -Xmx4G -jar server.jar


                            Note that the flags -d32 and -d64 don't let you choose an installed 32- or 64-bit JRE (at least on Windows), but rather define the bitness you require. If java is a 64-bit Java, then -d32 will make it fail because the 64-bit executable does not support 32-bit.







                            share|improve this answer








                            New contributor




                            CoDEmanX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.









                            share|improve this answer



                            share|improve this answer






                            New contributor




                            CoDEmanX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.









                            answered 22 mins ago









                            CoDEmanXCoDEmanX

                            1033




                            1033




                            New contributor




                            CoDEmanX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.





                            New contributor





                            CoDEmanX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.






                            CoDEmanX is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.



























                                draft saved

                                draft discarded
















































                                Thanks for contributing an answer to Arqade!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid


                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.

                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function ()
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f28057%2fany-benefits-to-running-minecraft-in-a-64bit-environment%23new-answer', 'question_page');

                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                How does Billy Russo acquire his 'Jigsaw' mask? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Favourite questions and answers from the 1st quarter of 2019Why does Bane wear the mask?Why does Kylo Ren wear a mask?Why did Captain America remove his mask while fighting Batroc the Leaper?How did the OA acquire her wisdom?Is Billy Breckenridge gay?How does Adrian Toomes hide his earnings from the IRS?What is the state of affairs on Nootka Sound by the end of season 1?How did Tia Dalma acquire Captain Barbossa's body?How is one “Deemed Worthy”, to acquire the Greatsword “Dawn”?How did Karen acquire the handgun?

                                Личност Атрибути на личността | Литература и източници | НавигацияРаждането на личносттаредактиратередактирате

                                A sequel to Domino's tragic life Why Christmas is for Friends Cold comfort at Charles' padSad farewell for Lady JanePS Most watched News videos