I checked a few additional items, and this merely confirmed my suspicions. The initial object heap allocation is 8Mb, plus the restored image is close to 1Mb. That's 9Mb of memory that we allocate up front, but the taskmanager is only showing around 4Mb of memory in use. The growth tops out at roughly 8Mb more than the initial size, which is a very consistent set of numbers.
Rick On Mon, Jul 6, 2009 at 4:53 PM, Mark Miesfeld<[email protected]> wrote: > On Mon, Jul 6, 2009 at 1:02 PM, Mark Miesfeld<[email protected]> wrote: >> On Mon, Jul 6, 2009 at 11:05 AM, Rick McGuire<[email protected]> wrote: >> >>> Ok, I think this problem might need a different pair of eyes looking >> >> For just a quick test, in the CvHello.cpp example sent by the bug >> opener, I added the >> >> #define _CRTDBG_MAP_ALLOC >> #include <stdlib.h> >> #include <crtdbg.h> > > Well, I put a counter in to get some better info. > > With the debug version of the example program, at about 340 / 345 > iterations, memory stops increasing on my system. > > I had the program drop out of the loop at 1000 iterations and quit. > At that point I call the _CrtDumpMemoryLeaks() function. That is > where the "Run-time Check Failure ..." message comes from. > > With the debug version of the program, if I run it from the command > line, it is the same behavior. Memory stops increasing around 340 > iterations. When the program ends at 1000 iterations a message box is > put up with the same "Run-time Check Failure ..." message. > > I recompiled so it would run for 10,000 iterations. Right now it is > around 3,000 and memory has remained constant since it hit 13,400 K > around 340 iterations. So, it looks like it will keep going at this > point without memory use getting any higher. > > -- > Mark Miesfeld > > ------------------------------------------------------------------------------ > _______________________________________________ > Oorexx-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/oorexx-devel > ------------------------------------------------------------------------------ _______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
