08-22-2005 06:05 AM
08-23-2005 11:26 AM
08-24-2005 03:28 AM
08-24-2005 06:53 PM
08-29-2005 05:07 AM
08-29-2005 09:18 PM
08-30-2005 01:54 AM
Hello Wendy
Thanks! I initially planned to you Nireports. But now since it is not necessary i removed Nireports from my source code but there is no change in behavior. In my application i am not allocating the memory dynamically instead i am allocating statically. But in other application too only at the start up there is major block of memory allocation which get released only when it exit. There is no ramp up in memory usage at any point. And behavior of application should be remain same through out its life. My application gets the latest data from datasocket (Event based) but log into database at every minute. I have static arrays to store these data. I am attaching the database script for your reference. Please let me know for any information needed from me.
Thanks and Regards
Rakesh
08-30-2005 10:48 PM - edited 08-30-2005 10:48 PM
Hello Rakesh,
Is it possible for you to reproduce this behavior in a shorter period of time? If so, I would put breakpoints in your code so you can track down exactly where all the memory is being allocated and which function is freeing it.
Thanks.
Message Edited by Wendy L on 08-30-2005 10:48 PM
08-31-2005 02:05 AM
08-31-2005 11:37 AM
Hello Rakesh,
You mentioned that you see a dramatic decrease in memory usage when your application exits. So you should have a stop callback. I would suggest putting a breakpoint in that callback and monitoring which function releases your memory. Also, i would put breakpoints at the beginning your application to see exactlly which functions are causing your application to use a large amount of memory at start up.
Thanks.