Ruby 1.9.1 Memory Savings?
Okay, in my last post I was talking about some changes I was making to kams to make it work with Ruby 1.9.1.
Today I happened to glance at the memory usage. This is just after starting up the server and I have about ~830 game objects in the world (I expect that to be a small number, given that I only have 152 rooms, 325 exits, and the rest are random things like clothing). Under Ruby 1.8.7, this takes ~36MB of memory. Under 1.9.1RC1, it’s only 16MB. Less than half.
Nice. Now to look for areas where memory may be leaking…

