Skip to content

Show StringPicture/Picture - Possible Memory Leak #3163

@jetrotal

Description

@jetrotal

While doing some tests, I noticed an constant increase in memory usage on a command that simply asigned variables and created string pictures:
image

Maybe the issue was caused by the repeated usage of Show string pictures, reseting the same pictures over and over again.
image

I suspect the same issue can happen on the original rpg_rt and patches.
To mitigate that, I suggest Avoid doing all the steps from commands like "Show Picture", "Show String Picture" and "Move Picture",
If the result turns to be the exact same as it was before.

In case of move picture, maybe the command should just wait until the amount of frames it's marked to use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Patch availablePerformanceRelated to improvements on memory, less CPU or disk usage, battery savings, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions