Thread: VM manager artifact

  1. #1
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001

    VM manager artifact


    My question would be : memory leaks or just VM-artifact?

    Some details: after testing the software with Rational Purify, no *real* memory leaks were found. But the Task Manager memory usage history shows an increasing memory consumption if the test case is repeated only for a few times (say 4-5). Else, if this number is higher (above 6-7), the memory consumption drops as expected.

    As once adrianxw told me, there Windows' VM-manager behaves that way: it allocates memory in small chunks, then deallocates when a bigger amount of memory is freed. That's why we noticed a sudden drop after repeating the tests many times.

    That sounds ok to me, but how to convince our testers?
    Therefore I am looking for a method, function in Windows, which f o r c e s the VM-manager to deallocate the allready freed memory. It would be useful, so I could proof that the software we develop doesn't eat up Gbytes .

    Thanks in advance for Your help!

    Have a nice code!

  2. #2
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    So? There's no hope?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Sorting out a resource manager
    By psychopath in forum Game Programming
    Replies: 1
    Last Post: 11-10-2008, 07:12 PM
  2. Task Manager technic
    By NoFearXD in forum Windows Programming
    Replies: 10
    Last Post: 05-26-2007, 10:09 AM
  3. Call destructor from memory manager
    By The Wazaa in forum C++ Programming
    Replies: 8
    Last Post: 05-22-2007, 12:10 AM
  4. Templated Generic Resource Manager, WIP..
    By Shamino in forum C++ Programming
    Replies: 13
    Last Post: 02-19-2006, 06:29 PM
  5. Graphical interface in C ?
    By Golgot in forum C Programming
    Replies: 5
    Last Post: 11-18-2001, 04:10 PM