This involves rails (specifically) activerecord but it isn’t really
about rails. I am working on a script to do a data migration from an old
system to a new rails system. After about 10 minutes of creating new
data in the new rails database, doing a save suddenly starts to take
several seconds. Also, the memory usage goes up. I am running
1.9.3-p448. I tried to run 2.1.1 and saw similar results (which
The process starts at 160MB and goes over 300MB and at the point it
slows down, it goes from like 200MB to 300MB. The script does eventually
finish, but I need to figure out this slow down issue.
Any help would be greatly appreciated.