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 / March 2006

Tip: Looking for answers? Try searching our database.

OutOfMemoryException is release mode

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
akash - 18 Mar 2006 21:38 GMT
I have a windows forms app that does a lot of number crunching. In
certain calculations I get an OutOfMemoryException, even though the
Windows XP performance monitor reports 1GB of physical memory available
(2GB total). There is no stack trace available, so I can't pinpoint
where the problem is occurring.

However, if I try debugging the app through Visual Studio, I do not get
the out of memory problem! Does anyone have any idea why I'm seeing the
different results in debug/release mode? Any idea what I can try to do
to pinpoint the source of the problem?

Thanks
Akash
Naveen - 19 Mar 2006 04:25 GMT
Here is an answer for your question as to why there is OOM in spite of
perfmon showing that you have memory.

http://blogs.msdn.com/tess/archive/2005/11/25/496898.aspx.

I guess probably the heap is fragmented.

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.