Data that u allocate can be Flushed, but not the total RAM, and btb it will not be possible to flush with out reboot, because at any given time there should be some app which should run , i mean reside in RAM, if u flush all that its nothign but Re-boot.
Sorry if i interprited it wrongly. @ Satish.bellapu On Mon, Oct 19, 2009 at 8:07 PM, Disconnect <[email protected]> wrote: > > For benchmarking you -must- start from a known state each time, which > means rebooting is the only way. > > Otherwise you may as well not bother flushing anything, since the > system will be in an unknown state anyway.. > > On Fri, Oct 16, 2009 at 3:53 PM, RichardC > <[email protected]> wrote: > > > > Why ? > > > > :) > > > > -- > > RichardC > > > > On Oct 16, 9:28 am, "[email protected]" > > <[email protected]> wrote: > >> Hello, > >> > >> I am trying to figure out how to flush all the data that is stored in > >> the RAM of an android device. > >> Since the devices have different memory sizes I dont think its the > >> best idea to just read a lot of small files from the disk in order to > >> overwrite the RAM (which is kind of a manual way of flushing the RAM), > >> because I am not sure if my RAM really got filled already. > >> > >> Does anyone know how to do this ? > >> like System.flushMem ? :) > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

