Large file count problems..

Hello. I have a game that has lots of unique sound files and png files. I do not load them until necessary. But I still get the “ReferenceTable overflow (max=512)” error on my Android devices.

I did some testing and made a simple “Hello world” app that contained the same PNG and MP3 files in the project folder. That app ran fine. So I added an image with display.newImage that referenced a PNG file in the folder. That app crashed.

So… to me… it seems like corona is somehow caching the file list when it accesses a file or something…???

Is there a workaround for this problem? I saw some others having this same ReferenceTable overflow but they were loading lots of images or large images. The images I’m working with are under 20kb and I’m only loading one of them…

?? [import]uid: 5022 topic_id: 7856 reply_id: 307856[/import]

Hi, we recently fixed this bug (ReferenceTable overflow) and is available in build #315 and later on the daily builds page (subscription, required).

http://developer.anscamobile.com/downloads/daily-builds

Tim [import]uid: 8196 topic_id: 7856 reply_id: 28325[/import]

Thanks Tim, it works. :slight_smile: [import]uid: 5022 topic_id: 7856 reply_id: 28335[/import]