M
Matthias Kwiedor
Hi@all!
I have a app (c#) where i load up a external dll (managed code from c#)
with a small arraylist and hashtable in two routines (about 40000 objects
in each arraylist and hashtable).
If i load the dll everything is fine and when i load then the objects into
an Hashtable or Arraylist of the main program it freezes 5MB each which i
don't get free. The weird think is, when i reload the Tables a second time
on a new local variable block it freeze no more memory!?!
I load the dll everytime i need it and dispose them with a custom dispose
destructor after i have load the vars into the new one!
After trying some thinks i heard about a arraylist bug which freeze some
memory and so i changed the List to a string[] - but there was no change -
allways freeze up the 5mb after going up from 19mb to 50mb and then free
most of them to 25mb! (loading both ArrayList and Hashtable ends in 30MB
Memory Usage)
Someone have a idea?
Thanx
Matthias
I have a app (c#) where i load up a external dll (managed code from c#)
with a small arraylist and hashtable in two routines (about 40000 objects
in each arraylist and hashtable).
If i load the dll everything is fine and when i load then the objects into
an Hashtable or Arraylist of the main program it freezes 5MB each which i
don't get free. The weird think is, when i reload the Tables a second time
on a new local variable block it freeze no more memory!?!
I load the dll everytime i need it and dispose them with a custom dispose
destructor after i have load the vars into the new one!
After trying some thinks i heard about a arraylist bug which freeze some
memory and so i changed the List to a string[] - but there was no change -
allways freeze up the 5mb after going up from 19mb to 50mb and then free
most of them to 25mb! (loading both ArrayList and Hashtable ends in 30MB
Memory Usage)
Someone have a idea?
Thanx
Matthias