PerformanceCounterInstaller & System.OutOfMemoryException

A

Ashkan Daie

Hi All,

When trying to install a performance counter via InstallUtil I get the
following exception:

Creating performance counter category Enterprise Library Caching.

An exception occurred during the Install phase.
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException'
was
thrown.
at Microsoft.Win32.RegistryKey.InternalGetValue(String name, Object
defaultVa
lue, Boolean doNotExpand, Boolean checkSecurity)
at Microsoft.Win32.RegistryKey.GetValue(String name)
at System.Diagnostics.PerformanceMonitor.GetData(String item)
at System.Diagnostics.PerformanceCounterLib.GetPerformanceData(String
item)
at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
at System.Diagnostics.PerformanceCounterLib.CategoryExists(String
machine, St
ring category)
at System.Diagnostics.PerformanceCounterCategory.Create(String
categoryName,
String categoryHelp, PerformanceCounterCategoryType categoryType,
CounterCreatio
nDataCollection counterData)
at System.Diagnostics.PerformanceCounterInstaller.Install(IDictionary
stateSa
ver)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at
Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.ReflectionIns
taller`1.Install(IDictionary stateSaver) in
C:\Develop\GameFly\MultiDC\EntLib\sr
c\Common\Instrumentation\ReflectionInstaller.cs:line 33
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.AssemblyInstaller.Install(IDictionary
savedSt
ate)
at System.Configuration.Install.Installer.Install(IDictionary stateSaver)
at System.Configuration.Install.TransactedInstaller.Install(IDictionary
saved
State)

I also get a System.OutOfMemoryException when expanding the Performance
Counters node in Visual Studio 2005 Server Explorer.


Thanks in advance for your help,

Ashkan
 
A

Ashkan Daie

Forgot to post my environment information:

OS: Windows 2003 EE R2 w/ All Windows Update patches
..Net Framework: 2.0
Memory: 2GB
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top