In file catalina.bat (for Widows) or catalina.sh (for GNU/Linux), add this line :

CATALINA_HEAP=”-Xms256m -Xmx512m”;

This mean :

-Xms256m >> minimal heap in MB

-Xms512m >> maximal heap in MB

After that, in CATALINA_OPTS parameter, add CATALINA_HEAP value;

Before: CATALINA_OPTS=”$CATALINA_OPTS $JPDA_OPTS”

After: CATALINA_OPTS=”$CATALINA_OPTS $JPDA_OPTS $CATALINA_HEAP”

While editing your Tomcat configuration file, Tomcat status must be OFF.

Search terms:heap memory, manfaat daging sei, manfaat kesambi, manfaat tomcat, memori heap, memory tomcat, setting memory tomcat

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Technorati

Tags:

readbud - get paid to read and rate articles

Related Posts

  • No Related Post

3 Responses to “Customize Tomcat Heap Memory”

  1. Great! Thank you very much!
    I always wanted to write in my blog something like that. Can I take part of your post to my site?
    Of course, I will add backlink?

    Sincerely, Reader

  2. Yes, of course

  3. I apologize for calling you a …,
    —————————————
    signature: cheap soma seg6se98i

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>