Giant online image gallery - How do I avoid OutOfMemoryError?
<p><em>For anyone who's wondering, the gallery is <a href="http://www.spore.com/sporepedia" rel="nofollow">http://www.spore.com/sporepedia</a>.</em></p>

<p>My app uses the Spore API to get the 100 newest creations, then displays them in a GridView. The text data about the creations is easy to store, but the images present a problem.</p>

<p>As far as I know, I can either keep the images in a Hashtable or grab them every time they are viewed. Neither of these will work - the Hashtable quickly presents an OutOfMemoryError, and the constant reloading causes a lot of load on the server and a lot of lag on the client.</p>

<p>Is there a better way to store the images?</p>
