Releases: Alcheri/Mem
Releases · Alcheri/Mem
v1.0.0
Mem is a new Limnoria plugin that provides memory usage and allocation insights for your bot.
What's Included
- New
mem usagecommand to report process memory (RSS,VMS) - New
mem topcommand to display toptracemallocallocation sources - New
mem statscommand for extended metrics (RSS,VMS,Shared,Data)
Stability and Compatibility
- Safe
tracemallocstartup guard to avoid reload/init crashes when tracing is already active - Portable memory field handling for systems where
shared/dataare not available - Friendly fallback message when no allocation snapshot data exists yet
Packaging and Quality
- Added
psutilto project dependencies - Narrowed config i18n fallback to
ImportErroronly - Added focused tests for:
- Command behavior (
usage,top,stats, unknown subcommand) tracemallocguard logic- Empty snapshot handling
- Missing optional memory fields
- Command behavior (
Commands
!mem usage!mem top!mem stats
Dependencies
limnoriapsutil