M
Matthias Kwiedor
Hi!
I have a small
application which needs just to load up the Main Form
40MB (there is a IE Instance implementet). After that i managed with own
Memory Managment to need just 10 to 20MB more for the routines.
So i ended with about 60MB at normal state and at working state (running a
routine) with 80 to 90MB - thats relay huge. If a system has just a small
Memory Pool the GC works fine and it needs just 30MBs without any loose in
speed compared to the 90MB Version.
My point is, that if i minimize the app it needs just 2MB which is fine -
but after setting them back to normal state it runs with a max of 20MB
(40MB to max 60MB) less then started and thats what makes me a little bit
confused.
Someone who has a idea how i can simulate this
to prevent the lesser
memory usage from the begining?
Maybe some tips in optimizing the Memory usage at a global way! Now it
implement a Dispose Method to each class where i destroy all Constructs and
Vars and at each Method i destroy the Constructs at the end too - or set
them to null or .clear (Hashtable/ArrayList).
Thanx
Matthias
I have a small

40MB (there is a IE Instance implementet). After that i managed with own
Memory Managment to need just 10 to 20MB more for the routines.
So i ended with about 60MB at normal state and at working state (running a
routine) with 80 to 90MB - thats relay huge. If a system has just a small
Memory Pool the GC works fine and it needs just 30MBs without any loose in
speed compared to the 90MB Version.
My point is, that if i minimize the app it needs just 2MB which is fine -
but after setting them back to normal state it runs with a max of 20MB
(40MB to max 60MB) less then started and thats what makes me a little bit
confused.
Someone who has a idea how i can simulate this

memory usage from the begining?
Maybe some tips in optimizing the Memory usage at a global way! Now it
implement a Dispose Method to each class where i destroy all Constructs and
Vars and at each Method i destroy the Constructs at the end too - or set
them to null or .clear (Hashtable/ArrayList).
Thanx
Matthias