Why does memory_get_usage () result change greatly. Why is the memory_get_usage () result greatly changed? There is a set of programs to solve the problem. I use memory_Get_usage in the footer to output the memory usage.
Why is the memory_get_usage () result greatly changed?
Solution
There is a set of programs. I use memory_Get_usage in the footer to output the memory usage. The result is greatly changed. sometimes it is more than 700 k, sometimes it is more than 1 M, sometimes it is 5 M, restart apache again.
The output page is the same page, and there is no new data in the database, so it is not clear.
Netizen's suggestion:
Since the memory usage remains unchanged... Which memory does not change in your task manager?
Netizen's suggestion:
But several times the change volume.
Netizen's suggestion:
[Img] http://tx.icain.cn/png/#/img]
Is it always increasing or changing without regularity?
Netizen's suggestion:
As time goes on, it will increase, but it will take a long time, for example, a few hours.
Why is the result of using memory_get_usage () greatly changed? There is a set of programs to solve the problem. I use memory_Get_usage in the footer to output the memory usage. The result is greatly changed ,...