Describe the bug
I recently accidentally had an infinite for loop that pumped gigabytes of debug data to ray (yes, it's my fault). The problem with this is, that it consumed all my system's memory and froze my machine so that I had to hard-reset it. I understand that this is not a normal usage pattern, but it would be nice if ray would free up memory after a certain point to gracefully deal with such scenarios.
BTW, realize that there is a history limit setting, but in this case this didn't seem to prevent the issue (again, my fault due to the amount of data I was sending to ray).
Versions
2.7.5
You can use composer show to get the version numbers of:
spatie/ray package version: 1.41.1
spatie/laravel-ray package version (if applicable): 1.35.1
PHP version:
10.39.0
To Reproduce
Steps to reproduce the behavior:
1) Write an infinite loop that pumps lots of data to ray
Expected behavior
Ray should not eat all the system memory
Desktop (please complete the following information):
because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.
Describe the bug I recently accidentally had an infinite for loop that pumped gigabytes of debug data to ray (yes, it's my fault). The problem with this is, that it consumed all my system's memory and froze my machine so that I had to hard-reset it. I understand that this is not a normal usage pattern, but it would be nice if ray would free up memory after a certain point to gracefully deal with such scenarios.
BTW, realize that there is a history limit setting, but in this case this didn't seem to prevent the issue (again, my fault due to the amount of data I was sending to ray).
Versions 2.7.5
You can use
composer show
to get the version numbers of:PHP version: 10.39.0
To Reproduce Steps to reproduce the behavior: 1) Write an infinite loop that pumps lots of data to ray
Expected behavior Ray should not eat all the system memory
Desktop (please complete the following information):