Asked by:
Memory leak of UWP AdControl

Question
-
I found a memory leak with UWP AdControl (latest version released on 2/1/2019)
I tried to create new AdControl and then remove it. After 1 minute, create new AdControl and then remove it. Do so on in 10 minutes, memory usage raises in Task manager I couldn't find anyway to release memory even if calling to Dispose method of AdControl
Please revise and release an update for SDK to fix this issue ASAP because it could make app crashes due to low memory.Tuesday, November 26, 2019 4:38 PM
All replies
-
Hi,
I have a question here. When you debug your app using Visual Studio, does the GC works? You could check that in the Diagnostic Tools window from the Visual Studio. When GC happens, there will be a yellow arrow in the Process Memory form. GC is lazy, it only happens when the system feels the system pressure. That's to say, if the system available memory is enough, the app is able to use more memory. If GC happens and the memory usage drops, this is not a problem. But if GC happens and the memory doesn't drop, this will be a problem. That's why I'm asking you to check if the GC happens.
Best regards,
Roy
"Developing Universal Windows apps" forum will be migrating to a new home on Microsoft Q&A (Preview)!
We invite you to post new questions in the "Developing Universal Windows apps" forum’s new home on Microsoft Q&A (Preview)!
For more information, please refer to the sticky post.Wednesday, November 27, 2019 5:29 AM -
Hi,
I have a question here. When you debug your app using Visual Studio, does the GC works? You could check that in the Diagnostic Tools window from the Visual Studio. When GC happens, there will be a yellow arrow in the Process Memory form. GC is lazy, it only happens when the system feels the system pressure. That's to say, if the system available memory is enough, the app is able to use more memory. If GC happens and the memory usage drops, this is not a problem. But if GC happens and the memory doesn't drop, this will be a problem. That's why I'm asking you to check if the GC happens.
Best regards,
Roy
Hi Roy,
GC happens but memory doesn't drop after that. Please check screenshot at hxxps://i.imgur.com/Krlxyox.png (replace hxxps with https)
Wednesday, November 27, 2019 4:54 PM -
Hi,
I can see the picture and this should be a problem. Could you please try to contact the store team about the AD SDK issue here: Contact US.
Choose to Contact us, select Dashboard for Topic and select Ads in app for issue type and select SDK for subcategory. You could get more help with the account issue via the ticket.
Best regards,
Roy"Developing Universal Windows apps" forum will be migrating to a new home on Microsoft Q&A (Preview)!
We invite you to post new questions in the "Developing Universal Windows apps" forum’s new home on Microsoft Q&A (Preview)!
For more information, please refer to the sticky post.Thursday, November 28, 2019 6:35 AM -
I did but it doesn't help much. Support ticket ID: SRX1488181762ID
Could you please support me to reach UWP Ad SDK team? I have test project in Visual Studio to reproduce the issue. I am willing to work directly with the team to push up the fix.
Thursday, November 28, 2019 10:12 AM -
Hi,
Sure, I'll send the ticket ID to the team for further help. Thanks for sharing it here.
Best regards,
Roy
"Developing Universal Windows apps" forum will be migrating to a new home on Microsoft Q&A (Preview)!
We invite you to post new questions in the "Developing Universal Windows apps" forum’s new home on Microsoft Q&A (Preview)!
For more information, please refer to the sticky post.Friday, November 29, 2019 1:17 AM -
WoW! That's seems to be a support!
I hope Microsoft get up now and will treat every support problem like this. (and not like in the past)Anyway, I'm still waiting for the solution...
Saturday, November 30, 2019 5:10 PM -
Hi,
Sure, I'll send the ticket ID to the team for further help. Thanks for sharing it here.
Best regards,
Roy
Support ticket is closed because supporter told me that I should put a question in this forum ?!?!
Could you please support me to transfer my issue to UWP Ad SDK developers?
Wednesday, December 18, 2019 4:49 PM