{"id":23326146,"url":"https://github.com/absolucy/byond-memorystats","last_synced_at":"2025-04-07T06:43:52.839Z","repository":{"id":267023035,"uuid":"899827361","full_name":"Absolucy/byond-memorystats","owner":"Absolucy","description":"simple library to get memory stats from DreamDaemon at runtime","archived":false,"fork":false,"pushed_at":"2025-02-03T09:55:08.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T11:45:38.842Z","etag":null,"topics":["byond","byond-dll","rust","rust-lang","rust-lib"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Absolucy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-07T05:45:38.000Z","updated_at":"2025-02-03T09:53:11.000Z","dependencies_parsed_at":"2024-12-07T19:23:32.996Z","dependency_job_id":"9342a836-a27d-4c36-8756-91d14c3c5978","html_url":"https://github.com/Absolucy/byond-memorystats","commit_stats":null,"previous_names":["absolucy/byond-memorystats"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Absolucy%2Fbyond-memorystats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Absolucy%2Fbyond-memorystats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Absolucy%2Fbyond-memorystats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Absolucy%2Fbyond-memorystats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Absolucy","download_url":"https://codeload.github.com/Absolucy/byond-memorystats/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247608164,"owners_count":20965950,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["byond","byond-dll","rust","rust-lang","rust-lib"],"created_at":"2024-12-20T19:14:35.972Z","updated_at":"2025-04-07T06:43:52.822Z","avatar_url":"https://github.com/Absolucy.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# byond-memorystats\n\nThis is a simple library to programatically get the memory stats from DreamDaemon for a running BYOND server.\n\nNormally, you can only get this string through the DreamDaemon UI on Windows, sending the SIGUSR2 signal on Linux, or the \"interactive console\", but this allows you to get the same string at runtime, by calling the external library.\n\nPre-built binaries are available through the \"Build Binaries\" github action runs.\n\n## Usage\n\nUsage is simple:\n```dm\n// memorystats.dll on Windows, libmemorystats.so on Linux\nvar/stats = call_ext(world.system_type == MS_WINDOWS ? \"./memorystats.dll\" : \"./libmemorystats.so\", \"memory_stats\")()\n```\n\nIt will return a string in this format:\n\n```\nServer mem usage:\nprototypes:\n\tobj: 3.32 KB (20)\n\tmob: 16 B (1)\n\tproc: 10.7 KB (69)\n\tstr: 25.3 KB (635)\n\tappearance: 0 B (0)\n\tfilter: 0 B (0)\n\tid array: 13.6 KB (147)\n\tmap: 8 KB (0,0,0)\nobjects:\n\tmobs: 0 B (0)\n\tobjs: 0 B (0)\n\tdatums: 0 B (0)\n\timages: 0 B (0)\n\tlists: 56 B (2)\n\tprocs: 688 B (2)\n```\n\n## License\n\nbyond-memorystats is licensed under the [Mozilla Public License Version 2.0 (MPL-2.0)](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabsolucy%2Fbyond-memorystats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabsolucy%2Fbyond-memorystats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabsolucy%2Fbyond-memorystats/lists"}