为什么要使用64位JDK在32位版本? [英] Why should I use the 64-bit JDK over the 32-bit version?

查看:866
本文介绍了为什么要使用64位JDK在32位版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用Eclipse和64位Windows和开发Java桌面应用程序。到目前为止,我只用了32位JDK,但没有任何理由改变到64位的JDK Java开发?

I use Eclipse and 64-bit Windows and develop Java desktop applications. So far, I have only used the 32-bit JDK, but is there any reason to change to 64-bit JDK for Java development?

推荐答案

没有,为您的发展时间的活动,32位很可能是不够的。

No, for your development-time activities, 32 bits is likely to be enough.

最新的JVM支持指针COM pression,但除此之外,64位版本的应用程序需要更多的内存来运行。仅使用64位,如果你的应用程序需要解决更多的内存(32位应该解决4 GB,而操作系统方面的考虑有时会以这种更小)。

The newest JVMs support pointer compression, but otherwise, the 64-bit version of an application requires more memory to run. Only use 64-bits if your application needs to address more memory (32 bits should address 4 Gb, but OS considerations sometimes make this less).

除了浪费一点内存,64位版本不应该是一个问题,但有趣的是,所有的通常坚如磐石的JVM的莫名其妙的死机。我听到的抱怨是64位版本。这可能是操作系统或其他因素的影响,但如果你没有理由64位,为什么推你的运气?

Besides wasting a bit of memory, a 64-bit version shouldn't be a problem, but anecdotally, all of the inexplicable crashes of the usually rock-solid JVM I hear complaints about are in 64-bit versions. It could be the OS or other factors, but if you don't have a reason for 64 bits, why push your luck?

这篇关于为什么要使用64位JDK在32位版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆