sunspot/sunspot — comment on commit 03fc76b4745505bba1ad9f44cccf194813a71160
File: sunspot/lib/sunspot.rb line 165
By alindeman:

I'm thinking this is the cause of the memory leak folks are seeing in Rails development mode :(

I'll verify tomorrow .. but I think this might need to be some sort of `Hash` of class name => class instance so that things get cleaned out when Rails reloads the environment. Otherwise we'll hold on to all the old versions of classes, bloating memory.