 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Yannick ROGER Guest
|
Posted: Tue Apr 26, 2005 7:57 am Post subject: Maximum Heap Size on Windows 2003 |
|
|
Hi,
I an working with J2SE 1.4.2 (exactly 1.4.2_08) on Windows 2003 Server SP1
The server i use have 4Go of RAM..
As Windows 2003 is a 32bits OS, the limit memory size for jvm is supporsed
to be 2048 Mo. Am I right?
When i try to set -Xmx parameter to 2048m, i receive the following message:
"Error occurred during initialization of VM
Could not reserve enough space for object heap"
If i try reducing this parameter to -Xmx1536m, it did not work too. The
first value to make it work was -Xmx1408m.
How can I do to make it work allowing 2040Mo to the jvm?
Regards,
Yannick
|
|
| Back to top |
|
 |
Steve W. Jackson Guest
|
Posted: Tue Apr 26, 2005 1:40 pm Post subject: Re: Maximum Heap Size on Windows 2003 |
|
|
In article <d4kqtj$611$1 (AT) reader1 (DOT) imaginet.fr>,
"Yannick ROGER" <yroger (AT) sqli (DOT) com> wrote:
| Quote: | Hi,
I an working with J2SE 1.4.2 (exactly 1.4.2_08) on Windows 2003 Server SP1
The server i use have 4Go of RAM..
As Windows 2003 is a 32bits OS, the limit memory size for jvm is supporsed
to be 2048 Mo. Am I right?
When i try to set -Xmx parameter to 2048m, i receive the following message:
"Error occurred during initialization of VM
Could not reserve enough space for object heap"
If i try reducing this parameter to -Xmx1536m, it did not work too. The
first value to make it work was -Xmx1408m.
How can I do to make it work allowing 2040Mo to the jvm?
Regards,
Yannick
|
You can't use 2048. Windows itself has an issue with large memory
sizes, if I correctly remember something I read on the subject. I don't
have immediate access to a 2003 box to check, but I thought I recalled
testing and finding that the limitation there was the same as on my XP
system, which is 1578m.
= Steve =
--
Steve W. Jackson
Montgomery, Alabama
|
|
| Back to top |
|
 |
wangzaixiang@gmail.com Guest
|
Posted: Wed Apr 27, 2005 1:37 pm Post subject: Re: Maximum Heap Size on Windows 2003 |
|
|
You cant use 2G memory because of that 2G is the total usable memory
for user-code, which including:
| Quote: | the JVM's code and data itself
the JVM's management data strutrue
the Heap.
|
so the maxinum Heap size should less than 2G.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|