Skip to content

slows down when running for a while #189

Open
@seanmpuckett

Description

@seanmpuckett

the editor gets slower and slower as the application remains open longer. it takes longer to update the screen when scrolling. it may be related to number of times switched panes. not sure. have to restart every few hours of usage to continue work. running mac version. note this is new to this version with the new font and redesigned toolbar, previous version could stay open indefinitely with no slowdown

0.20.0

Activity

ubidefeo

ubidefeo commented on Jun 8, 2025

@ubidefeo
Collaborator

Thank you for opening this issue, @seanmpuckett

I think there's a memory leak generated by listeners added to tabs and not released.
I remember a few versions ago we were mentioning this internally and I have a task to look into it but haven't gotten myself to it yet.

With this open it will get more attention by my other colleagues helping and will get pushed more 😉

On my Mac I sometimes keep it open for days but maybe the 32GB RAM help hide it better 🙃

seanmpuckett

seanmpuckett commented on Jun 11, 2025

@seanmpuckett
Author

more info about this. (my mac has 64G ram, I doubt that's the issue)

if you load a large file, e.g. 1000 lines or more, and scroll around and edit it for 5-10 minutes, you can see it taking longer and longer to update the screen when you scroll or search. i think it's related to file size

cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      slows down when running for a while · Issue #189 · arduino/lab-micropython-editor