Re: memory and circle

From: d. hall (dhall@illusion.apk.net)
Date: 03/08/96


-----BEGIN PGP SIGNED MESSAGE-----

// thus on Fri, 8 Mar 1996 19:47:32 -0500 (EST), Romulus virtually scripted...

Romulus> On Fri, 8 Mar 1996, Naved A Surve wrote:[...]
>>  open another window and type 'ps'

Romulus> I was thinking about being able to log the muds memory usage
Romulus> versus commands executed/etc to find a memory leak that we have in
Romulus> the muds code.

Romulus> I can't watch the thing 24 hours a day looking for when a leak
Romulus> occurs so I thought if I can find a system call that determines
Romulus> the muds memory usage then i can log it...and with other logged
Romulus> commands/etc I can get a hint where to begin looking for the leak.

It's called writing a front end to malloc, and loggin how the mud allocates
memory at any one time.  It's been done before, but it requires a lot of
discipline to make sure you call your function instead of malloc.

d.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBMUEPsoX26urqpgG1AQEgrQP+JMQAMo4iPSbA5+vykQ92Z5Ficdufdoex
EQThvxXv7ZGLclpaQIWi9Dlv2pJa0swSF41h2AD9GFIWJhEBWjFcD3xdawEBQ2+3
Zq4KKEjmHo5xC723AtDZlRce9yo3EB5gBBTql4L89edzk9ELfGJFug1gOKdzzv5o
WT4TPVw/k78=
=LmUs
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2b30 : 12/07/00 PST