您可以给java提供最大内存? [英] Max memory you can give to java?

查看:102
本文介绍了您可以给java提供最大内存?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我升级到64位,则可以在32位Ubuntu系统上运行矿山服务器,我可以给java提供的最大内存是多少?我希望它具有约12 gig的ram,但我不能在32bit上做到这一点

I run a mine craft server on a 32 bit Ubuntu system if I upgrade to64 bit what is the max memory I can give to java? I want it to have about 12 gig of ram but I can't do that on 32bit

推荐答案

64位系统可以解决的ram数量实际上没有最大值.您只能通过计算机的硬件停止运行.如果您在命令中使用正确的开关,我也不认为Java会分配最大的RAM.

There is effectively no maximum in the amount of ram a 64-bit system can address. You will be stopped only by your computer's hardware. I don't think java has a max amount of alloted RAM, either, provided you use the right switch in the command.

http://en.wikipedia.org/wiki/64位

这篇关于您可以给java提供最大内存?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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