VB.net Memory usage 20k app, 15MB memory?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Grant Mills (millsyNODAMSPAM_at_telusNOSPAMplanet.net)
Date: 02/16/04


Date: Mon, 16 Feb 2004 05:12:59 GMT

Is there anyway to reduce the amount of memory a VB.net program allocates?

Just a simple windows form, with one button and a label, and all the button
does is change the
text in the label (it's even hardcoded) and the EXE is using 15000+k of
memory according
to the task manager...

I mean I realize that VB is going to be more bloated than a C++ app. But is
there anyway
to reduce this amount? There should be no reason for it to think it needs to
'hold' 15 megs of memory
for a program that has absolutly no dynamic content.

-Grant



Relevant Pages

  • Re: Swap space
    ... > twice the amount of RAM if you need to capture a dump for debugging. ... > If you won't ever be doing that, you may not need so much swap. ... least the size of physical memory. ...
    (freebsd-questions)
  • Re: copy_from_user/copy_to_user question
    ... >> from the kernel world, ... But if this page is not mapped somewhere in memory ... label 4, label 5, ... exceptions, looking for the address where the exception took place. ...
    (Linux-Kernel)
  • Re: My idea of fully-portable C code
    ... unused state in the middle of a list of values will "use the least ... amount of memory possible" only by luck, ... The only thing that counts is what the code does if used within the limits you actually specified, on a random host platform implementing standard C. ...
    (comp.arch.embedded)
  • Re: Lambda Calculus and Turing Equivalence
    ... memory of a TM exceeds the potential finite memory of a PC. ... principle compute problems that require greater storage than ... That is because the tape that Turing posited has no physical constraints. ... magically given an infinite amount of storage space." ...
    (comp.theory)
  • Re: Lambda Calculus and Turing Equivalence
    ... memory of a TM exceeds the potential finite memory of a PC. ... principle compute problems that require greater storage than ... That is because the tape that Turing posited has no physical constraints. ... magically given an infinite amount of storage space." ...
    (sci.math)