|
From: Tom S. <Tom...@Me...> - 2007-09-26 17:49:55
|
I did:
wrapper.java.additional.13=3D-Xms6000
wrapper.java.additional.14=3D-Xmx6000
and it still pegs the heap at 4096.
Are you using the most current version? If not, which version are you usin=
g?
Thanks,
Tom
________________________________
From: wra...@li... [mailto:wrapper-user-bounc=
es...@li...] On Behalf Of Chandra Patni
Sent: Wednesday, September 26, 2007 10:18 AM
To: wra...@li...
Subject: Re: [Wrapper-user] 4096MB heap limit
I have also highlighted this issue before. The workaround is to use
java.additional.N=3D-Xmx...
Don't use built-in parameters in wrapper.
________________________________
From: wra...@li... [mailto:wrapper-user-bounc=
es...@li...] On Behalf Of Tom Saulpaugh
Sent: Wednesday, September 26, 2007 9:39 AM
To: wra...@li...
Subject: [Wrapper-user] 4096MB heap limit
In my previous post I was referring to this code block within wrapper.c
/* Maximum JVM memory */
maxMemory =3D getIntProperty(properties, "wrapper.java.maxmemory", 0);
if (maxMemory > 0) {
maxMemory =3D __min(__max(maxMemory, initMemory), 4096); /* initMe=
mory <=3D n <=3D 4096 */
if (strings) {
strings[index] =3D malloc(sizeof(char) * (5 + 4 + 1)); /* Allo=
w up to 4 digits. */
sprintf(strings[index], "-Xmx%dm", maxMemory);
}
index++;
}
In the most recent wrapper.c the code has been changed to:
/* 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)); /* Allo=
w up to 4 digits. */
if (!strings[index]) {
outOfMemory("WBJCAI", 9);
return -1;
}
sprintf(strings[index], "-Xmx%dm", maxMemory);
}
index++;
}
which doesn't set a 4096MB limit. Is there any other code setting a limit?
Has anyone created a >4GB heap?
Thanks,
Tom
Notice: This email and any files transmitted with it are confidential and i=
ntended 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 prohibit=
ed. Please note that any views or opinions presented in this email are sole=
ly those of the author and do not necessarily represent those of the compan=
y. The recipient should check this email and any attachments for the presen=
ce of viruses. The company accepts no liability for any damage caused by an=
y virus transmitted by this email.
|