Knowledgebase
Heap Size vs PermGen Space Memory errors
Posted by John Villanueva on 21 February 2018 08:46 PM

Memory errors can cause a variety of problems in JSCAPE MFT Server. They can corrupt files, prevent users from logging in, degrade performance and even cause the system to crash.

Some of these errors can be remedied by simply increasing either the Heap Size or PermGen Space. 

Heap size-related issues can usually be identified by the presence of 'heap space' in the error, such as:

java.lang.OutOfMemoryError: Java heap space

while PermGen space-related issues can usually be identified by the presence of permgen, such as:

java.lang.OutOfMemoryError: PermGen space

 

One way to address these issues is by editing certain parameters in your server.vmoptions file. This file is normally located inside your JSCAPE MFT Server installation directory.

 

Addressing Heap Size issues:

To address heap size issues, you can try increasing the heap size setting in the server.vmoptions file. 

Open your server.vmoptions file and increase the numerical value in the -Xmx line. For example, 

Change

-Xmx1024

 to

-Xmx2048

You can increase this further but we recommend you just increase it gradually.

You'll need to restart JSCAPE MFT Server for the changes to take effect.

Addressing PermGen Space issues:

To address PermGen issues, you can try increasing the permgen space setting in the server.vmoptions file. 

Open your server.vmoptions file and increase the numerical value in the -XX:MaxPermSize line. For example, 

Change

-XX:MaxPermSize=256m

 to

-XX:MaxPermSize=512m

You can increase this further but we recommend you just increase it gradually.

You'll need to restart JSCAPE MFT Server for the changes to take effect.

(0 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
Help Desk Software by Kayako fusion