spatie / ray

Debug with Ray to fix problems faster
https://myray.app
MIT License
554 stars 102 forks source link

Ray not responding after a large dump and refused to clear logs on restart #861

Closed digitlimit closed 3 months ago

digitlimit commented 8 months ago

Before creating a new bug report Please check if there isn't a similar issue on the issue tracker or in the discussions.

If you are having troubles connecting your project to Ray, please check our docs first, especially the configuration and environment specific configuration sections.

Describe the bug I am using Ray in a Laravel application in Ubuntu 22.04. I dumped an array of over 10000 rows

 ray()->clearAll();
 ray($array);

I think the array was sent multiple times on page reload, now Ray has frozen and cannot be scrolled. I have tried restarting Ray by quitting and reopening Ray, however, the logs are still stuck in there and refuse to clear.

Versions 2.7.5

You can use composer show to get the version numbers of:

PHP version: 7.4 Laravel version (if applicable): Laravel 7

To Reproduce N/A

Expected behavior Clear all logs and become responsive, and scroolable.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

patinthehat commented 7 months ago

@digitlimit When using Ray on Linux, I've thought that I terminated the application but it was still in fact running and did not exit. Is it possible this is what you're running into? You can try killing the process manually with pkill ray (assuming the binary is named ray). Let me know if this helps.

spatie-bot commented 3 months ago

Dear contributor,

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.