Summary
This article explains about the how to allocate the heap size in FNMEA.
Symptoms
Following error message occurs when heap size is not set correctly.
When executing the command flexnet loaddb it fails with error message
Error occurred dugin initialization of VM
Error Could not create the Java Virtual Machine.
Error: A fatal exeception has occurred. Program will exit.
Unable to allocate 1048576KB bitmaps for parallel garbage collection for the requested 33554432KB heap.
Cause
This error occurs when contiguous memory(A large chunk) cannot be assigned to a particular Java process. For example a machine may have 16GB of memory but if the system cannot assign 4GB as one large chunk then the errors may be observed.
Resolution
This issue can be resolved by changing initial size -1024 and Max size - 4096 or depending upon the requirement of FNMEA version. Please verify in installation guide.