Announcements
The Scaleform forum is now read-only. Please head to the Gamedev site for product support.
Scaleform Forum (Read Only)
Scaleform enables developers to leverage the power of the Adobe® Flash® tool set to create powerful user interface environments for video games.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Sound class leaking memory?

4 REPLIES 4
Reply
Message 1 of 5
justin.mette
524 Views, 4 Replies

Sound class leaking memory?

I'm using Scaleform 4.1 of iOS and have a simple test function that loads up a Sound and plays it.  When the sound is complete, no memory is freed up even though I'm releasing all references to the Sound and SoundChannel classes used to play the sound.

 

Has any one else had this issue?  

4 REPLIES 4
Message 2 of 5
justin.mette
in reply to: justin.mette

I should mention that I am watching the _FMOD HEAP in AMP while the app is running on the iPad 2.

 

I see the FMOD memory increase when the sound is loaded but it is never freed (not even after a delay waiting for GC).

Message 3 of 5
AD_ADeCastro
in reply to: justin.mette

Hello Justin,

 

Sorry for the late response! There are some circumstances where caching might be expected, but we can't be sure if this is an issue until we get some information about your setup. Your GFx version, details of how your content is organized, and how the sounds are accessed would be useful. Also, please provide a simple example we can use to reproduce your issue.

 

Thanks!

 

Angela

Scaleform Support

Message 4 of 5
dani_mrquez
in reply to: justin.mette

Same issue here. I'm using scaleform 4.2 iOS. The sounds are loaded via URLRequest and if I "free" the sound and load it again new memory is used.

Any clues?

 

 

Thanks in advance.

Message 5 of 5
dani_mrquez
in reply to: dani_mrquez

False alarm in my end. Running in debugging mode let me realize that my sound wrapper was causing an exception (which was the one causing the leak).

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report