Jump to content

Where to increase -Xmx memory with MS6 on Linux


This topic is 1204 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Getting the dreaded: 

 

java.lang.OutOfMemoryErrorL Java heap space 

 

message again on initial sync, MS6. 

 

I know the advanced topics outline how to increase heap space on Mac and Windows - but which file do I amend to increase memory allocation with the mirrorsync installed on tomcat 8 / Linux? Thank you!! 

Link to comment
Share on other sites

Hi DataCruncher,

The reason this isn't in our docs is the procedure and file you modify will depend on the version of Linux you have, what version of Tomcat you have installed and where you installed it. You essentially need to increase the memory allocated to Tomcat. It looks like your installation might be similar to our hosting environment. For us, we modify the the file at /etc/tomcat8/tomcat8.conf and edit the JAVA_OPTS settings . 

Link to comment
Share on other sites

Thank you! I was able to figure it out last night for RedHat: 

It required a setenv.sh file to be created and a restart of TomCat. Works like a charm now. Thank you. 

Link to comment
Share on other sites

This topic is 1204 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.