smicallef / spiderfoot

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
http://www.spiderfoot.net
MIT License
13.14k stars 2.28k forks source link

Possible memory-leak in UI #1884

Open arin17bishwa opened 1 month ago

arin17bishwa commented 1 month ago

I was running 2 full scans for domains, just to try out another issue (get huge datachunk). I had the web UI open during the whole time. But my memory got bloated after a certain point.

Once I closed the UI, I noticed a large enough drop in the system memory usage. Screenshot from 2024-09-24 10-24-08

Nothing had crashed technically(yet), but I find it weird that the UI would consume nearly 4GB of memory.

Python: 3.10.12

Git branch: master

bcoles commented 1 month ago

Once I closed the UI, I noticed a large enough drop in the system memory usage.

Do you mean you closed your web browser? Or the sf.py process?

arin17bishwa commented 1 month ago

Just the browser tab(http://127.0.0.1:5001/), other tabs were untouched. The scan(sf.py process) was still running in the background.