Over 21,596 people are online! Join now and start making friends!


I recently worked on an Android app that parsed large amounts of JSON-formatted data. We would routinely allocate 20 or 30 kilobytes of heap space for Strings of JSON-formatted text retrieved from a server.  We’d pass the strings to the Android framework’s JSONObject class in order to construct our data models.  After downloading many objects in a short amount of time we discovered that we were frequently running out of memory and decided that we needed a different strategy to parse the content we downloaded from our server:  all those Strings and JSONObjects on the heap were killing us.

read more- http://tech.xtremelabs.com/parsing-json-data-efficiently-on-android-jsonreader/

Leave a comment!
html comments NOT enabled!
NOTE: If you post content that is offensive, adult, or NSFW (Not Safe For Work), your account will be deleted.[?]

giphy icon
last post
8 years ago
posts
71
views
11,635
can view
everyone
can comment
everyone
atom/rss
official fubar blogs
 5 years ago
fubar news by babyjesus  
 9 years ago
Scrapper Kustom's Offic... by SCRAPPER  
 13 hrs ago
e by e  
 10 years ago
fubar.com ideas! by babyjesus  
 7 years ago
fubar'd Official Wishli... by SCRAPPER  
 7 years ago
Word of Esix by esixfiddy  

discover blogs on fubar

blog.php' rendered in 0.1708 seconds on machine '219'.