ruby - Profile Memory Between Requests in Rails to Find Leaks -
i've got rails 4.2.1 app has memory leak. i'm hosting on heroku , when in production memory continues grow until server starts paging. i'm trying source out leak - , wanted know if there way can debug memory allocations still active after request / response. if can that, can curl
pages few times warm globals siege
see memory leaking. way this?
the rack-mini-profiler gem allows count of objects in memory class (and allocated current request). dumps of frequent objects such strings - i've found helpful diagnosing memory leaks.
Comments
Post a Comment