Memory Leak in Android IMA SDK during Pre-Roll

100 views
Skip to first unread message

Dave

unread,
Sep 26, 2019, 1:23:12 PM9/26/19
to Interactive Media Ads SDK
Hi all,

I'm able to consistently reproduce a memory leak in which the activity and other components are not being garbage collected after being destroyed. This occurs after beginning to play a VMAP ad with multiple ad breaks and pressing BACK during the pre-roll.


1. Which SDK are you using (Android, iOS, HTML5, Flash)?

Android IMA SDK (latest version 3.14.0).

2. What ad tag are you using in your request?

VMAP (with pre-, mid-, and post-rolls)


3. Are you able to reproduce this issue using your ad tag in the sample app (AndroidiOS) or the Video Suite Inspector (HTML5Flash)?

Yes, using the Android AdvancedExample.

4. What steps must we take to reproduce your issue?

Steps
  1. Use latest AdvancedExample with latest IMA SDK version (3.14.0)
  2. Start MyActivity
  3. Select VMAP (with pre-mid-post-rolls)
  4. Play video
  5. Press back during the pre-roll
  6. Activity (and other components) will leak

Notes
MyActivity, VideoFragment, AdsManager, SampleVideoPlayer, VideoPlayerWithAdPlayback, VideoPlayerController are all being destroyed properly, but they are not being garbage collected. It does appear that the everything is garbage collected correctly if and only if BACK is pressed during content playback (instead of ad playback).


Thank you for your help,
Dave 

IMA SDK

unread,
Sep 26, 2019, 5:30:06 PM9/26/19
to dfourn...@gmail.com, ima...@googlegroups.com
Hi Dave,

Thank you for reporting this to us. I was able to reproduce the Memory Leak that you're seeing during the pre-roll. I'll share the behavior with the rest of the team they are going to review it and I'll come back to this thread as soon as I have more information.

Regards,
Arnaud Casame
IMA SDK Team

ref:_00D1U1174p._5001UHI5m4:ref

Dave

unread,
Oct 9, 2019, 9:23:03 AM10/9/19
to Interactive Media Ads SDK
Hi Arnaud,

Do you have any updates on this issue?

Thank you,
Dave

IMA SDK

unread,
Oct 9, 2019, 4:55:58 PM10/9/19
to dfourn...@gmail.com, ima...@googlegroups.com
Hi,

Thank you for following up with support. We don’t have an update for you at this time, but I will come back to this thread as soon as I have more information.
Reply all
Reply to author
Forward
0 new messages