Thread: extreme lag
View Single Post
  #9  
Old 11-03-2007, 02:18 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Optimization in terms of reducing the memory usage. Each player had hundreds of clientr.muditem_ flags, the original scripters probably thought those are deleted at logout, but they are not, it's clientr.mud_. So those flags required a huge amount of memory on server-side and also made login slower. Also there were two dbnpcs with a huge amount of variables which were not used anyway but it was adding more and more.

I cannot blame the scripters, but if each server would take >500 MByte memory then there is not enough memory on the machine. There should eventually be some tools to measure the memory usage of npcs, players and levels.
Reply With Quote