|
From: Chandra P. <cp...@ig...> - 2007-09-26 18:00:39
|
Wrapper-3.2.3 64 bit for linux Make sure that you have not specified wrapper.java.initmemory and wrapper.java.maxmemory.=20 =20 BTW, you've not specified the units of memory and the default unit is byte. http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/java.html =20 =20 ________________________________ From: wra...@li... [mailto:wra...@li...] On Behalf Of Tom Saulpaugh Sent: Wednesday, September 26, 2007 10:52 AM To: wra...@li... Subject: Re: [Wrapper-user] 4096MB heap limit =20 I did: =20 wrapper.java.additional.13=3D-Xms6000 wrapper.java.additional.14=3D-Xmx6000 =20 and it still pegs the heap at 4096. =20 Are you using the most current version? If not, which version are you using? =20 Thanks, =20 Tom =20 ________________________________ From: wra...@li... [mailto:wra...@li...] On Behalf Of Chandra Patni Sent: Wednesday, September 26, 2007 10:18 AM To: wra...@li... Subject: Re: [Wrapper-user] 4096MB heap limit =20 I have also highlighted this issue before. The workaround is to use=20 java.additional.N=3D-Xmx... =20 Don't use built-in parameters in wrapper. =20 ________________________________ From: wra...@li... [mailto:wra...@li...] On Behalf Of Tom Saulpaugh Sent: Wednesday, September 26, 2007 9:39 AM To: wra...@li... Subject: [Wrapper-user] 4096MB heap limit =20 In my previous post I was referring to this code block within wrapper.c =20 /* Maximum JVM memory */ maxMemory =3D getIntProperty(properties, "wrapper.java.maxmemory", = 0); if (maxMemory > 0) { maxMemory =3D __min(__max(maxMemory, initMemory), 4096); /* initMemory <=3D n <=3D 4096 */ if (strings) { strings[index] =3D malloc(sizeof(char) * (5 + 4 + 1)); /* Allow up to 4 digits. */ sprintf(strings[index], "-Xmx%dm", maxMemory); } index++; } =20 In the most recent wrapper.c the code has been changed to: =20 /* Maximum JVM memory */ maxMemory =3D getIntProperty(properties, "wrapper.java.maxmemory", = 0); if (maxMemory > 0) { maxMemory =3D __max(maxMemory, initMemory); /* initMemory <=3D = n */ if (strings) { strings[index] =3D malloc(sizeof(char) * (5 + 4 + 1)); /* Allow up to 4 digits. */ if (!strings[index]) { outOfMemory("WBJCAI", 9); return -1; } sprintf(strings[index], "-Xmx%dm", maxMemory); } index++; } =20 which doesn't set a 4096MB limit. Is there any other code setting a limit? Has anyone created a >4GB heap? =20 Thanks, =20 Tom =20 Notice: This email and any files transmitted with it are confidential and intended solely for the individual or entity to which they are addressed. If you have received this email in error please notify the sender and destroy any copies of this email and its attachments. You are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.=20 |