i don't mind being wrong :) thanks Eero, it was the principle more than the specifics I was trying to indicate however.
On Thu, Oct 16, 2008 at 3:46 PM, Eero Tamminen <[EMAIL PROTECTED]>wrote: > Hi, > > ext gary liquid wrote: > >> have you considered caching the downloaded file to disk and reading from >> there using the standard function? >> >> This would give you the obvious benefit of allowing offline usage and >> faster >> requerying. >> There isn't an infinite amount of memory available and having to download >> images everytime could cause user angst. >> >> I believe /tmp is mapped to real memory and not the flash drive, so would >> not cause real problems and wouldn't be much slower (someone can confirm >> this?) >> > > This is a no-no. The system /tmp is a RAM-disk with 1/2MB max size > and it's used by all applications. It's intended for _small_ (few KB) > temporary files. For larger or more permanent[1] things one should > use $TMPDIR i.e. /var/tmp which is on Flash. > > [1] See the Filesystem Hierarchy Standard: > http://www.pathname.com/fhs/ > > > > Even though it may require a little bit more time to organise a cache file >> plan, it may be worth it in the end? >> > > > - Eero >
_______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
