1

OutOfMemoryException when refreshing the dashboard

The tray icon does not update itself.

When I click on the refresh icon in the dashboard I get an OutOfMemory exception popup.

My machine has 64GB of memory and definitely did not run out of memory.
Looking at the logs there seems to be an issue with deserialization.

Attached is a screenshot of the issue and the logs.

3 replies

Thanks for reporting this!

What is the memory usage of LocalWeb process when you see those memory limit errors? (this process is part of CatLight app)

The main reason why this can happen with GitLab connections is that we cache GitLab responses in memory to avoid DDOS-ing the service with frequent requests. If those responses are very large, the process can use a lot of memory and run out of it. We did some caching improvements for GitLab a few months ago, but apparently, the issue still happens.

One way to avoid it is to monitor fewer spaces in GitLab, but we'll look into better solutions.

AT

After I posted I realised that the GitLab settings appeared red with an OutOfMemoryException error.

I was using the default "https://gitlab.com" server address and that kind of worked and pulled some data, but only once.

When I put "https://gitlab.com/<my organization>" the error went away and refresh works.

AT

Here's a screenshot of the memory usage when the app gave me an OutOfMemoryException.

I've got 64GB of RAM and it was only at 70% load when the issue happened.

When the issue comes up the settings for the GitLab server connection are also marked as in error and the token is wiped out.
Could it be that the app doesn't store the path properly (as I set the root gitlab URL initially)?

I only monitor 4 projects. Is that too much?
They have associated CI pipelines so there are a lot of builds every day.Cheerimage-1718626736926.png