Hi,
Can you try to disable hardware renderer stuff
diff --git a/core/java/android/app/ActivityManager.java
b/core/java/android/app/ActivityManager.java
index 4fe9cef..4b1ea83 100644
--- a/core/java/android/app/ActivityManager.java
+++ b/core/java/android/app/ActivityManager.java
@@ -218,6 +218,7 @@ public class ActivityManager {
static public boolean isHighEndGfx(Display display) {
MemInfoReader reader = new MemInfoReader();
reader.readMemInfo();
+/*
if (reader.getTotalSize() >= (512*1024*1024)) {
// If the device has at least 512MB RAM available to the
kernel,
// we can afford the overhead of graphics acceleration.
@@ -230,7 +231,7 @@ public class ActivityManager {
// If this is a sufficiently large screen, then there are
enough
// pixels on it that we'd really like to use hw drawing.
return true;
- }
+ } */
return false;
}
diff --git a/core/java/android/view/HardwareRenderer.java
b/core/java/android/view/HardwareRenderer.java
index b86d21d..8e99f81 100644
--- a/core/java/android/view/HardwareRenderer.java
+++ b/core/java/android/view/HardwareRenderer.java
@@ -92,7 +92,10 @@ public abstract class HardwareRenderer {
*
* @hide
*/
- public static boolean sRendererDisabled = false;
+// public static boolean sRendererDisabled = false;
+ //public static boolean sRendererDisabled = false;
+ //TODO FIX ITWHEN HW RENDERING IS POSSIBLE
+ public static boolean sRendererDisabled = true;
/**
* Further hardware renderer disabling for the system process.
Regards,
Arun
On Sat, Feb 25, 2012 at 10:30 AM, Sun <[email protected]> wrote:
> Hi All,
>
> I working on upgrading a phone with 512 MB RAM From GB to ICS
> It seems in ICS low memory killer is making applications start up
> performance slow.
>
> When I start 4-5 apps and exit from back key processes for these apps
> are running in background in GB.
> but if I start same number of app in ICS I see lots of background
> processes are killed by low memory killer,
> and I often see below logs.
>
> <4>[ 316.945526] send sigkill to 568 (app_process), adj 11, size 4436
> <4>[ 324.601165] select 612 (app_process), adj 10, size 4411, to kill
> <4>[ 324.601196] send sigkill to 612 (app_process), adj 10, size 4411
>
> so when I launch the same app next time as process is not there in
> background . It has to start a new process which is making apps start
> up slow.It is as slow as when I launch the app for the first time.
>
> It seems in ICS apps are consuming more memory which is triggering
> low memory killer early to kill the apps.
> Anybody have any idea how to avoid this problem.
>
>
> Regards,
> Sunil
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting