Prototypes:
obj: 492916 (3187)
mob: 497556 (290)
proc: 1540096 (1917)
str: 717855 (16196)
appearance: 1653351 (4331)
id array: 1690460 (4679)
map: 280984184 (400,400,21)
objects:
mobs: 421056 (455)
objs: 11446656 (59210)
datums: 46316 (548)
images: 11993316 (138)
lists: 529768 (10836)
Problem description:
The initial problem was lag-spikes and delay. World CPU has been optimize and averages below 20%. I've deducted the problem was the game was using too much memory. 359.6MB of memory seems like quite a lot and I need suggestions on how to minimize it.
This morning I've reduced it from 440 mb by moving around some variables and initializing a few list when needed. I can't seem to find any more variables that need this type of optimization.
So I'm referencing the memory status to know where I should look but I'm not too particular familiar with it. For instance, I have no idea how 138 images could take up 11993316 bytes of memory. And I'm not quite sure what an ID array is and how I would go about minimizing that.