a).
Shawn
-Original Message-
From: Chen Jerry [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 29, 2005 12:12 AM
To: Struts Users Mailing List
Subject: Re: OT: OutOfMemory
Rechard,
I suppose Eric wanna output HTML.
I myself prefer css to font tags. Introducing an XSLT engine is a nice
idea, h
file?
> >
> > - Original Message -
> > From: "netsql" <[EMAIL PROTECTED]>
> > To:
> > Sent: Sunday, November 27, 2005 10:09 PM
> > Subject: Re: OT: OutOfMemory
> >
> >
> > >
> > > http://tomc
m Java
> >>> shouldn't have...
> >>>
> >>> ---
> >>>
> >>> I found in my catalina.bat:
> >>> set JAVA_OPTS=
> >>> Instead of that, use:
> >>> set JAVA_OPTS=-XX:MaxPermSize=10m
&
Original Message -
From: "netsql" <[EMAIL PROTECTED]>
To:
Sent: Sunday, November 27, 2005 10:09 PM
Subject: Re: OT: OutOfMemory
http://tomcat.apache.org/faq/memory.html#adjust
Eric Plante wrote:
I'm on windows XP and the only catal
, what am I
suppose
to do in that file?
- Original Message -
From: "netsql" <[EMAIL PROTECTED]>
To:
Sent: Sunday, November 27, 2005 10:09 PM
Subject: Re: OT: OutOfMemory
http://tomcat.apache.org/faq/memory.html#adjust
Eric Plante wrote:
I
ems only increase max size of heap rather than perm division.
> >
> > 2005/11/29, Eric Plante <[EMAIL PROTECTED]>:
> > > I found the required catalina files and I see 4 lines with the JAVA_OPTS
> > > variable. I tried replacing JAVA_OPTS and then %
> > -Xmx512m seems only increase max size of heap rather than perm
division.
> > >
> > > 2005/11/29, Eric Plante <[EMAIL PROTECTED]>:
> > > > I found the required catalina files and I see 4 lines with the
> > JAVA_OPTS
> > > > variable.
e of heap rather than perm
> division.
> > >
> > > 2005/11/29, Eric Plante <[EMAIL PROTECTED]>:
> > > > I found the required catalina files and I see 4 lines with the
> > JAVA_OPTS
> > > > variable. I tried replacing JAVA_OPTS and
> > set JAVA_OPTS=-XX:MaxPermSize=10m
> > >
> > > -Xmx512m seems only increase max size of heap rather than perm division.
> > >
> > > 2005/11/29, Eric Plante <[EMAIL PROTECTED]>:
> > > > I found the required catalina files and I see 4 line
t; > set JAVA_OPTS=
> > > Instead of that, use:
> > > set JAVA_OPTS=-XX:MaxPermSize=10m
> > >
> > > -Xmx512m seems only increase max size of heap rather than perm
> division.
> > >
> > > 2005/11/29, Eric Plante <[EMAIL
increase max size of heap rather than perm
> division.
> > >
> > > 2005/11/29, Eric Plante <[EMAIL PROTECTED]>:
> > > > I found the required catalina files and I see 4 lines with the
> > JAVA_OPTS
> > > > variable. I trie
JAVA_OPTS=-XX:MaxPermSize=10m
> >
> > -Xmx512m seems only increase max size of heap rather than perm division.
> >
> > 2005/11/29, Eric Plante <[EMAIL PROTECTED]>:
> > > I found the required catalina files and I see 4 lines with the
> JAVA_OPTS
> > > v
age, what am I
suppose
> > to do in that file?
> >
> > - Original Message -
> > From: "netsql" <[EMAIL PROTECTED]>
> > To:
> > Sent: Sunday, November 27, 2005 10:09 PM
> > Subject: Re: OT: OutOfMemory
> >
> >
> &
axPermSize=10m
> >
> > -Xmx512m seems only increase max size of heap rather than perm division.
> >
> > 2005/11/29, Eric Plante <[EMAIL PROTECTED]>:
> > > I found the required catalina files and I see 4 lines with the
> JAVA_OPTS
> > > variab
> I found the required catalina files and I see 4 lines with the JAVA_OPTS
> > variable. I tried replacing JAVA_OPTS and then %JAVA_OPTS% by -Xmx512m
> in
> > the catalina.bat file but I still get the error message, what am I
> suppose
> > to do in that file?
>
ines with the
> JAVA_OPTS
> > > variable. I tried replacing JAVA_OPTS and then %JAVA_OPTS% by -Xmx512m
> > in
> > > the catalina.bat file but I still get the error message, what am I
> > suppose
> > > to do in that file?
> > >
> > > -
riginal Message -----
> > From: "netsql" <[EMAIL PROTECTED]>
> > To:
> > Sent: Sunday, November 27, 2005 10:09 PM
> > Subject: Re: OT: OutOfMemory
> >
> >
> > >
> > > http://tomcat.apache.org/faq/memory.html#
t; variable. I tried replacing JAVA_OPTS and then %JAVA_OPTS% by -Xmx512m in
> > the catalina.bat file but I still get the error message, what am I suppose
> > to do in that file?
> >
> > - Original Message -
> > From: "netsql" <[EMAIL PROTECTED]>
gt; in
> > the catalina.bat file but I still get the error message, what am I
> suppose
> > to do in that file?
> >
> > - Original Message -
> > From: "netsql" <[EMAIL PROTECTED]>
> > To:
> > Sent: Sunday, November 27, 2005 10:
JAVA_OPTS and then %JAVA_OPTS% by -Xmx512m in
> the catalina.bat file but I still get the error message, what am I suppose
> to do in that file?
>
> - Original Message -
> From: "netsql" <[EMAIL PROTECTED]>
> To:
> Sent: Sunday, November 27, 2005 10:09 PM
&
TS
> > variable. I tried replacing JAVA_OPTS and then %JAVA_OPTS% by -Xmx512m
> in
> > the catalina.bat file but I still get the error message, what am I
> suppose
> > to do in that file?
> >
> > - Original Message -
> > From: "
ent: Sunday, November 27, 2005 10:09 PM
> Subject: Re: OT: OutOfMemory
>
>
> >
> > http://tomcat.apache.org/faq/memory.html#adjust
> >
> >
> > Eric Plante wrote:
> > > I'm on windows XP and the on
t; <[EMAIL PROTECTED]>
To:
Sent: Sunday, November 27, 2005 10:09 PM
Subject: Re: OT: OutOfMemory
>
> http://tomcat.apache.org/faq/memory.html#adjust
>
>
> Eric Plante wrote:
> > I'm on windows XP and the only catalina files that might serve for
> > configura
http://tomcat.apache.org/faq/memory.html#adjust
Eric Plante wrote:
I'm on windows XP and the only catalina files that might serve for
configuration are Catalina.properties and catalina.policy
-
To unsubscribe, e-mail: [EM
Well, I don't think configuration of properties and policy files
helps. But I am not sure. Why not try it out?
/bin/catalina.bat is for java options configuration, you can
find something like JAVA_OPTS, append -XX:MaxPermSize=10m (10m is my
choice in the fly, please replace it with your choice) w
I'm on windows XP and the only catalina files that might serve for
configuration are Catalina.properties and catalina.policy
In catalina.properties, there is those lines:
tomcat.util.buf.StringCache.byte.enabled=true
#tomcat.util.buf.StringCache.char.enabled=true
#tomcat.util.buf.StringCache.trai
Well, since it's a wab appliation, it starts with Tomcat server, not java
but anyway, MaxPermSize doesn't seem to exist
I tried adding in server.xml but it either didn't work or
didn't recognize the property.
--
Well, heap size and each division has its defaul
if your os is linux and like, it is bin/catalina.sh
2005/11/28, Chen Jerry <[EMAIL PROTECTED]>:
> Well, you use tomcat, right?
> There is bin/catalina.bat, where you can specify -XX options.
>
> 2005/11/28, Chen Jerry <[EMAIL PROTECTED]>:
> > Well, heap size and each division has its default value
Well, you use tomcat, right?
There is bin/catalina.bat, where you can specify -XX options.
2005/11/28, Chen Jerry <[EMAIL PROTECTED]>:
> Well, heap size and each division has its default value. In fact, they
> are specified proper values, such as minimal size, maximal size,
> ratio, etc., accordin
Well, heap size and each division has its default value. In fact, they
are specified proper values, such as minimal size, maximal size,
ratio, etc., according to requirement. Did you try customizing memory
model of Hotspot at application startup? I suppose your problem can be
solved by increase the
It uses hotspot.
I don't append litteral strings but I append substrings of a String object
in my StringBuilders.
By HD memory I meant physical.
If I understand well, there is no solution to my problem, I will always be
limited to the heap size? That really troublesome, it should use the
physica
2005/11/28, Eric Plante <[EMAIL PROTECTED]>:
> Thanks
>
> 1-How do I know if I use hotspot or not?
$ java -version
> 2-Is StringBuilder using the same heap as String?
"xxx" is regard as permniant object. does your StringBuilder leverages
sb.append("xxx")?
If so, I suppose it is the same to String
Well, It's -XX:MaxPermSize option rather than some -X option; you can
refer to this link for more information:
http://java.sun.com/j2se/1.5/pdf/jdk50_ts_guide.pdf
Regards,
Jerry
2005/11/28, Chen Jerry <[EMAIL PROTECTED]>:
> Well, I suppose I can offer some tip that may help.
>
> Let me suppose
Thanks
1-How do I know if I use hotspot or not?
2-Is StringBuilder using the same heap as String?
3-What if I can't control the size of the Strings since they come from files
that can be as big as the HD memory?
4-Is there a way to use the Hard Drive memory instead of the stack?
-
Well, I suppose I can offer some tip that may help.
Let me suppose you use Hotspot VM.
Sun's Hotspot VM 's heap space consists of three divisions for young
generation, old generation and perminant generation. Young generation
refers to objects that are created and usually it died in a short
time.
35 matches
Mail list logo