Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
FileMaker 2026 Released

Where to increase -Xmx memory with MS6 on Linux

Featured Replies

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!! 

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 . 

  • Author

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. 

  • 5 years later...
  • Newbies

The java.lang.OutOfMemoryError: Java heap space error indicates that the JVM has exhausted the heap memory allocated to it. On a Linux system running Tomcat 8, the heap size is typically configured through the Tomcat startup environment.

To increase the heap size, you would typically add or modify JVM arguments such as:

-Xms2g -Xmx4g where, Xmx refers to the maximum heap size tool can use and -Xms refers to or stands for initial heap size

After making any change, please restart the Tomcat only after which the new changes will take effect. If the initial synchronization process consistently exhausts the heap, increasing -Xmx may be an appropriate first step. To do the first step you should check if the server has sufficient physical memory available.

If you wish to understand this better and get proper usage steps on how to set the heap size to your application you can refer to this blog, Sizing Your Heap Correctly: Understanding -Xms and -Xmx.


Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.