Open GuanglinDu opened 9 years ago
one possible solution: That's Not a Memory Leak, It's Bloat https://blog.engineyard.com/2009/thats-not-a-memory-leak-its-bloat/
Solved by using gem will_paginate to paginate every 100 records. The large quantity (thousands) of retrieved records in the controller is the memory killer.
The memory usage keeps going up after every refresh of the pages. It can reach as high as 15G Bytes and then my PC will respond very slowly. Have to kill it and restart the app. Do not know why at present.