CMS Snapshot Analysis - Synchronize services - Fatal Error - Java lang outofmemory java heap space
Purpose
This page provides the solution for the java.lang.outofmemory: java heap space fatal error that comes up on CMS snapshot window while running the synchronization step.

Applicable in CAST Version
| Release | Yes/No |
|---|---|
| 8.3.x | ✅ |
| 8.2.x | ✅ |
| 8.1.x | ✅ |
| 8.0.x | ✅ |
| 7.3.x | ✅ |
Applicable RDBMS
| RDBMS | Yes/No |
|---|---|
| Oracle Server | ✅ |
| Microsoft SQL Server | ✅ |
| CSS3 | ✅ |
| CSS2 | ✅ |
Action Plan
- Open the CAST-MS log file that is in CAST Management Studio path
- Search for the error message.
- If the error message occurs just after loading the file CWProfileConnection.ini file like below screenshot :

- Go to the location of the CWProfileConnection.ini file. In the above example, the path is : S:\ProgramData\CAST\CAST\8.2\CWProfileConnection.INI
- If the file has a size higher than 1 MB, then it is corrupted :

- Close CAST MS.
- Backup the file by changing the extension from INI to INI_Bck
- Open CAST MS again
- Run the Snapshot or the analysis or Synchronize service.
- If the above steps does not help you, contact CAST Technical Support with Relevant Input.
Notes/comments
Related Pages