Scalability Testing
Keith Hodges
keith_hodges at yahoo.co.uk
Sat Sep 16 04:36:44 UTC 2006
So.... as I am scalability testing, I see that my magmaSession
cachedObjectCount is now 90000, i.e the whole database is in memory, and
still growing. Isn't smalltalk great I can rewrite the code while the
test is running.
So I figure if I can hunt down who is holding references to the
datamodel and get them to let go, the cached object count and my memory
usage will fall.
I track down one instance of something permanently referencing the root
and re-code that.
I also notice that due to the design of my Scalability testing framework
it is holding at least one reference to the model in an instance var,
even when it is paused and not doing anything. So I recoded it while it
is running. Still 90000 object count. Where can it be?
How does one track down the offending item?
Keith
___________________________________________________________
All New Yahoo! Mail Tired of Vi at gr@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html
More information about the Magma
mailing list