/tg/ Station 13 - Modules - TypesDefine Details

modular_zubbers/code/controllers/subsystem/memory_stats.dm

MEMORY_STATS_BUDGET_MBRough ceiling of what a Dream Daemon process can address before it falls over, in MB. Display only.
MEMORY_RSS_FILEFile the windows background writer drops its RSS samples into, see tools/memory_stats/mem_writer.ps1
MEMORY_STATS_SPIKE_ALERT_MBMB of RSS growth between two samples that gets an admin's attention
/var/SSmemory_statsPeriodically logs process memory usage and the sizes of leak-prone lists/queues to data/logs//memory_stats.log
/proc/get_process_rss_bytesReturns the process resident set size in bytes, or null if unavailable right now.

Define Details

MEMORY_RSS_FILE

File the windows background writer drops its RSS samples into, see tools/memory_stats/mem_writer.ps1

MEMORY_STATS_BUDGET_MB

Rough ceiling of what a Dream Daemon process can address before it falls over, in MB. Display only.

MEMORY_STATS_SPIKE_ALERT_MB

MB of RSS growth between two samples that gets an admin's attention