Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

Eclipse heap size 1

Problem

Error “COBCH1501S Insufficient memory”

Need to adjust Xms and Xmx settings in eclipse.ini

Solution

If you are doing large projects it is a good idea to increase the java HEAP size for your eclipse installation.

There is a file in the eclipse directory eclipse.ini that needs changing

To find this file Look at properties of visual COBOL start menu

Select properties

And highlight the start in directory

This should contain something like this.   

C:\Users\Public\Micro Focus\vc21upd1pkg70439\eclipse

Open window explorer and navigate to that directory.

In this directory edit the file using a editor I use notepad++

change –Xms and –Xmx settings

There are many thoughts on values to use here maybe 512 fo Xms minimum size of memory

And 1024m for Xmx maximum size of memory or 1g

To look like this

Now close down eclipse if open and start eclipse again so we can check the settings have been applied.

Go to help>about eclipse

Then installation Details

Select configuration

And check the Xms and Xmx settings

And hopefully the insufficient memory error will go away.

If the size is too big for your machine and its current workload you will get a error like this.

And some details also

You need to adjust the settings down in the eclipse.ini kill some process’s on your machine or get more memory.

Note the eclipse version is 32 bit so from internet 3g or lower might be the maximum.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2013-04-03 07:05
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.