View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0020554GameMaker RunnerSpinePublic2016-03-04 15:052016-06-02 10:32
Assigned ToFritz 
PriorityHighSeverityC - GeneralReproducibility100%
PlatformWindowsOSWindows 8OS Version
Summary0020554: Spine: Loading a Spine sprite from an included file doesn't free itself from memory afterwards
DescriptionDue to memory limitations we've been managing our spine files as included files. We load them in using sprite_add from the .json file and it works as expected but the problem is that when using sprite_delete it doesn't seem to remove the spine data from memory.

When you run the sample project the memory is in the 40-45 Mb range, if you press space this will call sprite_delete but it will only free up 4Mb of memory.

If you press R this will delete the sprite and restart the game, you'll see that the original memory hasn't been freed and that it is further increased.
Steps To Reproduce1) Run the project, it will load the Spine sprite from the included file
2) See the memory used in the compiler log
3) Press space to delete the sprite
4) Press R to restart the application
5) See that the memory isn't being freed
Additional InformationOriginal helpdesk ticket: [^]
GM Version1.4.1749
Attached Files? file icon test_manage_spine_includedfiles.gmz [^] (1,421,842 bytes) 2016-03-04 17:24

- Relationships

-  Notes
Seokho Lee (Updater)
2016-03-04 17:24

add sample file. please help
Daniel Cleaton (Administrator)
2016-06-02 10:32

Verifying in EA478. Closing. Fix will be in next EA/Beta releases.

I idle at about 42.5MB a little bit after the game loads and the model is drawn. Pressing space drops this to 22.5MB (a drop of 20MB now), and pressing R only restores me back to the 42.5MB mark.

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker