Open akberg opened 6 months ago
Are there specific steps that one can follow after loading the score in question that you have measured to show increased memory usage? The more specific you can be about how to reproduce the problem, the better the likelihood someone else will be able to reproduce the problem and thus investigate the cause.
I will try to investigate further myself when I get back to a machine that's powerful enough to build MS (and when I don't have a deadline for a score). But, in a second iteration of being slightly more attentive, I once again noticed drastic performance hits within an hour of working solely with note input, chord notation, and articulations.
In case a diff might help you pinpoint any suspecting behaviour, I'm also attaching a version of the same score after the above-mentioned session, and I'll do that a few more times as I pay extra attention while working on this score in particular.
Added some more context; The key arrow "change note value" should be worth some closer examination.
Issue type
Crash or freeze
Bug description
When working in MuseScore, the performance gradually deteriorates up to a point where it's completely useless or crashes (usually within 2-3 hours). Although I haven't had time to compile a dev version and attack it with Valgrind yet, I suspect some memory leaks or otherwise less than ideal resource management to be the root cause. Since surprisingly few users I have talked to can relate to the issue, I suspect it relates to some maybe lesser used features.
Issue #14693 points in the same direction, but seems to have been dismissed. I'm adding some more context, as this is a seriously workflow-killing issue.
Update after some further investigation: I've identified one very possible source of memory leaks in
Steps to reproduce
2. After that time, input lag has gradually increased to more than a second response time for any note input.Screenshots/Screen recordings
MuseScore Version
OS: Windows 10 Version 2009 or later, Arch.: x86_64, MuseScore version (64-bit): 4.2.1-240230937, revision: github-musescore-musescore-d757433
Regression
I don't know
Operating system
Windows 11, Fedora 39, Kubuntu 22.04
Additional context
Score (It's) Hairspray.zip