[G1 Android Development] andyb2000:
Hi all,

Once again thanks for a great building, working great apart from one problem. Memory on my G1.

I'm constantly seeing background applications get killed off due to lack of memory (I/ActivityManager( 137): Low Memory: No more background processes.).

So a lot of background apps keep getting terminated, and don't restart (yes I know this isn't good programming on the author of these apps).

Anyone got any suggestions what I can do help this out? Haven't modified anything else, wipe, flash CM5.0.8-DS-test4 worked fine, gapps applied and the apps that I use.

# free
total used free shared buffers
Mem: 97708 93204 4504 0 224
Swap: 0 0 0
Total: 97708 93204 4504
# ps
USER PID PPID VSIZE RSS WCHAN PC NAME
root 1 0 344 208 c00c4a58 0000cb2c S /init
root 2 0 0 0 c0065e3c 00000000 S kthreadd
root 3 2 0 0 c0056858 00000000 S ksoftirqd/0
root 4 2 0 0 c0084df8 00000000 S watchdog/0
root 5 2 0 0 c00626e8 00000000 S events/0
root 6 2 0 0 c00626e8 00000000 S khelper
root 7 2 0 0 c006c860 00000000 S async/mgr
root 8 2 0 0 c00626e8 00000000 S suspend
root 9 2 0 0 c009d320 00000000 S sync_supers
root 10 2 0 0 c009de10 00000000 S bdi-default
root 11 2 0 0 c00626e8 00000000 S kblockd/0
root 12 2 0 0 c00626e8 00000000 S kmmcd
root 13 2 0 0 c00626e8 00000000 S bluetooth
root 14 2 0 0 c00626e8 00000000 S qmi
root 15 2 0 0 c00350b4 00000000 D rpcrouter
root 16 2 0 0 c00626e8 00000000 S detection/0
root 17 2 0 0 c0037158 00000000 S krpcserversd
root 18 2 0 0 c0085040 00000000 S khungtaskd
root 19 2 0 0 c009795c 00000000 S kswapd0
root 20 2 0 0 c00626e8 00000000 S aio/0
root 21 2 0 0 c00626e8 00000000 S crypto/0
root 30 2 0 0 c00363c8 00000000 S kadspd
root 34 2 0 0 c00626e8 00000000 S panel_on/0
root 35 2 0 0 c00626e8 00000000 S msm_serial_hs
root 36 2 0 0 c01b6038 00000000 S mtdblockd
root 43 2 0 0 c00626e8 00000000 S rmnet/0
root 44 2 0 0 c01cc5d0 00000000 S usb_mass_storag
root 46 2 0 0 c00626e8 00000000 S synaptics_wq
root 47 2 0 0 c00626e8 00000000 S kstriped
root 48 2 0 0 c00626e8 00000000 S kondemand/0
root 49 2 0 0 c00626e8 00000000 S binder
root 50 2 0 0 c02daf64 00000000 S krfcommd
root 51 2 0 0 c020cabc 00000000 S mmcqd
root 52 2 0 0 c01434b0 00000000 S yaffs-bg
root 54 2 0 0 c01434b0 00000000 S yaffs-bg
root 55 2 0 0 c01ae9cc 00000000 S loop0
root 56 2 0 0 c01434b0 00000000 S yaffs-bg
root 58 1 3420 176 ffffffff 0000ed64 S /sbin/adbd
root 94 2 0 0 c0130134 00000000 S jbd2/mmcblk0p2-
root 95 2 0 0 c00626e8 00000000 S ext4-dio-unwrit
system 118 1 856 164 c021ae60 afe0ccfc S /system/bin/servicemanager
root 119 1 892 256 c00c4a58 afe0ce24 S /system/bin/vold
root 121 1 716 148 c022af04 afe0d6ac S /system/bin/debuggerd
radio 122 1 7956 688 ffffffff afe0d36c S /system/bin/rild
root 123 1 81096 16932 c00c4a58 afe0ce24 S zygote
media 124 1 26872 1632 ffffffff afe0ccfc S /system/bin/mediaserver
bluetooth 125 1 1164 216 c00c4a58 afe0db1c S /system/bin/dbus-daemon
root 126 1 844 200 c02b0234 afe0ca5c S /system/bin/installd
keystore 127 1 1684 160 c022af04 afe0d6ac S /system/bin/keystore
compass 128 1 2932 360 ffffffff afe0ccfc S /system/bin/akmd
system 143 123 188920 32624 ffffffff afe0ccfc S system_server
root 171 58 728 244 c021e6f4 afe0ca5c S logcat
bluetooth 229 1 812 204 c00c4a58 afe0db1c S /system/bin/hciattach
bluetooth 230 1 1820 300 c00c4a58 afe0db1c S /system/bin/bluetoothd
app_2 250 123 124708 19424 ffffffff afe0dd44 S com.google.process.gapps
app_12 260 123 112004 18416 ffffffff afe0dd44 S com.android.inputmethod.latin
radio 264 123 123492 20644 ffffffff afe0dd44 S com.android.phone
root 344 2 0 0 c00361b8 00000000 D audmgr_rpc
app_45 502 123 100968 17248 ffffffff afe0dd44 S com.smartandroidapps.missedcall
app_37 647 123 159692 23348 ffffffff afe0dd44 S com.handcent.nextsms
app_12 755 123 132660 27432 ffffffff afe0dd44 S android.process.acore
root 783 58 792 332 c0054550 afe0d94c S /system/bin/sh
app_53 798 123 103344 18256 ffffffff afe0dd44 S com.acme.android.powermanagerpro
app_44 820 123 116904 19500 ffffffff afe0dd44 S com.lookout
app_33 831 123 103684 18236 ffffffff afe0dd44 S com.android.bluetooth
root 920 2 0 0 c00d461c 00000000 S flush-179:0
root 928 2 0 0 c00d461c 00000000 S flush-31:0
root 934 783 920 316 00000000 afe0ca5c R ps

Thanks for any suggestions guys