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 / Languages / C# / March 2008

Tip: Looking for answers? Try searching our database.

Problem with memory allocation in C#.NET program

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Arthur Parker - 06 Mar 2008 21:28 GMT
I'm trying to solve a problem with a program written in C# that is
occasionally running out of memory.  While using the CLRProfiler tool, I've
seen that sometimes the .NET framework adds memory to the heap, even though
there are large stretches of free memory available.  It looks like the total
amount of variables allocated on the heap don't change much, but in blobs
that are separated by lots of free space.
I thought that memory was added to the heap only when garbage collection
couldn't free enough space for a new allocation.
Has anyone run into a problem like this before?
Arthur Parker - 06 Mar 2008 21:38 GMT
Oops, should have done a search before posting.  Right after I posted, I
searched and found a post with almost exactly the same symptoms as my
problem.  Thanks.

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.