Memory Leak Problem - Plugin Development for iOS

I’m developing a plug-in for Chartboost iOS. I am able to load the chartboost banner.
But everytime the chartboost ad loads, the memory increases by 3MB. When I close the chartboost banner, the memory does not get released. So, every time the chartboost ad comes, the memory increases by 3MB.

It may be because Corona holds the reference of Chartboost’s view controller. So the view controller does not get released from memory.

Can anyone please suggest the solution.

Thanks!! [import]uid: 40227 topic_id: 35639 reply_id: 335639[/import]

From what you describe, this does not seem like a Corona issue — Corona does not hold onto anything unless you are specifically doing something that causes Corona to hang onto something.

Be sure to check the usual suspects:

* Making sure you are following Obj-C rules around balancing alloc/retains with release/autoreleases
* Ensuring that the banner view is no longer in the UIView hierarchy
* Balancing a presentModalViewController with a dismissModalViewControllerAnimated [import]uid: 26 topic_id: 35639 reply_id: 141830[/import]

From what you describe, this does not seem like a Corona issue — Corona does not hold onto anything unless you are specifically doing something that causes Corona to hang onto something.

Be sure to check the usual suspects:

* Making sure you are following Obj-C rules around balancing alloc/retains with release/autoreleases
* Ensuring that the banner view is no longer in the UIView hierarchy
* Balancing a presentModalViewController with a dismissModalViewControllerAnimated [import]uid: 26 topic_id: 35639 reply_id: 141830[/import]

Hello devonsmith78,

I’m interested in your implementation of Chartboost SDK. Could you please contact me on olaf AT itchmedia DOT nl. Thank you!

BTW, if anyone is reading this that has integrated the Chartboost SDK or any other ad network SDK on iOS or Android, please send me an email as well. [import]uid: 43714 topic_id: 35639 reply_id: 143027[/import]

Hello devonsmith78,

I’m interested in your implementation of Chartboost SDK. Could you please contact me on olaf AT itchmedia DOT nl. Thank you!

BTW, if anyone is reading this that has integrated the Chartboost SDK or any other ad network SDK on iOS or Android, please send me an email as well. [import]uid: 43714 topic_id: 35639 reply_id: 143027[/import]

Hello devonsmith78,

I’m interested in your implementation of Chartboost SDK. Could you please contact me on olaf AT itchmedia DOT nl. Thank you!

BTW, if anyone is reading this that has integrated the Chartboost SDK or any other ad network SDK on iOS or Android, please send me an email as well. [import]uid: 43714 topic_id: 35639 reply_id: 143027[/import]

Hello devonsmith78,

I’m interested in your implementation of Chartboost SDK. Could you please contact me on olaf AT itchmedia DOT nl. Thank you!

BTW, if anyone is reading this that has integrated the Chartboost SDK or any other ad network SDK on iOS or Android, please send me an email as well. [import]uid: 43714 topic_id: 35639 reply_id: 143027[/import]