![]() |
New NPCServer: Less memory usage
A new npcserver has been uploaded to all machines, Era and Unholy Nation has already been restarted. We have fixed a few smaller memory leaks and changed some stuff to use less memory. There are also a few new commands to be able to manage memory usage better:
Script: getProcessCPUUsage() - returns float - CPU usage of the game/server (0-1) in the previous minute, multiply with 100 to get a percentage getProcessUptime() - returns integer - total number of seconds since the game/server started getMemoryUsage() - returns integer getMemoryStatsObjects() - returns integer - returns the total memory taken by objects, beta (like /memstats) RC chat: New commands to analyze the memory usage of script objects and levels, this not very exact right now but can be used to find npcs which take a lot of memory: /memstats /memstats full /memstats npc name /memstats level name |
I'm pleased that you're informing us of the changes that you're making to the NPC-Server.
Is there an ETA on next Graal version yet? |
The commands always return
HTML Code:
unknown or incomplete command, type /help for more infoHTML Code:
unknown or incomplete command, type /help for more info |
Thanks for the update Stefan. These should also help fix a few things on Era.
|
Quote:
|
Bit of a bump but what value does getMemoryUsage() return?
[Edit] Also, is there a maximum memory value set for each vserver? |
| All times are GMT +2. The time now is 04:00 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.