Closed mlindeboom closed 9 years ago
Hmmm... how big is the json data? is it just a simple list, or does it contain a lot more data? If you're loading a lot of data into memory, then that will be an issue. I'm open up instruments to monitor what's going on with memory, etc. How is your app setup? If you like, I can make myself available for a Skype conference so I can see what's happening better.
Does this happen in the simulator as well?
The size of the entire json file is 19KB. All images for the detail pages sum up to 319K for 19 images. It does not happen in the simulator. Some of the images are referenced multiple times. (does an image referenced multiple times consume additional memory each time?)
Are you available at 3PM EDT on Friday 7/11 for a screen share?
That is indeed very odd. Let’s do a screenshare tomorrow. 3PM EDT should be 5PM here (PST). Connect with me on Skype: rombiggs
Robert Biggs Product Director ChocolateChip-UI www.sourcebits.com
On Jul 10, 2014, at 3:06 PM, Michael Lindeboom notifications@github.com wrote:
The size of the entire json file is 19KB. All images for the detail pages sum up to 319K for 19 images. It does not happen in the simulator. Some of the images are referenced multiple times. (does an image referenced multiple times consume additional memory each time?)
Are you available at 3PM EDT on Friday 7/11 for a screen share?
— Reply to this email directly or view it on GitHub.
Check your mail account. The sanitized code using the latest cordova libraries should be there.
thanks
Michael, did you see my Skype post to you?
I have created a simple CHUI application that reads a json file and displays the text in a list. When a list item is selected a page displays showing details (also loaded from the json file). The total number of rows in the list is less then 40.
The application is wrapped in cordova and deployed to an iPhone as an application.
With the full list of 40 list items loaded, the application throws memory warnings and crashes. Removing half of the list items allows the application to run without crashing.
Why would such a paltry amount of json data crash this application? Can you give me any feedback on my approach?