posted 13 years ago
Hi !
I am experimenting with Mobile Media API. Its a simple midlet. The user can 'repeatedly' play audio files. They are in MIDI format. Size is around 2.5 K.
I am getting an OutOfMemeoryError if I play sounds, 10 or 15 times repeatedly. Do you think that audio files consume lot of memory ?
Danish
I am experimenting with Mobile Media API. Its a simple midlet. The user can 'repeatedly' play audio files. They are in MIDI format. Size is around 2.5 K.
I am getting an OutOfMemeoryError if I play sounds, 10 or 15 times repeatedly. Do you think that audio files consume lot of memory ?
Danish
posted 13 years ago
Apparently you have a memory leak of some sort. Could you describe how the (re)play function is implemented and how do you cleanup?
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
