Activiti

Configure Tomcat in demo setup to have more memory

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 5.0.beta2
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

I've tried to run the deo setup adding following options to JAVA_OPTS in catalina.sh:

-server -Xms128m -Xmx512m -XX:NewSize=128m -XX:MaxNewSize=256m -XX:PermSize=256m -XX:MaxPermSize=512m

and it all felt more 'snappy'.

This change can easily be built into the build.xml of the demo setup.

Issue Links

Activity

Hide
Tom Baeyens added a comment -

Related to ACT-65

Also see distro/setup/build.xml target tomcat.install. There is already something for the permgen in there. Should be easy to add the other memory options. Might be interesting to make the whole JAVA_OPTS tomcat variable configurable with a setup build property and give it a good sensible default.

Show
Tom Baeyens added a comment - Related to ACT-65 Also see distro/setup/build.xml target tomcat.install. There is already something for the permgen in there. Should be easy to add the other memory options. Might be interesting to make the whole JAVA_OPTS tomcat variable configurable with a setup build property and give it a good sensible default.
Hide
Tom Baeyens added a comment -

change property @tomcat.max.perm.size@ to a more generic tomcat.java.opts property and add those defaults to the default value of that property

Show
Tom Baeyens added a comment - change property @tomcat.max.perm.size@ to a more generic tomcat.java.opts property and add those defaults to the default value of that property
Hide
Tom Baeyens added a comment -

don't spend more then 30 mins on this issue. otherwise postpone.

Show
Tom Baeyens added a comment - don't spend more then 30 mins on this issue. otherwise postpone.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: