By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,077 Members | 1,175 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,077 IT Pros & Developers. It's quick & easy.

PerformanceCounterInstaller & System.OutOfMemoryException

P: n/a
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(Strin g name, Object
defaultVa
lue, Boolean doNotExpand, Boolean checkSecurity)
at Microsoft.Win32.RegistryKey.GetValue(String name)
at System.Diagnostics.PerformanceMonitor.GetData(Stri ng item)
at System.Diagnostics.PerformanceCounterLib.GetPerfor manceData(String
item)
at System.Diagnostics.PerformanceCounterLib.get_Categ oryTable()
at System.Diagnostics.PerformanceCounterLib.CategoryE xists(String
machine, St
ring category)
at System.Diagnostics.PerformanceCounterCategory.Crea te(String
categoryName,
String categoryHelp, PerformanceCounterCategoryType categoryType,
CounterCreatio
nDataCollection counterData)
at System.Diagnostics.PerformanceCounterInstaller.Ins tall(IDictionary
stateSa
ver)
at System.Configuration.Install.Installer.Install(IDi ctionary stateSaver)
at
Microsoft.Practices.EnterpriseLibrary.Common.Instr umentation.ReflectionIns
taller`1.Install(IDictionary stateSaver) in
C:\Develop\GameFly\MultiDC\EntLib\sr
c\Common\Instrumentation\ReflectionInstaller.cs:li ne 33
at System.Configuration.Install.Installer.Install(IDi ctionary stateSaver)
at System.Configuration.Install.Installer.Install(IDi ctionary stateSaver)
at System.Configuration.Install.AssemblyInstaller.Ins tall(IDictionary
savedSt
ate)
at System.Configuration.Install.Installer.Install(IDi ctionary stateSaver)
at System.Configuration.Install.TransactedInstaller.I nstall(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
Jan 9 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Forgot to post my environment information:

OS: Windows 2003 EE R2 w/ All Windows Update patches
..Net Framework: 2.0
Memory: 2GB
"Ashkan Daie" <ad***@nospam.com> wrote in message
news:Oy**************@TK2MSFTNGP10.phx.gbl...
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(Strin g name, Object
defaultVa
lue, Boolean doNotExpand, Boolean checkSecurity)
at Microsoft.Win32.RegistryKey.GetValue(String name)
at System.Diagnostics.PerformanceMonitor.GetData(Stri ng item)
at System.Diagnostics.PerformanceCounterLib.GetPerfor manceData(String
item)
at System.Diagnostics.PerformanceCounterLib.get_Categ oryTable()
at System.Diagnostics.PerformanceCounterLib.CategoryE xists(String
machine, St
ring category)
at System.Diagnostics.PerformanceCounterCategory.Crea te(String
categoryName,
String categoryHelp, PerformanceCounterCategoryType categoryType,
CounterCreatio
nDataCollection counterData)
at System.Diagnostics.PerformanceCounterInstaller.Ins tall(IDictionary
stateSa
ver)
at System.Configuration.Install.Installer.Install(IDi ctionary
stateSaver)
at
Microsoft.Practices.EnterpriseLibrary.Common.Instr umentation.ReflectionIns
taller`1.Install(IDictionary stateSaver) in
C:\Develop\GameFly\MultiDC\EntLib\sr
c\Common\Instrumentation\ReflectionInstaller.cs:li ne 33
at System.Configuration.Install.Installer.Install(IDi ctionary
stateSaver)
at System.Configuration.Install.Installer.Install(IDi ctionary
stateSaver)
at System.Configuration.Install.AssemblyInstaller.Ins tall(IDictionary
savedSt
ate)
at System.Configuration.Install.Installer.Install(IDi ctionary
stateSaver)
at System.Configuration.Install.TransactedInstaller.I nstall(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

Jan 9 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.