Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Over several days, Processing slowly consuming RAM on ARM #6179

Open
ericdalgetty opened this issue May 5, 2021 · 0 comments
Open

Over several days, Processing slowly consuming RAM on ARM #6179

ericdalgetty opened this issue May 5, 2021 · 0 comments
Labels
arm help wanted We have very little time and would like some help

Comments

@ericdalgetty
Copy link

Description

After running for just over 4 days, I had some code crash. While trying to navigate the desktop, I noticed the mouse movement was very slow and eventually stopped. I tried to open the task manager, but could not. I had to disconnect power to reboot. To troubleshoot, I ran the code again and kept an eye on the RSS being used in the task manager, and I've noted it goes up somewhere around 100 KB/min, all the time. I've also tried running a sketch with an empty void setup and empty void draw, and still the RSS increases at about the same rate.

Expected Behavior

RAM usage might increase initially, but should steady out and not grow.

Current Behavior

RSS usage for the sketch is slowly increasing at a rate of about 100 KB/min. I have been monitoring this for at least 2 hours. At this rate, my RPi will run out of memory in about 5 days, which is what I saw before.

Steps to Reproduce

  1. Run a sketch with empty void setup and void loop.
  2. Watch the RSS usage

Your Environment

  • Processing version: 3.5.3
  • Operating System and OS version: Raspberry pi running Raspberry Pi OS
  • Other information:

Possible Causes / Solutions

@benfry benfry added arm help wanted We have very little time and would like some help labels Jun 14, 2021
@benfry benfry changed the title Processing slowly consuming RAM Over several days, Processing slowly consuming RAM on ARM Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arm help wanted We have very little time and would like some help
Projects
None yet
Development

No branches or pull requests

2 participants