Admob bug?

D

Deleted member 103

Guest
Hi guys,

I have an app that runs as a service in the background.
Without ads (admob) consumes the service ca.11MB, with advertising (admob) about 17MB.

After several app startup's about 20, the service uses about 50MB.
If the service is not completed, then the service uses the entire memory.

What I can not do so, the advertising consumes all memory?

This is my app: Phone for over 40

B4X:
Sub Activity_Create(FirstTime As Boolean)
   Activity.LoadLayout("frmMain")

   'AdMob hinzufügen(Werbung)
   AdView1.Initialize("AdView1","1234567890-test")
   Activity.AddView(AdView1, (Activity.Width - 320dip) / 2, Activity.Height - 50dip, 320dip, 50dip)
   AdView1.LoadAd
   ...
   ...
End Sub

Ciao,
Filippo
 
D

Deleted member 103

Guest
However do you eventually get an out of memory error?
No! It hasn't come to that yet.
I've solved the problem now in another way.
I'll let run the service in the foreground now only when all contacts have been read and then i'll let the service run in background.
 
Top