[Mono-list] Long-running program
Cliff Stanford
cliff at may.be
Fri Oct 16 05:59:26 EDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gonzalo Paniagua Javier wrote:
> Mmmm... Do you keep *a lot* of timers around? Do you just add/remove a a
> lot of them? If so, I'll change Timer to use a different data structure
> to see if that helps.
Yes, I have a number of long-lived Timers. The software is constantly
polling 11 external hardware devices on timers and it broadcasts the
collected results on another timer every second.
I also make intensive use of short-lived timers, many of which only fire
once. I'm not sure I always dispose() the short-lived timers, could
that be the problem?
Again, if there is any way I can report what is in the heap, I'd be
happy to try to find out.
Regards,
Cliff.
- --
Cliff Stanford
Might Limited +44 845 0045 666 (Office)
Suite 67, Dorset House +44 7973 616 666 (Mobile)
Duke Street, Chelmsford, CM1 1TB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkrYQ/4ACgkQfNTx9pWyKfyR+QCeJD3s9T7nbLKRaNuNcSAlhvSr
NXIAoJnJuD+oNySr6dwl0r/uAB2BNKhf
=jLtp
-----END PGP SIGNATURE-----
More information about the Mono-list
mailing list