You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a memory leak in my daemon and i think i found the cause: openFile().
Memory does not go up if i replace it with a new WritableResourceStream(\fopen($filename, 'w'));
Code to reproduce (taken from a amphp/socket issue)
Hi,
I have a memory leak in my daemon and i think i found the cause: openFile().
Memory does not go up if i replace it with a
new WritableResourceStream(\fopen($filename, 'w'));
Code to reproduce (taken from a amphp/socket issue)
Will show:
You can spam connections with:
while : ; do (echo | nc localhost 1337 ) & sleep .1 ; done
The memory will grow up until 128M default max limit and the process will crash.
The text was updated successfully, but these errors were encountered: