Script that saves memory and idmapper data over time.

Data will be saved to game/logs/memoryusage.log. Note that the script will append to this file if it already exists.

Call this module directly to plot the log (requires matplotlib and numpy).

class evennia.server.profiling.memplot.Memplot(*args, **kwargs)[source]

Bases: evennia.scripts.scripts.DefaultScript

Describes a memory plotting action.


Called at script creation


Regularly save memory statistics.

exception DoesNotExist

Bases: evennia.scripts.scripts.DefaultScript.DoesNotExist

exception MultipleObjectsReturned

Bases: evennia.scripts.scripts.DefaultScript.MultipleObjectsReturned

path = 'evennia.server.profiling.memplot.Memplot'
typename = 'Memplot'