Try booting in VGA resolution. Gallery should work fine atleast in that mode.
On Nov 25, 12:17 pm, Dianne Hackborn <hack...@android.com> wrote: > I strongly recommend you not change those values unless you know what you > are doing. > > Look in the kernel log to see if the Android out of memory killer is killing > the process, and it should also give some indication of why. > > It could also just be the process crashing in native code. If it is > actually the process running the foreground activity that is going away, it > is 90% likely that this has nothing to do with out of memory killing, but a > crash. > > > > On Tue, Nov 24, 2009 at 10:16 PM, abukustfan <abukust...@gmail.com> wrote: > > The Gallery UI show each folder with thumbnail properly. > > but when I touch either folder icon, it show the detail thumbnail but > > flash back to folder thumbnail immediately. > > > I changed the memory thresholds as below, > > [ro.FOREGROUND_APP_MEM]: > > [3072] > > [ro.VISIBLE_APP_MEM]: > > [4096] > > [ro.SECONDARY_SERVER_MEM]: > > [8192] > > [ro.BACKUP_APP_MEM]: > > [8192] > > [ro.HOME_APP_MEM]: > > [8192] > > [ro.HIDDEN_APP_MEM]: > > [10240] > > [ro.CONTENT_PROVIDER_MEM]: > > [11264] > > [ro.EMPTY_APP_MEM]: [12288] > > > and check the memory info, it seems still have a lot of MemFree here. > > # cat /proc/ > > meminfo > > MemTotal: 255840 > > kB > > MemFree: 145872 > > kB > > Buffers: 64 > > kB > > Cached: 49328 > > kB > > SwapCached: 0 > > kB > > Active: 42856 > > kB > > Inactive: 35984 > > kB > > Active(anon): 32740 > > kB > > Inactive(anon): 0 > > kB > > Active(file): 10116 > > kB > > Inactive(file): 35984 > > kB > > Unevictable: 0 > > kB > > Mlocked: 0 > > kB > > SwapTotal: 0 > > kB > > SwapFree: 0 > > kB > > Dirty: 0 > > kB > > Writeback: 0 > > kB > > AnonPages: 29472 > > kB > > Mapped: 29600 > > kB > > Slab: 4356 > > kB > > SReclaimable: 1768 > > kB > > SUnreclaim: 2588 > > kB > > PageTables: 1380 > > kB > > Quicklists: 76 > > kB > > NFS_Unstable: 0 > > kB > > Bounce: 0 > > kB > > WritebackTmp: 0 > > kB > > CommitLimit: 127920 > > kB > > Committed_AS: 4070336 > > kB > > VmallocTotal: 524204 > > kB > > VmallocUsed: 7344 > > kB > > VmallocChunk: 507304 kB > > > Any setting I miss?? > > > On 11月25日, 午後12:45, Dianne Hackborn <hack...@android.com> wrote: > > > Are you seeing something wrong in the UI? Having processes killed in the > > > background is normal, expected, desired behavior. It is unusual to have > > all > > > of the background processes killed -- this typically means there is not > > > enough memory to run them along with the foreground processes and > > services. > > > That may be normal, or not, depending on what you are doing. > > > > On Tue, Nov 24, 2009 at 6:38 PM, abukustfan <abukust...@gmail.com> > > wrote: > > > > Hi all, > > > > > When I run Gallery application on my target board, it shows thumbnail > > > > on each folder. > > > > But when I select either folder, it shows the following message. > > > > (The images in SD card is four 800x600 JPEG files.) > > > > > Could someone help me to solve this problem? > > > ----------------------------------------------------------------------------------------------------------------------------- > > > > I/ActivityManager( 1678): Starting activity: Intent > > > > { act=android.intent.action.VIEW dat=content://media/internal/images/ > > > > media cmp=com.android.camera/.ImageGallery (has > > > > extras) } > > > > W/Process ( 1678): Unable to open /proc/2614/ > > > > status > > > > I/ActivityManager( 1678): Displayed activity > > > > com.android.camera/.ImageGallery: 673 ms (total 673 > > > > ms) > > > > I/ActivityManager( 1678): Exiting empty application process > > > > android.process.media > > > > (android.os.binderpr...@2cd28a88) > > > > I/Process ( 1678): Sending signal. PID: 3094 SIG: > > > > 9 > > > > I/ActivityThread( 3084): Removing dead content provider: > > > > media > > > > I/ActivityManager( 1678): Killing app com.android.camera (pid 3084) > > > > because provider com.android.providers.media.MediaProvider is in dying > > > > process > > > > android.process.media > > > > I/Process ( 1678): Sending signal. PID: 3084 SIG: > > > > 9 > > > > D/ActivityManager( 1678): Received spurious death notification for > > > > thread > > > > android.os.binderpr...@2cd28a88 > > > > binder: release proc 3084, transaction 6611, not > > > > freed > > > > I/ActivityManager( 1678): Process com.android.camera (pid 3084) has > > > > died. > > > > I/WindowManager( 1678): WIN DEATH: Window{2cd38b38 com.android.camera/ > > > > com.android.camera.ImageGallery > > > > paused=false} > > > > I/WindowManager( 1678): WIN DEATH: Window{2ce37c30 com.android.camera/ > > > > com.android.camera.GalleryPicker > > > > paused=false} > > > > I/ActivityManager( 1678): Start proc com.android.camera for activity > > > > com.android.camera/.GalleryPicker: pid=3527 uid=10001 gids={1006, > > > > 1015, 2001, 3003} > > > > I/ActivityManager( 1678): Low Memory: No more background > > > > processes. > > > > W/UsageStats( 1678): Something wrong here, didn't expect > > > > com.android.camera to be > > > > resumed > > > > I/ActivityManager( 1678): Start proc android.process.media for content > > > > provider com.android.providers.media/.MediaProvider: pid=3537 > > > > uid=10001 gids={1006, 1015, 2001, > > > > 3003} > > > > W/InputManagerService( 1678): Got RemoteException sending setActive > > > > (false) notification to pid 3084 uid > > > > 10001 > > > > I/ActivityThread( 3537): Publishing provider downloads: > > > > com.android.providers.downloads.DownloadProvider > > > > I/ActivityManager( 1678): Displayed activity > > > > com.android.camera/.GalleryPicker: > > > > 1029 ms (total 1029 > > > > ms) > > > > I/ActivityManager( 1678): Exiting empty application process > > > > android.process.media > > > > (android.os.binderpr...@2cd96d98) > > > > I/Process ( 1678): Sending signal. PID: 3537 SIG: > > > > 9 > > > > I/ActivityManager( 1678): Start proc android.process.media for restart > > > > android.process.media: pid=3563 uid=10001 gids={1006, 1015, 2001, > > > > 3003} > > > > D/ActivityManager( 1678): Received spurious death notification for > > > > thread > > > > android.os.binderpr...@2cd96d98 > > > > I/ActivityThread( 3563): Publishing provider downloads: > > > > com.android.providers.downloads.DownloadProvider > > > > I/ActivityThread( 3563): Publishing provider drm: > > > > com.android.providers.drm.DrmProvider > > > > I/ActivityThread( 3563): Publishing provider media: > > > > com.android.providers.media.MediaProvider > > > ----------------------------------------------------------------------------------------------------------------------------- > > > > > -- > > > > unsubscribe: > > > > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > > <android-porting%2bunsubscr...@googlegroups.com<android-porting%252bunsubscr...@googlegroups.com> > > > > > website:http://groups.google.com/group/android-porting > > > > -- > > > 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. > > > -- > > unsubscribe: > > android-porting+unsubscr...@googlegroups.com<android-porting%2bunsubscr...@googlegroups.com> > > website:http://groups.google.com/group/android-porting > > -- > 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. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting