Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / January 2006

Tip: Looking for answers? Try searching our database.

PerformanceCounterInstaller & System.OutOfMemoryException

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ashkan Daie - 09 Jan 2006 22:43 GMT
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
Ashkan Daie - 09 Jan 2006 22:55 GMT
Forgot to post my environment information:

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

> Hi All,
>
[quoted text clipped - 52 lines]
>
> Ashkan

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.