Hello,
I’m making a quiz game and I put all my questions/answers in a separated lua file.
I know it’s possible to see how much textures use in memory but not the global app, so I wonder what is the maximal size (in kb) of a lua file ?
Thanks [import]uid: 107239 topic_id: 31919 reply_id: 331919[/import]
Look up the gcinfo() api call. It will report your Lua memory in KBytes.
Text is tiny compared to sound and images. For my trivia game OmniTrivia with around 15,000 questions saved in JSON format is taking up 2.7mb of space on in the app. And I would assume it’s using that much in memory as well. Not like a compressed sound or image file that is much smaller on disk than it is in memory once it’s uncompressed. [import]uid: 19626 topic_id: 31919 reply_id: 127314[/import]
I guessed that a text file in nothing compared to an image open in memory. Ok, so I can’t add new questions but I’m far of your 15,000 ! How hell it was long to write ! :))
Thanks for the api call, I’ll try it. [import]uid: 107239 topic_id: 31919 reply_id: 127321[/import]
Look up the gcinfo() api call. It will report your Lua memory in KBytes.
Text is tiny compared to sound and images. For my trivia game OmniTrivia with around 15,000 questions saved in JSON format is taking up 2.7mb of space on in the app. And I would assume it’s using that much in memory as well. Not like a compressed sound or image file that is much smaller on disk than it is in memory once it’s uncompressed. [import]uid: 19626 topic_id: 31919 reply_id: 127314[/import]
I guessed that a text file in nothing compared to an image open in memory. Ok, so I can’t add new questions but I’m far of your 15,000 ! How hell it was long to write ! :))
Thanks for the api call, I’ll try it. [import]uid: 107239 topic_id: 31919 reply_id: 127321[/import]