Skip to content

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

@ericdalgetty

Description

@ericdalgetty

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    armhelp wantedWe have very little time and would like some help

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions