PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

ENORMOUS Amount of ram used after starting the script

Open fr1tzz opened this issue 10 years ago • 11 comments

My laptop is running Debain 8.5 with 4Gb of ram and 8Gb of swap. It idles at around 300-400 Mb of ram usage doing nothing. I started the script and It immediately started using all my ram and 2Gb of swap. It didn't seem to be doing this before. I'm I doing something wrong or is this a bug?

fr1tzz avatar Jul 25 '16 08:07 fr1tzz

On Master, Uses <30Mb of RAM.

xavor92 avatar Jul 25 '16 08:07 xavor92

What are you starting ? the script only ? the web server ? also, can you add a screenshot of the usage live ?

dmateusp avatar Jul 25 '16 08:07 dmateusp

Here are before and after when I run the script. BEFORE: http://imgur.com/dS0J9lR AFTER: http://imgur.com/4a6NUoE It was using 4Gb of swap before I managed to kill it.

fr1tzz avatar Jul 25 '16 09:07 fr1tzz

Maybe someone with more experience with your OS could help you, I'm a filthy Windows user and the RAM usage is fine on my setup

dmateusp avatar Jul 25 '16 09:07 dmateusp

Trying to reproduce on OS X

douglascamata avatar Jul 25 '16 09:07 douglascamata

Please, show me your config.json and keep htop window on the bot process so I can see better how it's behaving.

douglascamata avatar Jul 25 '16 09:07 douglascamata

Have been running for almost 10 minutes and memory usage is stable at 0.3% of my RAM.

douglascamata avatar Jul 25 '16 09:07 douglascamata

btw, I'm running the last commit from dev branch, as always. Still my RAM usage is at 0.3%.

douglascamata avatar Jul 25 '16 09:07 douglascamata

Still at 0.3% RAM usage .... I can't confirm your leak in my OS.

douglascamata avatar Jul 25 '16 10:07 douglascamata

I had this problem too. Deleted the web folder and it was fine. Turns out the index.html grew to something like 4GB. Had no idea why.

linanqiu avatar Jul 25 '16 11:07 linanqiu

not related to core code

fredrik-hellmangroup avatar Jul 25 '16 21:07 fredrik-hellmangroup