09-01-2005 02:28 AM
Hello Wendy
As you can see in my application(Datalog) i don't any instance calloc or malloc where i am allocating dynamatically. You also must have observed it. Even though when i run the application it takes 11-12 MB which come down to 3 to 4 MB over the period of time. On exit i just need to disconnect from the database but there is nothing to release the memory. This application is intend to run for 30days round the clock. I am afraid only why initially it takes so much momory. Is there any way to calculate or estimate memory usage when it runs..
Thanks and regards
Rakesh
09-01-2005 04:26 PM
Hello Rakesh,
You should try to isolate exactly where all your memory is being allocated. As in, you should put breakpoints at the beginning of your application, step through the code and watch the memory usage in Task Manager or in the Performance Counter in Control Panel >> Administrative Tools to see exactly when and where the memory usage increase.. Then you will be able to isolate this issue to one function call.
Thanks.