POV-Ray : Newsgroups : povray.off-topic : c++ memory question : Re: c++ memory question Server Time
11 Oct 2024 17:46:52 EDT (-0400)
  Re: c++ memory question  
From: Nicolas Alvarez
Date: 2 Oct 2007 23:23:16
Message: <47030b24$1@news.povray.org>

> Vincent Le Chevalier wrote:
>> Everything that wasn't new-ed.
>>
>> Normally the OS frees the memory used when the program ends anyway... 
>> So I don't understand exactly what you observe in your game. You mean 
>> it takes more memory when it runs for the 6th time than it took the 
>> first time?
> 
> I mean when I monitor my system's memory usage, more memory is being 
> used AFTER I close my program. But after several runs, the memory is 
> returned to an earlier state.
> 
> Sam
> 
Two words: disk cache.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.