Is it me or its a known fact that the audio module or openAL has some memory leak?
Also the advert for the revmob full screen module also makes the texture memory really high
Is it me or its a known fact that the audio module or openAL has some memory leak?
Also the advert for the revmob full screen module also makes the texture memory really high
Hi @jollzy,
I’m not aware of any memory leak with the audio system. If you’re getting a provable memory increase, please inspect your code carefully and make sure that you’re instantiating and cleaning up audio properly.
Best regards,
Brent
there is a small increase but I am not sure until i check it in the console.
also I get an error only on the ios about the facebook.lu not exist
the funny things is about a months ago i build with the same public Build: 2014.2189
and was fine
as i removed all references to that module the game loads and works fine , not very practical as i do like to have the facbook share functionality.
Hi @jollzy,
On iOS, we had to make Facebook functionality into a plugin because of certain requirements on Apple’s side. Have you included this as a plugin as shown here?
http://docs.coronalabs.com/api/library/facebook/index.html
Brent
hi Brent
this is not the most useful trace
function at line 511 has more than 60 upvalues
2014-04-09 22:56:03.760 Corona Simulator[84766:507] Runtime error
?:0: attempt to index field ‘?’ (a nil value)
stack traceback:
?: in function ‘gotoScene’
: in function <?:218>
the line number does not tell what module i have to look for, also this 218, i got this when the facebook module was missing but i already fixed that up
sometimes i declare a local varTest and i cant use it in an enterframe keep giving me this 60 upvalues
Hi @jollzy,
The 60 upvalues thing is some issue in your code, it’s not related to Facebook. Sometimes that error is triggered by Lua if you incorrectly add a module or forget to close a function, among other things.
Brent
Hi @jollzy,
I’m not aware of any memory leak with the audio system. If you’re getting a provable memory increase, please inspect your code carefully and make sure that you’re instantiating and cleaning up audio properly.
Best regards,
Brent
there is a small increase but I am not sure until i check it in the console.
also I get an error only on the ios about the facebook.lu not exist
the funny things is about a months ago i build with the same public Build: 2014.2189
and was fine
as i removed all references to that module the game loads and works fine , not very practical as i do like to have the facbook share functionality.
Hi @jollzy,
On iOS, we had to make Facebook functionality into a plugin because of certain requirements on Apple’s side. Have you included this as a plugin as shown here?
http://docs.coronalabs.com/api/library/facebook/index.html
Brent
hi Brent
this is not the most useful trace
function at line 511 has more than 60 upvalues
2014-04-09 22:56:03.760 Corona Simulator[84766:507] Runtime error
?:0: attempt to index field ‘?’ (a nil value)
stack traceback:
?: in function ‘gotoScene’
: in function <?:218>
the line number does not tell what module i have to look for, also this 218, i got this when the facebook module was missing but i already fixed that up
sometimes i declare a local varTest and i cant use it in an enterframe keep giving me this 60 upvalues
Hi @jollzy,
The 60 upvalues thing is some issue in your code, it’s not related to Facebook. Sometimes that error is triggered by Lua if you incorrectly add a module or forget to close a function, among other things.
Brent