I'm using MagickCore under VS 2005. I've tried to run MagickCore sample which is here http://www.imagemagick.org/script/magick-core.php
and figured out that at the beginning (this line) :
MagickCoreGenesis(*argv,MagickTrue);
this sample application takes 1 624 KB memory and at the end :
return(0);
it takes 3 276 KB memory.
Where is 1652 KB memory ? Why it doesn't free all allocated memory ?
Greetings
Problem with memory
-
- Posts: 2
- Joined: 2019-01-18T18:35:30-07:00
- Authentication code: 1152
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Problem with memory
Perhaps it does, but Windows doesn't do garbage collection until the program has finished.sunnyrose1994 wrote:Why it doesn't free all allocated memory ?
snibgo's IM pages: im.snibgo.com