Skip to content

MAJOR: Memory leak or something is in the app, every change to servants increases the used memory #101

@The-Intelligent-One

Description

@The-Intelligent-One

Every time a cell in a table is edited, the used RAM increases. This is both true for the inventory tables as well as the servant tables. The former only increases it by 20-30mb per edit, but the latter can vary from 30mb to even up to 200mb. This can cause the app to lock up, and eat away all of the computers RAM if the user has a lot of edits to make. Heapdumps were created with a few edits between them to help identifying the issue:

Before: https://drive.google.com/file/d/1Epfyzk1g7sx6hB8AO7bu2yqIJs5XvKK2/view?usp=sharing
After: https://drive.google.com/file/d/1t8uQMzs2yIn-ClyPiR-4Uepub1ILrU4D/view?usp=sharing

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingconfirmedadditional label for bugs that are confirmed to be in the current releasehelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions