j7126 / OctoPrint-Dashboard

A dashboard for Octoprint
GNU Affero General Public License v3.0
289 stars 39 forks source link

Possible memory leak #141

Closed mselkin closed 4 years ago

mselkin commented 4 years ago

I know that this is a bit long but please take your time and fill in the following information as clearly and detailed as possible. It will shorten the time needed to understand and fix the issue significantly. Please also state versions clearly when applicable. "Latest version" doesn't help much.

Describe the bug Possible memory leak.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'

  2. Click on '....'

  3. Scroll down to '....'

  4. See error

  5. Go to dashboard tab - log into Octoprint from a web browser and note the Pi RAM usage.

  6. Refresh your web browser window - the RAM usage goes up by a few %

  7. Every success login to Octoprint cause the RAM usage to creep until you eventually you run out of RAM

Expected behavior A clear and concise description of what you expected to happen.

Repeated logins should not cause increasing RAM usage

Screenshots If applicable, add screenshots to help explain your problem.

Files (please attach the following Files or screenshots when applicable):

OctoPrint server and Plugins:

Desktop (please complete the following information):

Additional context I have disabled the other plugins one at a time and still observe this behaviour

Could there be a possible memory leak?

Any help would be appreciated.

Thanking you, Mark

mselkin commented 4 years ago

Hi,

Sorry,

I disabled and then re-enabled each plugin one at a time and was able to determine the culprit for the memory leak is the AutomaticShutdown plugin - I shall contact the author.

Thanks again.