Results 1 to 5 of 5

Thread: Allocate more memory to Tomcat 6 in 8.10?

  1. #1
    Join Date
    Jan 2008
    Beans
    3

    Allocate more memory to Tomcat 6 in 8.10?

    I just installed Ubuntu 8.10 and the Tomcat 6 setup is unfamiliar to me, with Tomcat server now starting as a system process.

    If I need to allocate more Java heap to my Tomcat, where do I change that setting?

  2. #2
    Join Date
    Feb 2008
    Beans
    1

    Re: Allocate more memory to Tomcat 6 in 8.10?

    just edit the /ect/init.d/tomcat6 file, change the JAVA_OPTS

    e.g. change it to:
    JAVA_OPTS="-Djava.awt.headless=true -Xmx512M -XX:MaxPermSize=256m"

  3. #3
    Join Date
    May 2008
    Location
    Denmark
    Beans
    89
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Allocate more memory to Tomcat 6 in 8.10?

    Note that if you're using the 32 bit version of ubuntu, you can't assign more than a few GB to tomcat... We had to strap our installation and install the 64bit since our tomcat needs 10 GB

    It's actually not the OS bit version, but the java bit version from what i remember, so make sure you have 64 bit java as well if you want more memory...

  4. #4
    Join Date
    Nov 2009
    Beans
    46

    Re: Allocate more memory to Tomcat 6 in 8.10?

    On newer ubuntu versions you must edit /etc/default/tomcat6
    The JAVA_OPTS from that file will be the one setting the memory.

  5. #5
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,573
    Distro
    Ubuntu

    Re: Allocate more memory to Tomcat 6 in 8.10?

    Old thread, closed.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •