J
J
jekahm2016-03-30 12:48:56
PHP
jekahm, 2016-03-30 12:48:56

How to get the value of RAM consumed by an Ajax script?

Good day!
Repeatedly when testing ajax scripts, I encountered the problem of lack of memory.
Is it possible to somehow track how much RAM is being consumed at a given time during the script process? Maybe either with the help of php, or using some tools to monitor the operation of the web server.
Thanks in advance to everyone for help!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
impos, 2016-03-30
@impos


The functions php.net/manual/ru/function.memory-get-peak-usage.php can help
php.net/manual/ru/function.memory-get-usage.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question