vRanger is installed in a VM and throws the following error 'System.OutOfMemoryException' was thrown”. This issue is caused when you overcommit the memory on the ESX(i) host. When overcommit (assigning more memory to your VM that the ESX(i) host has in psychical memory) starts ballooning allows the ESX(i) to reclaim memory in the guest and use it for other VM’s.
When the OS or application requests more memory the ballooning is supposed to deflate and allow the OS or application to consume more memory. The issue here is that .Net will start to over subscribe memory trying to predict that it might need more memory, when this occurs we have seen a problem where the balloon driver does not deflate and release memory making .Net/vRanger think the system is out of memory.
The resolution is to reduce the amount of ballooning that could happen inside the vRanger VM to stop .Net and the balloon driver competing for memory.
The following Steps should applied to the vRanger VM:
Right Click the VM Click edit
Click Resources
Click Memory
Change Shares to High
Check Limited to unlimited
Set the Memory reservations to 50% of the assigned memory of the VM.
For example if your vRanger VM has 4 GB you should reserve 2 GB of the 4GB the VM has assigned.
VMware informational links:
http://www.vmware.com/files/pdf/techpaper/vsp_41_perf_memory_mgmt.pdf
KB Article: 00000555
The vRanger service process starts consuming large amounts of memory and does not release the memory after job’s have finished. The issue has been traced back to a leak in the Microsoft .Net Frame work. To force vRanger service to release this memory its recommended to apply this hot fix and reboot your system.
Download
http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=31185
The following File Names apply to the following Operating systems
NDP35SP1-KB981575-x86.exe
Windows 2003 32 Bit
Windows 2008 32 Bit
NDP35SP1-KB981575-x64.exe
Windows 2003 64 Bit
Windows 2008 64 Bit
Windows6.1-KB981575-x64.msu
Windows Vista 64 Bit
Windows 2008 R2 (R2 is only 64 Bit)
Windows6.1-KB981575-x86.msu
Windows Vista 32 Bit
Informational Microsoft KB about the .Net Memory leak
http://support.microsoft.com/kb/981575
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center