Closed ellisonpatterson closed 1 year ago
Thanks for bringing this up @ellisonpatterson, it's normal that memory increases while PHP is running. From what I get out of your example, it seems like the memory grows from 5,12 MB to to 5,13 MB and I would expect to fall back down after a certain amount of time/growth. I also answered a similar ticket in here: https://github.com/reactphp/http/issues/483.
This doesn't seem to be a memory leak IMO, so I will close this for now. If you have any further evidence this being a memory leak (memory never falling back down), we can always reopen this and have some further investigation :+1:
I am using the latest dev-master for my application and am using it as a logger. It seems that there is some type of memory leak going on, as over time the memory continues to rise each time I write to a file. I am able to reproduce this with the following code sample.
What is going on, am I doing something wrong?
I am using the UV extension.
Thank you!
Test Script:
Output: