I have installed oink . it shows below output. There is whosin action in attendance controller takes around 471 MB RAM. How to log each code line of whosin action for memory usage ?
Apr 27 13:07:59 ip-10-136-100-100 rails[23132]: Oink Action: api/v1/sessions#checkupgrade
Apr 27 13:07:59 ip-10-136-100-100 rails[23132]: Memory usage: 397488 | PID: 23132
Apr 27 13:07:59 ip-10-136-100-100 rails[23132]: Oink Log Entry Complete
Apr 27 13:08:00 ip-10-136-100-100 rails[23132]: Oink Action: api/v1/rcfissues#search
Apr 27 13:08:00 ip-10-136-100-100 rails[23132]: Memory usage: 397488 | PID: 23132
Apr 27 13:08:00 ip-10-136-100-100 rails[23132]: Oink Log Entry Complete
Apr 27 13:08:00 ip-10-136-100-100 rails[23108]: Oink Action: api/v1/attendances#whosin
Apr 27 13:08:00 ip-10-136-100-100 rails[23108]: Memory usage: 471580 | PID: 23108
Apr 27 13:08:00 ip-10-136-100-100 rails[23108]: Oink Log Entry Complete
Aucun commentaire:
Enregistrer un commentaire