Rakuten interview question

How to detect memory leak in production env