-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
None
Example: https://gist.github.com/3199866
Something is seriously wrong, memory use goes over 200 MB in about 1 minute of running this on Linux. When not running the code in a thread, memory use is normal. Note I disabled the identity map, but it did not help.
Using mongo (1.6.2)
Using mongoid (2.4.12)
ruby 1.9.3p194 (2012-04-20 revision 35410) [i686-linux]
Was NOT able to reproduce on OSX, only on my Linux box Ubuntu 11.04:
Linux 2.6.18-308.el5.028stab099.3 MONGOID-4 SMP Wed Mar 7 15:56:00 MSK 2012 i686 i686 i386 GNU/Linux
On OSX Mountain Lion (12.0.0 Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64 x86_64), I did NOT encounter this issue (memory use is normal, when running same code).