We have built a SaaS e-commerce platform using liquid templating language on Rails. We are facing a serious memory leak in our application. With only one store online the memory jumps from 100 mb to 500 mb in a few minutes ultimately crashing the server after sometime. The worst part is that the memory increases gradually and reduces very very slowly over a prolonged period. We re-factored almost entire app and drastically reduced objects but memory issue is not resolved. We are using REE but that too does not seem to help.
I am ready to share the source code if someone is ready to help us out immediately. Your help will be truly appreciated!