Page 1 of 1

Memory issues reloaded

Posted: Tue Jan 23, 2007 7:43 am
by seesharp
Hi

I know the work-around using SetProcessWorkingSetSize to 'lower' the memory usage of my f_in_box application.
However, I made some comparisons:

#1 If I load a movie into f_in_box__control memory usage increases continuously even though the movie doesn't do anything.

#2 If I just have my window with f_in_box__control, no movie loaded, memory usage is stable.

#3 The very same movie in a window wrapping Flash.ocx directly doesn't increase memory usage. In fact it does, as soon as I make some manipulations e.g. howering the mouse over the movie.

My question is simply, if there isn't any memory leak which could be fixed. Maybe not, then I can live with the work-around. It just doesn't look as nice as it could (sort of code aesthetics :-) ).

Alex

Posted: Tue Jan 23, 2007 11:14 am
by Softanics
A few questions...

Does this workaround really works?

If you minimize window and then restore it, the memory usage decreases?

Posted: Tue Jan 23, 2007 11:27 am
by seesharp
By minimizing, the memory usage decreases extremely but successively increases again.

Alex

Posted: Tue Jan 23, 2007 11:53 am
by Softanics
seesharp wrote:By minimizing, the memory usage decreases extremely but successively increases again.


I've just tested Sample1 from the package for registered users. I minimized window and go to the Task Manager. Memory usage increased from ~1 Mb to 10720 b and... no more increasing.