473,320 Members | 1,831 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

PerformanceCounterInstaller & System.OutOfMemoryException

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
1 3849
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Per Bergland | last post by:
After many woes, I finally managed to get a stack dump of my System Service (written in C#) that insists on crashing when launched at system boot time (see below on how to get this dump - I...
1
by: jason | last post by:
I have exhausted all resources, so perhaps someone out there can help. I have a 8MB string (that represents an html document) and I am trying to run a couple of regular expressions on this...
1
by: Ripul Handa | last post by:
Hi We are running IIS 5.0 cluster with cisco local director. We are running a website on 2 webservers and I have been observing that from past few days we have are getting this error message of...
1
by: SMG - Idealake | last post by:
Hi all, I am getting following error on my error, what could be the reason? Exception of type System.OutOfMemoryException was thrown. Description: An unhandled exception occurred during the...
4
by: Ed Chiu | last post by:
Hi, I migrated our company's ASP.Net web appplication from a regular Pentium 4 machine to a multiple xeon processors machine. The web application was acceptable in speed on the old machine, I...
2
by: Dave | last post by:
I have an application running on a 3 server webfarm running Windows 2003 with SQLServer Session state. After running for several hours, I started getting the following error. When I access each...
4
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... I've got some perf counters that I install with a PerformanceCounterInstaller. I've got new code I want to test and legacy code installed on the same system. I *thought* that the...
8
by: =?Utf-8?B?UGlnZ3k=?= | last post by:
Hi to all, I am getting this System.OutOfMemoryException calling the Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(<stream>,<Obj>) method. The type of <streamis...
16
by: Lamont Sanford | last post by:
I can't figure out why once or twice per week, my C# server application throws OutOfMemoryExceptions. There is plenty of memory in the machine. As far as I can tell, when the exception is thrown,...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.