where i crash

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi
i write code that one windows form and it's size is about 60kb but i see
it's memory usage is about 16000kb on Windows Task Manager when that form
loading. Why?
 
Because they are different things. One thing is the size of an app on disk,
and another is the memory which it uses when loaded. For example, an app
with only a few lines of code could create tons of objects from the heap
memory.

In your case several assemblies of the .NET Framework are loaded to run your
app. The Output window of VS.NET shows you the assemblies being loaded while
you debug your app.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
 
Back
Top