xenial-black
xenial-black2y ago

Memory usage is spiking, even with CRAWLEE_AVAILABLE_MEMORY_RATIO set to .7

Any ideas on how to solve this?
4 Replies
Oleg V.
Oleg V.2y ago
Can You please provide any logs / links to your run / examples of mentioned issue?
Lukas Krivka
Lukas Krivka2y ago
Limit maxConcurrency or the supplied memory. You can also slow down the scaling up but it is kinda trying stuff out
xenial-black
xenial-blackOP2y ago
I have the container giving 8gb, do I have to tell it that it only has 8bb? I thought available_memory_ratio would handle.
Lukas Krivka
Lukas Krivka2y ago
That controls the concurrency so it should slow down while reaching CPU/memory/event loop utilization. But spikes can still happen if you have bad luck. First look at the logs, is concurrency rapidly increasing before you see the spike? We need more insight into what those spikes are

Did you find this page helpful?