AdsJumbo / AdsJumbo.com

This repository contains the AdsJumbo.com SDK for Windows 10 Apps & Games. This allows you to display advertisements in the app from AdsJumbo.com ad network.
https://AdsJumbo.com
15 stars 10 forks source link

Massive memory leak #28

Closed RexfelisLOC closed 1 year ago

RexfelisLOC commented 3 years ago

There's a massive memory leak which causes memory usage to go over 2gb within 10 mins of using the SDK.

RexfelisLOC commented 3 years ago

This needs to be resolved asap. As it stands the SDK is no longer usable. Within 15 mins approximately 2gb of memory is used up and apps start to crash on Xbox One.

atecey commented 3 years ago

It won't be fixed. I raised a couple of simple issues around documentation and they just closed them out after asking support if the project is dead or not. I was informed they would fix the issues in approx 30 days or so. They just closed out all the GitHub issues without actually fixing them. To date still no fixes....

If you ever find another ad provider that pays out a decent amount let please me know.

tecnobillo commented 3 years ago

Last December I had to abandon adsjumbo because my application was consuming 4gb of ram (8mb without adsjumbo...). I reported the bug and never got a response. I thought it was an IronPython related problem... but I can see that it is not. Now I am testing webview2 with google adsense.

atecey commented 2 years ago

@tecnobillo did you have any luck with webview2 and adsense? Do you get decent payouts? I tried Vungle a while back and while I got plenty of hits and clicks, I think I made like 2 cents for 1 week.

tecnobillo commented 2 years ago

It really doesn't work very well. Last July the page gave 0.03 US $ / 1000 sessions (I earned 0.70 $ in the whole month). At first I was earning a little more, but as advertisers observe that no one clicks on that page, I suppose they bid less and less. On the other hand, I am not clear if I am breaking any adsense rule that prevents me from receiving the payment (if one day I reach the minimum lol).

El mié, 21 jul 2021 a las 0:01, atecey @.***>) escribió:

@tecnobillo https://github.com/tecnobillo did you have any luck with webview2 and adsense? Do you get decent payouts? I tried Vungle a while back and while I got plenty of hits and clicks, I think I made like 2 cents for 1 week.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AdsJumbo/AdsJumbo.com/issues/28#issuecomment-883735417, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHIZDTZBL6NRT6YATJG6MGDTYXW3DANCNFSM4Z6WAKEA .

AscendantWare commented 2 years ago

Hi tecnobillo,

as far as i know, forbids google to show adsense ads on a desktop application. I am not aware of any other provider who provides advertising for desktop applications. I wish i would found one. :/

EDIT: You can always implement a support button like: patreon.com, ko-fi.com or onlyfans.com

mmssem commented 2 years ago

I also had the same problem with a C# winform program. my program’s RAM usage is about 60M without advertisements, but after 10 minutes of using advertisements, it exceeds 1G and goes up endlessly. So I tried to ditch AdsJumbo.

But, I solved it like this. Now, no matter how long it is turned on, it does not exceed 160M. (By the way, I'm not a programming expert. I'm just a hobbyist, so I don't know much about professional things.)

  1. Variable declaration AdsJumboWinForm.BannerAds bannerAds1;

  2. Dynamically create bannerAds1 in Form1_Load bannerAds1 = new AdsJumboWinForm.BannerAds(); this.Controls.Add(bannerAds1); bannerAds1.Location = new System.Drawing.Point(7, 419); bannerAds1.BringToFront(); bannerAds1.ShowAd(468, 60, "your Application ID"); timer1.Interval = 55000; timer1.Enabled = true;

  3. Add timer1 bannerAds1.Dispose(); GC.SuppressFinalize(this); System.GC.Collect(0, GCCollectionMode.Forced); System.GC.WaitForFullGCComplete(); timer2.Interval = 5000; timer2.Enabled = true;

  4. Add timer2 bannerAds1 = new AdsJumboWinForm.BannerAds(); this.Controls.Add(bannerAds1); bannerAds1.ShowAd(468, 60, "your Application ID"); bannerAds1.Location = new System.Drawing.Point(7, 419); bannerAds1.BringToFront(); timer2.Enabled = false;

Capture images and example files are at the link below. https://mungkhs.tistory.com/116