Groups | Blog | Home
all groups > dotnet performance > march 2004 >

dotnet performance : Virtual Memory Minimum Too Low: Your system is low on virtual memory...


franknewsgroups NO[at]SPAM yahoo.com
3/19/2004 9:37:40 AM
When I run stress tests on my .NET application, after several hours I
often get a Windows dialog box that appears in the System event log
that states the following.

"Application popup: Windows - Virtual Memory Minimum Too Low: Your
system is low on virtual memory. Windows is increasing the size of
your virtual memory paging file. During this process, memory requests
for some applications may be denied. For more information, see
Help..."

After I click on this dialog box once, I do not see it again until I
restart the process with a fresh boot, etc...

Question: Is this normal? Or, can this be normal?

Question: Does this imply a memory leak? Or, is it possible that this
is just how .NET works?

Thanks,

Pavel Lebedinsky
3/19/2004 3:12:16 PM
But first take a look at the 'VM Size' column in Task Manager to see
who is using the memory. Also, make sure that your page file is
large enough to begin with.

[quoted text, click to view]

Alvin Bruney [MVP]
3/19/2004 3:41:36 PM
you've got a memory leak somewhere. you may want to try using the .net
profiler to see what is goin g on.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
[quoted text, click to view]

franknewsgroups NO[at]SPAM yahoo.com
3/20/2004 2:32:43 PM
[quoted text, click to view]

I am using the .Net Memory Profiler (or shall I say living in it), but
I do not see any obvious leaks -- all of those leaks I already fixed
;)

This is a managed/unmanaged application.

Does anyone have any suggestions on how to analyze a .NET application
for possibly 1 or more small memory leaks? When I look at the number
of C# objects in-use, that all looks fine.

It looked like the XMLSerializer was leaking, and so I worked around
that. Does anyone know 100% if the .NET 1.1 actually had a memory
leak in the XMLSerializer? -- I'm basing my comments on various
newsgroup posts I've found, and not on any official statements from
Microsoft.

Alvin Bruney [MVP]
3/20/2004 6:24:08 PM
[quoted text, click to view]
http://www.automatedqa.com/techpapers/net_allocation_profiler.asp

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
[quoted text, click to view]

John Smith
3/21/2004 3:59:41 PM
Please read the thread Increase in Memory

[quoted text, click to view]
Mamba
9/14/2004 6:58:34 PM
I have the same problem with my VC 6 application. I'm wondering how to slove it. This warning only appear when running the Release version of my application the first time after rebooting the PC, and never happended in Debug version. No memory leaking is detected in the debug mode.

---
Posted using Wimdows.net NntpNews Component -

AddThis Social Bookmark Button