Thread: How to minimize physical and virtual memory consum

  1. #1
    Registered User
    Join Date
    Nov 2006

    How to minimize physical and virtual memory consum

    Hello All,

    I have a Window service developed using Visual Studio .Net 2003. I am using VC++ .Net for the service development. The physical and virtual memory consumption is very high. How should i minimize this memory consumption. Please give me some clue to achieve this.


  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Firstly, what does the service do, and how does it do it?

  3. #3
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Just to get you started:

    Yes executable does make a difference, especially when your program is imaged into RAM.

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Or perhaps it starts small and then slowly increases over time?
    The answer in this case is obvious, fix your code to stop it leaking memory.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Registered User ssharish2005's Avatar
    Join Date
    Sep 2005
    Cambridge, UK
    Have u got some sort of recursion programming paradigm used in yoour code. You stack is building up. Check out.


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with insert/delete binary search tree
    By Nazgulled in forum C Programming
    Replies: 39
    Last Post: 03-25-2009, 04:24 PM
  2. difference between a segment and a page
    By cs32 in forum Tech Board
    Replies: 21
    Last Post: 03-05-2008, 03:09 PM
  3. How to minimize physical and virtual memory consum
    By dattaforit in forum Windows Programming
    Replies: 1
    Last Post: 06-20-2007, 03:38 AM
  4. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM
  5. Is it necessary to write a specific memory manager ?
    By Morglum in forum Game Programming
    Replies: 18
    Last Post: 07-01-2002, 01:41 PM