Quickly after using the web ui, especially when printing, the memory consumption is spiking and reaching as high as several gigabytes (until the whole available memory of the pc, 16 GB, is depleted).
I use Firefox on Windows 11 but also saw the issue when using Windows 10.
On Chrome the memory consumption does not appear to spike. But the browser is lagging instead.
What did you already try to solve it?
I'm currently trying to disable plugins to see whether one of those is to blame.
OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible
OctoPrint: 1.7.0
OctoPi: 0.18.0
printer: Ender 3 v2
firmware: latest stock (version currently not at hand, probably not relevant anyway)
browser: Firefox 93
OS: Windows 11
Did you open the GCode viewer tab at any time when this happened? The GCode viewer is the most memory-hungry component by a large margin in normal circumstances, if the GCode file is large enough. If you use the GCode viewer, please also mention the typical file size for your GCode when this issue appears.
And testing this without plugins is really important, it is not that unlikely that this is simply a misbehaving plugin. I'd also test this while disabling any browser extensions.
As already mentioned on Twitter a couple week ago (I think), I'm pretty sure this is one of the third party plugins which running in safe mode would confirm. Manually disabling one after the next is of course also going to help narrow it down.
And as already pointed out, we'd actually need the whole bundle, not just the summary.
If the GCode is large enough, it can use multiple Gigabytes of RAM. But it probably doesn't explain this particular case. The most likely culprit here is a plugin. And it looks more like a memory leak and not just excessive memory usage.
Manually opened the GCode viewer right now. Memory usage (currently around 1GB) is unphased.
In general the memory consumption is rather stable right now.
Update: I've re-enabled the Dashboard again and it seems that the memory consumption started to increase, but much slower than previously. I'm at 1.4 GB now, slowly rising.
Update2: Printing a longer job. Now 1.8 GB, still rising. But much slower than otherwise.
Update3: Over the night the consumption increased further to 2.6 GB. The print is done but the memory usage remains as is.
Update4: Next print. The memory consumption is jumping wildly, even withouth the print having started yet (currently waiting for bed expansion to do the leveling.) It dropped to ~1.1 GB right before I started the print and now jumps between 4 GB and 2.5 GB (while doing the leveling).