../images/mainbanner.png

House Keeping

Out Of Memory Error : Java Heap Space

Issue: Metaflow Start up error: java.lang.OutOfMemoryError: Java heap space

Solution: Verify the physical memory in your machine. This can be done by right-clicking My Computer > Properties and checking the Computer details.

(Note: Please close the Metaflow Client before changing these settings.)

Metaflow requires a minimum of 1Gb physical memory to run if you are managing a large number of projects consistently.

Check your C:\Program Files\Metaflow3\Packager\metaflow.ini file, and the default values are as follows:

Please amend them using the following rules:

For -Xms and -Xmx : Calculate physical memory /2 eg. 1024 Mb /2 = 512Mb

For -XX:PermSize and -XX:MaxPermSize : Calculate physical memory /8 eg. 1024 Mb /8 = 128Mb

Therefore your final metaflow.ini file should read:

Save the file and restart Metaflow. Please Note that you should only keep a minimum of projects open in Metaflow at any one time to avoid exhausting resources.