简体   繁体   English

是否可以在 64 位 java/linux 环境中以 8gb 堆大小运行 Weblogic

[英]Is it possible to run Weblogic with 8gb heap size in a 64bit java/linux environment

Setup: 64bit Linux 64bit SUN Jvm 1.6.0_20 Weblogic 10.3设置:64 位 Linux 64 位 SUN Jvm 1.6.0_20 Weblogic 10.3

Is it possible to run Weblogic 10.3 in this setup with a maximum heap size of 8gb?是否可以在最大堆大小为 8gb 的设置中运行 Weblogic 10.3? We have recived answers from oracle support that states that it might not be possible to address more than 4gb with this setup.我们收到了来自 oracle 支持的答复,指出使用此设置可能无法解决超过 4GB 的问题。

Please submit any official links that support any statements that it is possible to run this setup with more than 4gb of heap size.请提交任何官方链接,以支持可以使用超过 4GB 的堆大小运行此设置的任何声明。 We can not find any documentation of any limits of heap size when running with this setup.使用此设置运行时,我们找不到任何有关堆大小限制的文档。

Thanx谢谢

There are 2 cases to your query:您的查询有两种情况:

1. Does it work? 1. 有效吗? Can 8 Gb Heap be addressed?可以寻址 8 Gb 堆吗?

Sun JDK itself on 64-bit Linux with JDK 1.6 does not limit you to 4 Gb.带有 JDK 1.6 的 64 位 Linux 上的 Sun JDK 本身不会将您限制为 4 Gb。 See here .这里 This is without Weblogic.这是没有 Weblogic 的。

A similar config (Again Sun/Linux/Jdk 1.6 minus Weblogic) has been discussed here which tests heaps of 7 - 20 Gb. 这里讨论了一个类似的配置(再次是 Sun/Linux/Jdk 1.6 减去 Weblogic) 它测试 7 - 20 Gb 的堆。

One suggestion I have is to try it out, set your Xmx to 8G and see if it shows the heap in the Console as having size 8G.我的一个建议是尝试一下,将 Xmx 设置为 8G,看看它是否在控制台中显示堆大小为 8G。 I have not tried this myself.我自己没有尝试过。

2. Will Oracle support any JVM related issues in your configuration in the future? 2. Oracle 将来是否会在您的配置中支持任何与 JVM 相关的问题?

I think you might be limited by what official support Oracle provides you.我认为您可能会受到 Oracle 为您提供的官方支持的限制。 The official Oracle docs dont seem to suggest this limit of 4 Gb.官方Oracle 文档似乎没有建议 4 Gb 的限制。 Another 2 links on the Oracle forums are here and here which again suggest larger heaps work. Oracle 论坛上的另外 2 个链接在这里这里再次建议更大的堆工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM