[Galaxy Ace II Android Development] shaqman89:
[MENTION=5840412]ace2nutzer[/MENTION]

I'm back after testing various zram values for a couple of weeks :)

Anyway, the news isn't the good and the issue I reported before still persist (currently also on your latest kernel).

I've tested with 100, 150, 200, 250,300 up until 500. The only difference it makes is is the amount of time it takes for the issue to happen.

With new kernel, I am currently using 1/3 (~200), and the issue still persists.

So, like I said before, after a period of time amount of heavy usage, in terms of RAM, memory seems to be not allocated properly anymore.

Below is my free condition after around 1 day of heavy usage. At this point, no background service could start properly due to the amount of memory. And some foreground apps could open just for a moment before being closed by LMK.

root@codina:/ # uptime
up time: 22:33:46, idle time: 1 days, 00:39:58, sleep time: 01:52:14
root@codina:/ # free -m
total used free shared buffers cached
Mem: 629 626 3 0 1 65
-/+ buffers/cache: 559 70
Swap: 209 209 0

As it can be seen above, swap is already 0, but according to free man, we could assume that the actual free memory is what is free at cache, there we could see it is 70 MB.

According to kmsg and logcat, LMK is trying to kill the apps all the time, but I'm not sure whether it's failing or succeed.

What I think is happening though, that even though the apps are killed, some memory are not released, thus no memory is available for new apps.

Logcat:

I/ActivityManager( 2205): Start proc com.google.android.gms for service com.google.android.gms/.reminders.service.RemindersService: pid=31340 uid=10047 gids={50047, 3003, 1007, 1028, 1015, 1006, 3002, 3001, 3007, 2001, 3006}
I/ActivityManager( 2205): Low on memory:
I/ActivityManager( 2205): ntv N 68465 kB: mediaserver (1780) native
I/ActivityManager( 2205): ntv N 8234 kB: surfaceflinger (1777) native
I/ActivityManager( 2205): ntv N 2988 kB: admsrv (1785) native
I/ActivityManager( 2205): ntv N 2100 kB: zygote (1778) native
I/ActivityManager( 2205): ntv N 1808 kB: sdcard (2560) native
I/ActivityManager( 2205): ntv N 1473 kB: app_process (3789) native
I/ActivityManager( 2205): ntv N 722 kB: logcat (27427) native
I/ActivityManager( 2205): ntv N 618 kB: logcat (26293) native
I/ActivityManager( 2205): ntv N 618 kB: logcat (26847) native
I/ActivityManager( 2205): ntv N 570 kB: rild (1776) native
I/ActivityManager( 2205): ntv N 361 kB: netd (1774) native
I/ActivityManager( 2205): ntv N 334 kB: sh (25403) native
I/ActivityManager( 2205): ntv N 316 kB: adbd (4761) native
I/ActivityManager( 2205): ntv N 243 kB: wpa_supplicant (2480) native
I/ActivityManager( 2205): ntv N 239 kB: /init (1) native
I/ActivityManager( 2205): ntv N 207 kB: debuggerd.bin (21594) native
I/ActivityManager( 2205): ntv N 196 kB: drmserver (1779) native
I/ActivityManager( 2205): ntv N 192 kB: sdcard (2876) native
I/ActivityManager( 2205): ntv N 182 kB: logcat (31140) native
I/ActivityManager( 2205): ntv N 180 kB: healthd (1769) native
I/ActivityManager( 2205): ntv N 174 kB: logcat (31095) native
I/ActivityManager( 2205): ntv N 143 kB: logcat (30713) native
I/ActivityManager( 2205): ntv N 139 kB: logcat (28010) native
I/ActivityManager( 2205): ntv N 139 kB: logcat (30321) native
I/ActivityManager( 2205): ntv N 138 kB: logcat (23463) native
I/ActivityManager( 2205): ntv N 125 kB: sh (24793) native
I/ActivityManager( 2205): ntv N 121 kB: sh (25385) native
I/ActivityManager( 2205): ntv N 102 kB: ueventd (1189) native
I/ActivityManager( 2205): ntv N 98 kB: logcat (7525) native
I/ActivityManager( 2205): ntv N 92 kB: vold (1772) native
I/ActivityManager( 2205): ntv N 90 kB: logcat (6099) native
I/ActivityManager( 2205): ntv N 90 kB: logcat (18345) native
I/ActivityManager( 2205): ntv N 90 kB: logcat (20884) native
I/ActivityManager( 2205): ntv N 90 kB: logcat (21163) native
I/ActivityManager( 2205): ntv N 90 kB: logcat (22441) native
I/ActivityManager( 2205): ntv N 90 kB: su (25397) native
I/ActivityManager( 2205): ntv N 90 kB: logcat (31805) native
I/ActivityManager( 2205): ntv N 87 kB: gpsd (1783) native
I/ActivityManager( 2205): ntv N 86 kB: copsdaemon (1768) native
I/ActivityManager( 2205): ntv N 86 kB: msa (1865) native
I/ActivityManager( 2205): ntv N 70 kB: libblank_webserver_exec.so (6764) native
I/ActivityManager( 2205): ntv N 53 kB: servicemanager (1770) native
I/ActivityManager( 2205): ntv N 38 kB: su (25402) native
I/ActivityManager( 2205): ntv N 34 kB: su (25396) native
I/ActivityManager( 2205): ntv N 34 kB: su (25400) native
I/ActivityManager( 2205): ntv N 25 kB: cspsa-server (1759) native
I/ActivityManager( 2205): ntv N 22 kB: installd (1781) native
I/ActivityManager( 2205): ntv N 20 kB: su (1794) native
I/ActivityManager( 2205): ntv N 16 kB: at_distributor (1793) native
I/ActivityManager( 2205): ntv N 15 kB: keystore (1782) native
I/ActivityManager( 2205): ntv N 11 kB: at_core (1789) native
I/ActivityManager( 2205): ntv N 11 kB: strace (2478) native
I/ActivityManager( 2205): ntv N 10 kB: dhcpcd (9806) native
I/ActivityManager( 2205): ntv N 9 kB: logwrapper (1767) native
I/ActivityManager( 2205): ntv N 9 kB: npsmobex (1787) native
I/ActivityManager( 2205): ntv N 9 kB: ta_loader (1792) native
I/ActivityManager( 2205): ntv N 9 kB: immvibed (1847) native
I/ActivityManager( 2205): ntv N 9 kB: logwrapper (2479) native
I/ActivityManager( 2205): ntv N 9 kB: sh (3781) native
I/ActivityManager( 2205): ntv N 9 kB: sh (3786) native
I/ActivityManager( 2205): ntv N 9 kB: sh (7515) native
I/ActivityManager( 2205): ntv N 8 kB: su (3775) native
I/ActivityManager( 2205): ntv N 8 kB: su (3776) native
I/ActivityManager( 2205): ntv N 8 kB: su (3777) native
I/ActivityManager( 2205): ntv N 8 kB: su (3782) native
I/ActivityManager( 2205): ntv N 8 kB: su (7507) native
I/ActivityManager( 2205): ntv N 8 kB: su (7509) native
I/ActivityManager( 2205): ntv N 4 kB: su (3779) native
I/ActivityManager( 2205): ntv N 4 kB: su (3780) native
I/ActivityManager( 2205): ntv N 4 kB: su (3784) native
I/ActivityManager( 2205): ntv N 4 kB: su (3785) native
I/ActivityManager( 2205): ntv N 4 kB: su (7513) native
I/ActivityManager( 2205): ntv N 4 kB: su (7514) native
I/ActivityManager( 2205): sys P 49903 kB: system (2205) fixed
I/ActivityManager( 2205): pers P 18470 kB: com.android.systemui (6299) fixed
I/ActivityManager( 2205): pers P 8243 kB: com.android.phone (2699) fixed
I/ActivityManager( 2205): pers P 4745 kB: com.android.incallui (2714) fixed
I/ActivityManager( 2205): pers P 2112 kB: com.bel.android.dspmanager (2707) fixed
I/ActivityManager( 2205): fore T 38659 kB: com.teslacoilsw.launcher (31213) top-activity
I/ActivityManager( 2205): fore IF 23768 kB: com.google.android.calendar (31273) service
I/ActivityManager( 2205): com.google.android.calendar/com.android.calendar.widget.CalendarAppWidgetService<=Proc{2205:system/1000}
I/ActivityManager( 2205): fore IF 22149 kB: com.wunderkinder.wunderlistandroid (31305) service
I/ActivityManager( 2205): com.wunderkinder.wunderlistandroid/.widget.managetasks.WidgetService<=Proc{2205:system/1000}
I/ActivityManager( 2205): fore IF 18167 kB: com.android.providers.calendar (31289) provider
I/ActivityManager( 2205):

I/ActivityManager( 2205): Low on memory:
I/ActivityManager( 2205): ntv N 68304 kB: mediaserver (1780) native
I/ActivityManager( 2205): ntv N 8196 kB: surfaceflinger (1777) native
I/ActivityManager( 2205): ntv N 2985 kB: admsrv (1785) native
I/ActivityManager( 2205): ntv N 2600 kB: zygote (1778) native
I/ActivityManager( 2205): ntv N 1810 kB: sdcard (2560) native
I/ActivityManager( 2205): ntv N 1473 kB: app_process (3789) native
I/ActivityManager( 2205): ntv N 722 kB: logcat (27427) native
I/ActivityManager( 2205): ntv N 618 kB: logcat (26293) native
I/ActivityManager( 2205): ntv N 618 kB: logcat (26847) native
I/ActivityManager( 2205): ntv N 578 kB: rild (1776) native
I/ActivityManager( 2205): ntv N 414 kB: netd (1774) native
I/ActivityManager( 2205): ntv N 316 kB: adbd (4761) native
I/ActivityManager( 2205): ntv N 243 kB: wpa_supplicant (2480) native
I/ActivityManager( 2205): ntv N 239 kB: /init (1) native
I/ActivityManager( 2205): ntv N 207 kB: debuggerd.bin (21594) native
I/ActivityManager( 2205): ntv N 186 kB: sdcard (2876) native
I/ActivityManager( 2205): ntv N 180 kB: healthd (1769) native
I/ActivityManager( 2205): ntv N 151 kB: logcat (31095) native
I/ActivityManager( 2205): ntv N 145 kB: drmserver (1779) native
I/ActivityManager( 2205): ntv N 145 kB: sh (25403) native
I/ActivityManager( 2205): ntv N 143 kB: logcat (31140) native
I/ActivityManager( 2205): ntv N 139 kB: logcat (28010) native
I/ActivityManager( 2205): ntv N 139 kB: logcat (30321) native
I/ActivityManager( 2205): ntv N 139 kB: logcat (30713) native
I/ActivityManager( 2205): ntv N 139 kB: logcat (32023) native
I/ActivityManager( 2205): ntv N 138 kB: logcat (23463) native
I/ActivityManager( 2205): ntv N 121 kB: sh (25385) native
I/ActivityManager( 2205): ntv N 112 kB: msa (1865) native
I/ActivityManager( 2205): ntv N 102 kB: ueventd (1189) native
I/ActivityManager( 2205): ntv N 98 kB: logcat (7525) native
I/ActivityManager( 2205): ntv N 92 kB: vold (1772) native
I/ActivityManager( 2205): ntv N 90 kB: logcat (6099) native
I/ActivityManager( 2205): ntv N 90 kB: logcat (18345) native
I/ActivityManager( 2205): ntv N 90 kB: logcat (20884) native
I/ActivityManager( 2205): ntv N 90 kB: logcat (21163) native
I/ActivityManager( 2205): ntv N 90 kB: logcat (22441) native
I/ActivityManager( 2205): ntv N 90 kB: su (25397) native
I/ActivityManager( 2205): ntv N 90 kB: logcat (31805) native
I/ActivityManager( 2205): ntv N 88 kB: gpsd (1783) native
I/ActivityManager( 2205): ntv N 86 kB: copsdaemon (1768) native
I/ActivityManager( 2205): ntv N 70 kB: libblank_webserver_exec.so (6764) native
I/ActivityManager( 2205): ntv N 53 kB: servicemanager (1770) native
I/ActivityManager( 2205): ntv N 38 kB: su (25402) native
I/ActivityManager( 2205): ntv N 34 kB: su (25396) native
I/ActivityManager( 2205): ntv N 34 kB: su (25400) native
I/ActivityManager( 2205): ntv N 25 kB: cspsa-server (1759) native
I/ActivityManager( 2205): ntv N 22 kB: installd (1781) native
I/ActivityManager( 2205): ntv N 20 kB: su (1794) native
I/ActivityManager( 2205): ntv N 16 kB: at_distributor (1793) native
I/ActivityManager( 2205): ntv N 15 kB: keystore (1782) native
I/ActivityManager( 2205): ntv N 12 kB: at_core (1789) native
I/ActivityManager( 2205): ntv N 11 kB: strace (2478) native
I/ActivityManager( 2205): ntv N 10 kB: dhcpcd (9806) native
I/ActivityManager( 2205): ntv N 9 kB: logwrapper (1767) native
I/ActivityManager( 2205): ntv N 9 kB: npsmobex (1787) native
I/ActivityManager( 2205): ntv N 9 kB: ta_loader (1792) native
I/ActivityManager( 2205): ntv N 9 kB: immvibed (1847) native
I/ActivityManager( 2205): ntv N 9 kB: logwrapper (2479) native
I/ActivityManager( 2205): ntv N 9 kB: sh (3781) native
I/ActivityManager( 2205): ntv N 9 kB: sh (3786) native
I/ActivityManager( 2205): ntv N 9 kB: sh (7515) native
I/ActivityManager( 2205): ntv N 8 kB: su (3775) native
I/ActivityManager( 2205): ntv N 8 kB: su (3776) native
I/ActivityManager( 2205): ntv N 8 kB: su (3777) native
I/ActivityManager( 2205): ntv N 8 kB: su (3782) native
I/ActivityManager( 2205): ntv N 8 kB: su (7507) native
I/ActivityManager( 2205): ntv N 8 kB: su (7509) native
I/ActivityManager( 2205): ntv N 4 kB: su (3779) native
I/ActivityManager( 2205): ntv N 4 kB: su (3780) native
I/ActivityManager( 2205): ntv N 4 kB: su (3784) native
I/ActivityManager( 2205): ntv N 4 kB: su (3785) native
I/ActivityManager( 2205): ntv N 4 kB: su (7513) native
I/ActivityManager( 2205): ntv N 4 kB: su (7514) native
I/ActivityManager( 2205): sys P 50162 kB: system (2205) fixed
I/ActivityManager( 2205): pers P 18893 kB: com.android.systemui (6299) fixed
I/ActivityManager( 2205): pers P 8189 kB: com.android.phone (2699) fixed
I/ActivityManager( 2205): pers P 4721 kB: com.android.incallui (2714) fixed
I/ActivityManager( 2205): pers P 2073 kB: com.bel.android.dspmanager (2707) fixed
I/ActivityManager( 2205): fore T 33077 kB: com.teslacoilsw.launcher (31213) top-activity
I/ActivityManager( 2205): fore S 24002 kB: com.ifttt.ifttt (2639) exec-service
I/ActivityManager( 2205): fore S 17940 kB: com.linecorp.linelite.lservice (2688) exec-service
I/ActivityManager( 2205): fore S 17796 kB: com.maildroid (2704) broadcast
I/ActivityManager( 2205): vis S 27973 kB: com.google.android.gms (1238) service
I/ActivityManager( 2205): com.google.android.gms/.ads.identifier.service.AdvertisingIdService<=Proc{2639:com.ifttt.ifttt/u0a86}
I/ActivityManager( 2205): vis IB 23531 kB: com.google.android.gms.persistent (3603) service

Kmsg:

<1>select 4146 (posed.installer), adj 11, size 7771, to kill
<1>select 4163 (d.process.acore), adj 9, size 5956, to kill
<1>send sigkill to 4146 (posed.installer), adj 11, size 7771
<1>send sigkill to 4163 (d.process.acore), adj 9, size 5956
<1>select 4190 (d.process.acore), adj 9, size 7295, to kill
<1>send sigkill to 4190 (d.process.acore), adj 9, size 7295
<1>select 4210 (d.process.acore), adj 9, size 6987, to kill
<1>send sigkill to 4210 (d.process.acore), adj 9, size 6987
<1>select 4222 (d.process.acore), adj 9, size 7225, to kill
<1>send sigkill to 4222 (d.process.acore), adj 9, size 7225
<1>select 4234 (d.process.acore), adj 9, size 6712, to kill
<1>send sigkill to 4234 (d.process.acore), adj 9, size 6712
<1>raw soc = 846select 4258 (d.process.acore), adj 9, size 5333, to kill
<1>send sigkill to 4258 (d.process.acore), adj 9, size 5333
<1>select 4272 (re-initialized>), adj 9, size 3971, to kill
<1>send sigkill to 4272 (re-initialized>), adj 9, size 3971
<1>select 4285 (re-initialized>), adj 9, size 3675, to kill
<1>send sigkill to 4285 (re-initialized>), adj 9, size 3675

As a side note, this keeps showing up even after a format:

<3>mmc1: [MMC] CMD TIMEOUT STATUS: 4, CMD: 25
<3>mmci-pl18x sdi0: error during DMA transfer!
<3>mmcblk1: timed out sending r/w cmd command, card status 0xc00b00

I tried formatting mmcblk1 (which should be external memory, right), but it somehow would keep coming after a while.

I'm not sure if those issues are related or not, but changing memory card or formatting it doesn't seem to help.

Full Logcat: https://drive.google.com/open?id=0Bzo3MSxg_YFCR1dPdjRJaEVGWlU

Full Kmsg: https://drive.google.com/open?id=1-RwOV7KH0Fyd9ZJpf1ufpwrnKgyANAxqf2sFRs0IipE

Any ideas about this?

---------- Post added at 08:54 AM ---------- Previous post was at 08:48 AM ----------

As long as there is a device tree source, even you can do it from CM11 source.

There might be some need to figure out some device specific hacks, but other than that, in theory it's possible

Have you tried searching?

I found plenty, though I can't say whether it's stable or not.

http://xdaforums.com/sitesearch.php?q=lg f70

Just a side note, as an initial attempt, you could always root, and try custom kernels and modify values (eg: governor, cpu, and stuff) for the device.