RE: [JBoss-user] Problem allocating large amount of memory with Linux

2003-10-10 Thread Stephane Nicoll
As far as I know, SUN VM supports up to 2Gb of memory, not more.

Regards,

Stephane

-Original Message-
From: Mateus Gonçalves dos Santos [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 09, 2003 4:55 PM
To: [EMAIL PROTECTED]
Cc: Domingos Antonio Pereira Creado Júnior
Subject: [JBoss-user] Problem allocating large amount of memory with
Linux


I found this problem too, but with VM Sun versions 1.4.2_01-b06 and
1.3.1_04-b02, and OS Linux kernels 2.4.18-14smp and 2.4.18-14bigmem.
The maximum memory I could allocate was 1800Mb. My hardware have 6Gb free.
what to do??


Regards,


Mateus


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: quinta-feira, 09 de outubro de 2003 12:24
To: [EMAIL PROTECTED]
Subject: Re: Re: [JBoss-user] Problem allocating large amount of memory



Summary:
I can't setup JBoss to sucessfully allocate mode than 1512Mb of memory.
Hardware:
- 8 cpus (Intel(R) XEON(TM) MP) 1,9GHz
- 3,5Gb Physical RAM (Total available virtual memory: 12,8Gb)
OS:
- Windows 2000 Advanced Server v5.0.2195 SP3 Build 2195
JVM:
- java version 1.4.2
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
PATCHED, i.e. with editbin.exe /LARGEADDRESSAWARE java.exe

Well I think I've made all I could:
- read the following link and apply the recommandations according to my
problem (i.e. not the network relative or handles/cmd.exe points)
- set /3GB in the boot.ini file
- tried to launch the test application as a service using
http://wrapper.tanukisoftware.org/doc/english/ (and setting the maximum
memory parameter
in the conf file to 1612M)

The one thing I've discovered (by reading the webpage
http://java.sun.com/docs/hotspot/ism.html) is that using:
- -XX:+AggressiveHeap (without -Xmx and -Xms), JBoss runs with 1Gb with the
original java.exe
- -XX:+AggressiveHeap (without -Xmx and -Xms), JBoss runs with 1,4Gb with the
patched java.exe

So what else?
How may I use all those 1,5Gb unused memory?

Loic

 Search is your friend.

http://www.mail-archive.com/cgi-bin/htsearch?method=andformat=shortconfig=j
boss-user_lists_sourceforge_netrestrict=exclude=words=boot.ini

 Regards,
 Adrian

 On Mon, 2003-10-06 at 16:54, [EMAIL PROTECTED] wrote:
  Hello,
  I am trying to run JBoss (4.0.0DR2) on a Windows 2000 Advanced server SP3
  with
  the SUN JVM 1.4.2_01. The server is an octo-processor (8 cpus) with 3Gb
  physical memory.
  However, I get the following message:
 
 
=
==
  .
JBoss Bootstrap Environment
  .
JBOSS_HOME: D:\jboss-4.0.0DR2\bin\\..
  .
JAVA: D:\APPS\j2sdk1.4.2_01\bin\java
  .
JAVA_OPTS: -server  -Dprogram.name=run.bat -Xms128m -Xmx2000m
  .
CLASSPATH:
;D:\APPS\j2sdk1.4.2_01\lib\tools.jar;D:\jboss-4.0.0DR2\bin\\run.jar
  .
 
=
==
  .
  Error occurred during initialization of VM
  Could not reserve enough space for object heap
  Press any key to continue . . .
 
 
  According to this webpage:
 
  http://www.microsoft.com/whdc/hwdev/platform/server/pae/PAEmem.mspx
 
  I've also added the /3GB in the Boot.ini file but without sucess.
 
  Could you please explain me how to handle this? Is it a limitation of the
SUN JVM? Are there other
  JVM available that support this amount of memory?
 
  Cheers,
  Loïc Lefèvre



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] Réf. : RE: [JBoss-user] Problem allocating large amount of memory with Linux and Windows

2003-10-10 Thread loic . lefevre

About clustering, I think this will be the final solution :(

However, one interesting thing is that the Bea JVM (JRockit) is able to
allocate 2Gb under Windows 2000 AS *with the /3GB option*, 512Mb more than
the SUN JVM !

My last hardware solution will be about the IA32 feature of the Xeon CPUs
and PAE under Windows 2000 AS. The problem is that I can't find any information
about this for Windows :(

Loïc

 As far as I know, SUN VM supports up to 2Gb of memory, not more.

 Regards,

 Stephane

 -Original Message-
 From: Mateus Gonçalves dos Santos [mailto:[EMAIL PROTECTED]
 Sent: Thursday, October 09, 2003 4:55 PM
 To: [EMAIL PROTECTED]
 Cc: Domingos Antonio Pereira Creado Júnior
 Subject: [JBoss-user] Problem allocating large amount of memory with
 Linux


 I found this problem too, but with VM Sun versions 1.4.2_01-b06 and
 1.3.1_04-b02, and OS Linux kernels 2.4.18-14smp and 2.4.18-14bigmem.
 The maximum memory I could allocate was 1800Mb. My hardware have 6Gb free.
 what to do??


 Regards,


 Mateus


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: quinta-feira, 09 de outubro de 2003 12:24
 To: [EMAIL PROTECTED]
 Subject: Re: Re: [JBoss-user] Problem allocating large amount of memory



 Summary:
 I can't setup JBoss to sucessfully allocate mode than 1512Mb of memory.
 Hardware:
 - 8 cpus (Intel(R) XEON(TM) MP) 1,9GHz
 - 3,5Gb Physical RAM (Total available virtual memory: 12,8Gb)
 OS:
 - Windows 2000 Advanced Server v5.0.2195 SP3 Build 2195
 JVM:
 - java version 1.4.2
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
 Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
 PATCHED, i.e. with editbin.exe /LARGEADDRESSAWARE java.exe

 Well I think I've made all I could:
 - read the following link and apply the recommandations according to my
 problem (i.e. not the network relative or handles/cmd.exe points)
 - set /3GB in the boot.ini file
 - tried to launch the test application as a service using
 http://wrapper.tanukisoftware.org/doc/english/ (and setting the maximum
 memory parameter
 in the conf file to 1612M)

 The one thing I've discovered (by reading the webpage
 http://java.sun.com/docs/hotspot/ism.html) is that using:
 - -XX:+AggressiveHeap (without -Xmx and -Xms), JBoss runs with 1Gb with the
 original java.exe
 - -XX:+AggressiveHeap (without -Xmx and -Xms), JBoss runs with 1,4Gb with the
 patched java.exe

 So what else?
 How may I use all those 1,5Gb unused memory?

 Loic

  Search is your friend.
 
 http://www.mail-archive.com/cgi-bin/htsearch?method=andformat=shortconfig=j
 boss-user_lists_sourceforge_netrestrict=exclude=words=boot.ini
 
  Regards,
  Adrian
 
  On Mon, 2003-10-06 at 16:54, [EMAIL PROTECTED] wrote:
   Hello,
   I am trying to run JBoss (4.0.0DR2) on a Windows 2000 Advanced server SP3
   with
   the SUN JVM 1.4.2_01. The server is an octo-processor (8 cpus) with 3Gb
   physical memory.
   However, I get the following message:
  
  
 =
 ==
   .
 JBoss Bootstrap Environment
   .
 JBOSS_HOME: D:\jboss-4.0.0DR2\bin\\..
   .
 JAVA: D:\APPS\j2sdk1.4.2_01\bin\java
   .
 JAVA_OPTS: -server  -Dprogram.name=run.bat -Xms128m -Xmx2000m
   .
 CLASSPATH:
 ;D:\APPS\j2sdk1.4.2_01\lib\tools.jar;D:\jboss-4.0.0DR2\bin\\run.jar
   .
  
 =
 ==
   .
   Error occurred during initialization of VM
   Could not reserve enough space for object heap
   Press any key to continue . . .
  
  
   According to this webpage:
  
   http://www.microsoft.com/whdc/hwdev/platform/server/pae/PAEmem.mspx
  
   I've also added the /3GB in the Boot.ini file but without sucess.
  
   Could you please explain me how to handle this? Is it a limitation of the
 SUN JVM? Are there other
   JVM available that support this amount of memory?
  
   Cheers,
   Loïc Lefèvre




This message and any attachments (the message) is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

-

Ce message et toutes les pieces jointes (ci-apres le 
message) sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer

[JBoss-user] Problem allocating large amount of memory with Linux

2003-10-09 Thread Mateus Gonçalves dos Santos
I found this problem too, but with VM Sun versions 1.4.2_01-b06 and 1.3.1_04-b02, and 
OS Linux kernels 2.4.18-14smp and 2.4.18-14bigmem.
The maximum memory I could allocate was 1800Mb. My hardware have 6Gb free.
what to do??


Regards,


Mateus


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: quinta-feira, 09 de outubro de 2003 12:24
To: [EMAIL PROTECTED]
Subject: Re: Re: [JBoss-user] Problem allocating large amount of memory



Summary:
I can't setup JBoss to sucessfully allocate mode than 1512Mb of memory.
Hardware:
- 8 cpus (Intel(R) XEON(TM) MP) 1,9GHz
- 3,5Gb Physical RAM (Total available virtual memory: 12,8Gb)
OS:
- Windows 2000 Advanced Server v5.0.2195 SP3 Build 2195
JVM:
- java version 1.4.2
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
PATCHED, i.e. with editbin.exe /LARGEADDRESSAWARE java.exe

Well I think I've made all I could:
- read the following link and apply the recommandations according to my problem (i.e. 
not the network relative or handles/cmd.exe points)
- set /3GB in the boot.ini file
- tried to launch the test application as a service using 
http://wrapper.tanukisoftware.org/doc/english/ (and setting the maximum memory 
parameter
in the conf file to 1612M)

The one thing I've discovered (by reading the webpage 
http://java.sun.com/docs/hotspot/ism.html) is that using:
- -XX:+AggressiveHeap (without -Xmx and -Xms), JBoss runs with 1Gb with the original 
java.exe
- -XX:+AggressiveHeap (without -Xmx and -Xms), JBoss runs with 1,4Gb with the patched 
java.exe

So what else?
How may I use all those 1,5Gb unused memory?

Loic

 Search is your friend.
 http://www.mail-archive.com/cgi-bin/htsearch?method=andformat=shortconfig=jboss-user_lists_sourceforge_netrestrict=exclude=words=boot.ini

 Regards,
 Adrian

 On Mon, 2003-10-06 at 16:54, [EMAIL PROTECTED] wrote:
  Hello,
  I am trying to run JBoss (4.0.0DR2) on a Windows 2000 Advanced server SP3
  with
  the SUN JVM 1.4.2_01. The server is an octo-processor (8 cpus) with 3Gb
  physical memory.
  However, I get the following message:
 
  ===
  .
JBoss Bootstrap Environment
  .
JBOSS_HOME: D:\jboss-4.0.0DR2\bin\\..
  .
JAVA: D:\APPS\j2sdk1.4.2_01\bin\java
  .
JAVA_OPTS: -server  -Dprogram.name=run.bat -Xms128m -Xmx2000m
  .
CLASSPATH: ;D:\APPS\j2sdk1.4.2_01\lib\tools.jar;D:\jboss-4.0.0DR2\bin\\run.jar
  .
  ===
  .
  Error occurred during initialization of VM
  Could not reserve enough space for object heap
  Press any key to continue . . .
 
 
  According to this webpage:
 
  http://www.microsoft.com/whdc/hwdev/platform/server/pae/PAEmem.mspx
 
  I've also added the /3GB in the Boot.ini file but without sucess.
 
  Could you please explain me how to handle this? Is it a limitation of the SUN JVM? 
  Are there other
  JVM available that support this amount of memory?
 
  Cheers,
  Loïc Lefèvre



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


Re: [JBoss-user] Problem allocating large amount of memory with Linux

2003-10-09 Thread Adrian Brock
On Thu, 2003-10-09 at 16:55, Mateus Gonalves dos Santos wrote:
 I found this problem too, but with VM Sun versions 1.4.2_01-b06 and 1.3.1_04-b02, 
 and OS Linux kernels 2.4.18-14smp and 2.4.18-14bigmem.
 The maximum memory I could allocate was 1800Mb. My hardware have 6Gb free.
 what to do??
 

Why don't you install a cluster using the binding service?
Running multiple smaller VMs will reduce the amount of work the garbage
collector has to perform inside each VM.

This assumes you don't need to do a lot of state replication.

Regards,
Adrian

 
 Regards,
 
 
 Mateus
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: quinta-feira, 09 de outubro de 2003 12:24
 To: [EMAIL PROTECTED]
 Subject: Re: Re: [JBoss-user] Problem allocating large amount of memory
 
 
 
 Summary:
 I can't setup JBoss to sucessfully allocate mode than 1512Mb of memory.
 Hardware:
 - 8 cpus (Intel(R) XEON(TM) MP) 1,9GHz
 - 3,5Gb Physical RAM (Total available virtual memory: 12,8Gb)
 OS:
 - Windows 2000 Advanced Server v5.0.2195 SP3 Build 2195
 JVM:
 - java version 1.4.2
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
 Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
 PATCHED, i.e. with editbin.exe /LARGEADDRESSAWARE java.exe
 
 Well I think I've made all I could:
 - read the following link and apply the recommandations according to my problem 
 (i.e. not the network relative or handles/cmd.exe points)
 - set /3GB in the boot.ini file
 - tried to launch the test application as a service using 
 http://wrapper.tanukisoftware.org/doc/english/ (and setting the maximum memory 
 parameter
 in the conf file to 1612M)
 
 The one thing I've discovered (by reading the webpage 
 http://java.sun.com/docs/hotspot/ism.html) is that using:
 - -XX:+AggressiveHeap (without -Xmx and -Xms), JBoss runs with 1Gb with the original 
 java.exe
 - -XX:+AggressiveHeap (without -Xmx and -Xms), JBoss runs with 1,4Gb with the 
 patched java.exe
 
 So what else?
 How may I use all those 1,5Gb unused memory?
 
 Loic
 
  Search is your friend.
  http://www.mail-archive.com/cgi-bin/htsearch?method=andformat=shortconfig=jboss-user_lists_sourceforge_netrestrict=exclude=words=boot.ini
 
  Regards,
  Adrian
 
  On Mon, 2003-10-06 at 16:54, [EMAIL PROTECTED] wrote:
   Hello,
   I am trying to run JBoss (4.0.0DR2) on a Windows 2000 Advanced server SP3
   with
   the SUN JVM 1.4.2_01. The server is an octo-processor (8 cpus) with 3Gb
   physical memory.
   However, I get the following message:
  
   ===
   .
 JBoss Bootstrap Environment
   .
 JBOSS_HOME: D:\jboss-4.0.0DR2\bin\\..
   .
 JAVA: D:\APPS\j2sdk1.4.2_01\bin\java
   .
 JAVA_OPTS: -server  -Dprogram.name=run.bat -Xms128m -Xmx2000m
   .
 CLASSPATH: ;D:\APPS\j2sdk1.4.2_01\lib\tools.jar;D:\jboss-4.0.0DR2\bin\\run.jar
   .
   ===
   .
   Error occurred during initialization of VM
   Could not reserve enough space for object heap
   Press any key to continue . . .
  
  
   According to this webpage:
  
   http://www.microsoft.com/whdc/hwdev/platform/server/pae/PAEmem.mspx
  
   I've also added the /3GB in the Boot.ini file but without sucess.
  
   Could you please explain me how to handle this? Is it a limitation of the SUN 
   JVM? Are there other
   JVM available that support this amount of memory?
  
   Cheers,
   Loc Lefvre
 
 
 
 ---
 This SF.net email is sponsored by: SF.net Giveback Program.
 SourceForge.net hosts over 70,000 Open Source Projects.
 See the people who have HELPED US provide better services:
 Click here: http://sourceforge.net/supporters.php
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
-- 
 
Adrian Brock
Director of Support
Back Office
JBoss Group, LLC 
 



---
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user