trichview.com

trichview.support




Re: memory usage


Return to index


Author

Message

Michael Philbrick

Posted: 03/16/2005 2:35:46


Sergey,


Hmmm... I never knew that task manager was so unreliable regarding memory

usage stats.


Here is what I found:


I started the app. It takes about 14MB of memory. I did the cycle of creating,

clearing, formatting and creating a document by inserting text via a stream

about 15 times. Memory kept increasing until it reached over 20MB.


I then minimized the app. Memory usage dropped to about 1MB. I restored the

app, created a document and the memory jumped to about 8MB. I repeated about

10 cycles and it was back up to about 12MB.


I then did this whole procedure about 7 times -- minimizing, restoring, creating/clearing

10 documents, etc.


Each time I restored the app, the initial memory usage grew. So, it appears

that even with minimizing and restoring the application and realzing that

the task manager is not that accurate, the trend is that more and more memory

is being used by the application.


Note also that each time I call insert from stream method it takes longer

and longer to execute even though it is exactly the same data each time.


I can do more tests if you would like. Please let me know what other information

I can provide you.


Michael Philbrick


"Sergey Tkachenko" <[email protected]> wrote:

>Windows Task Manager not always shows correct values for memory usage.

>Memory can be freed by the application, but Task Manager can still show

it

>as used by this application.

>Try to minimize and restore the application and see what happens with memory

>usage values in the Task Manager.

>

>





Powered by ABC Amber Outlook Express Converter