I have finally finished my game. It’s a very simple reaction game, and I mean very simple… yet it still amounts to 11mb…
I need maybe a list of protocols to ensure that the apps memory stays as low as possible. I would be very grateful.
Farid.
I have finally finished my game. It’s a very simple reaction game, and I mean very simple… yet it still amounts to 11mb…
I need maybe a list of protocols to ensure that the apps memory stays as low as possible. I would be very grateful.
Farid.
I wouldn’t worry too much. There is a base pile of code that Corona uses that you can’t really avoid. The main thing is to keep under the limit which I think is 50Mb. I’ve just compiled a virtually empty app to see and its still 7.5Mb
Ahh thats good to hear :rolleyes: Just one thing I’m a little worried about, would it put users off if the app is a large file? I mean something like flappy bird is like 4mb yet mine is more than two times that much haha!
Hi Farid,
I’m a bit of a newbie to this myself, but I don’t think having a slightly large app size will do too much damage as long as the complexity of the app and the amount of stuff that it does warrants that size.
One thing I have heard is that, when it comes to issues about user experience etc., one thing to really look out for is System Memory leakage (for example when you create objects/ transition etc that you don’t cancel out afterwards) - apparently if this builds up then that is not good.
Thankyou Sabir. I’ll take a look at System memory leakage and make sure my app isn’t building up memory leaks. If that’s all good then I’ll just accept the size of my app and work with it!
Thankyou for your reply.
That’s ok.
I just realised another thing you could do is very simple - just have a scan through some of the game apps settings on your phone, and some friends’ phones, and have a look at the average sized, and try and deduce whether your one is really massive or not compared to those.
Thanks
Yeah that’s pretty much what I’ve been doing really, other games still seem to be much smaller but I’m just gonna take the time to sift through my game and make sure there are no memory leaks. Stupidly I hadn’t cancelled or removed any audio or event listeners, or ‘collected the garbage’. Hopefully this will reduce the size dramatically. Thanks once again.
11mb isn’t very big.
I wouldn’t worry too much. There is a base pile of code that Corona uses that you can’t really avoid. The main thing is to keep under the limit which I think is 50Mb. I’ve just compiled a virtually empty app to see and its still 7.5Mb
Ahh thats good to hear :rolleyes: Just one thing I’m a little worried about, would it put users off if the app is a large file? I mean something like flappy bird is like 4mb yet mine is more than two times that much haha!
Hi Farid,
I’m a bit of a newbie to this myself, but I don’t think having a slightly large app size will do too much damage as long as the complexity of the app and the amount of stuff that it does warrants that size.
One thing I have heard is that, when it comes to issues about user experience etc., one thing to really look out for is System Memory leakage (for example when you create objects/ transition etc that you don’t cancel out afterwards) - apparently if this builds up then that is not good.
Thankyou Sabir. I’ll take a look at System memory leakage and make sure my app isn’t building up memory leaks. If that’s all good then I’ll just accept the size of my app and work with it!
Thankyou for your reply.
That’s ok.
I just realised another thing you could do is very simple - just have a scan through some of the game apps settings on your phone, and some friends’ phones, and have a look at the average sized, and try and deduce whether your one is really massive or not compared to those.
Thanks
Yeah that’s pretty much what I’ve been doing really, other games still seem to be much smaller but I’m just gonna take the time to sift through my game and make sure there are no memory leaks. Stupidly I hadn’t cancelled or removed any audio or event listeners, or ‘collected the garbage’. Hopefully this will reduce the size dramatically. Thanks once again.
11mb isn’t very big.