MantisBT - MPfm
View Issue Details
0000107MPfmPlayerpublic2011-05-22 09:302011-05-29 10:59
ycastonguay 
ycastonguay 
urgentmajoralways
resolvedfixed 
0.4.4.3 
0.4.4.40.4.4.4 
0000107: Memory leak when loading multiple gapless sequences
The sounds aren't released from the memory. They must be released cleanly. Check if the playback mode needs to be changed.
No tags attached.
Issue History
2011-05-22 09:30ycastonguayNew Issue
2011-05-22 09:30ycastonguayStatusnew => assigned
2011-05-22 09:30ycastonguayAssigned To => ycastonguay
2011-05-22 09:37ycastonguayNote Added: 0000028
2011-05-22 09:37ycastonguayStatusassigned => resolved
2011-05-22 09:37ycastonguayFixed in Version => 0.4.4.4
2011-05-22 09:37ycastonguayResolutionopen => fixed
2011-05-29 10:59ycastonguayCategoryGlobal => Player

Notes
(0000028)
ycastonguay   
2011-05-22 09:37   
Added this code to PlayGaplessSequence:

                    if (gaplessSequenceData.sound != null)
                    {
                        gaplessSequenceData.sound.release();
                    }

The subsounds don't need to be released (they raise a memory exception anyway). The application now stays around 60MB memory usage.