If you are talking about internal storage (not RAM memory), then yes this is
generally flash memory, and you want to be careful about how much you write
to it for numerous reasons: also extremely important are the battery impact
(writing to flash is expensive) and performance (causing other things that
are accessing flash storage to be blocked by what you are doing).

That said, properly designed flash storage won't let you write to the same
block over and over.  Writes are spread across the flash storage just to
avoid that kind of issue.

On Sat, Apr 3, 2010 at 9:49 AM, Nadav <nad...@gmail.com> wrote:

> Hi All,
>
> I'm wondering how worried should I be about writing an app that does a
> lot of writing (logs + db files) to the phone's main memory.
>
> In the past I was involved in a project that had to do a lot of
> writing to SD card, and the SD cards started malfunctioning after 2-3
> months due to this, and had to be replaced every now and then. The
> developer realized  he was reaching the flash memory's read/write
> guarantees (don't remember the exact specs).
>
> If the phone's main memory is also flash based, should this be a
> concern? I wouldn't want to damage the phone's memory in a permanent
> way....
>
> I'm also not sure if the issue is related to reading writing to the
> same physical block (the guy was using a single log file and kept
> appending it, so he was constantly accessing the file's header block),
> and whether writing cyclic log files might remedy a problem like
> this..
>
> Would appreciate any thoughts on this issue.
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
> To unsubscribe, reply using "remove me" as the subject.
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to