Kernel Memory Leak when simulation is initialized on ClearCase dynamic view

Description

When you run your simulation in Active-HDL directly on IBM Rational ClearCase dynamic view (MVFS drive), you may observe a Kernel memory leak followed by the blue screen or system crash. When the simulation is initialized, the asdb file is created and placed in the ClearCase dynamic view. After that, regardless of whether the simulation is progressing or stays still, you can observe how the overall Physical Memory starts growing in the Task Manager or in the Process Explorer. If you are using Process Explorer, you will see that it is the Kernel memory that is growing. Kernel memory is a system memory that is not assigned to any of the processes. Physical/Kernel memory allocation grows quite rapidly resulting in a system crash.

This issue is a known ClearCase product defect currently described in the following link: http://www-01.ibm.com/support/docview.wss?uid=swg21422708

Solution

To resolve this issue, follow the instructions below:

  1. Under HKLM\SYSTEM\CurrentControlSet\Services\Mvfs\Parameters, add the value MvfsViewAttachMup of type REG_DWORD and assign it a value of 1.

  2. Reboot your machine

NOTE: Generally, it is not optimal to run your simulation directly on ClearCase dynamic view, because it has slower IO performance than your local disk. The time of compilation and elaboration will be affected.

Ask Us a Question
x
Ask Us a Question
x
Captcha ImageReload Captcha
Incorrect data entered.
Thank you! Your question has been submitted. Please allow 1-3 business days for someone to respond to your question.
Internal error occurred. Your question was not submitted. Please contact us using Feedback form.
We use cookies to ensure we give you the best user experience and to provide you with content we believe will be of relevance to you. If you continue to use our site, you consent to our use of cookies. A detailed overview on the use of cookies and other website information is located in our Privacy Policy.