IOS - Admob memory leak

I have already addressed these issues that did not work for me:

Currently, I have a memory leak, which is why my application starts with 30 megabytes instead of the usual 10 and increases by 10 megabytes every so often. I have confirmed that the cause of the memory leak is related to Admob, but I can only assume that other memory leaks are related to a different ad load. I reviewed this google discussion which suggests that it is related to SKPaymentQueuein structure StoreKit. You can see that this also happens to me:

enter image description here

What I find even stranger is that when I remove a structure StoreKitfrom my project, nothing changes.

Admob :

  • 7.8.1 SDK
  • GoogleMobileAds, StoreKit, AudioToolbox, AdSupport, CoreGraphics, CoreTelephony, EventKit, EventKitUI, MessageUI, SystemConfiguration AVFoundation.
  • GADBannerView
  • h, GoogleMobileAds
  • m - viewDidLoad:

    self.bannerView.adUnitID = @"ca-app-pub-3940256099942544/2934735716";
    self.bannerView.rootViewController = self;
    
    GADRequest *request = [GADRequest request];
    
    request.testDevices = @[kGADSimulatorID];
    
    [self.bannerView loadRequest:request];
    

, - , - StoreKit, .

+4
1

, , , , . , , .

0

All Articles