diff options
author | Romain Guy <romainguy@google.com> | 2010-10-15 19:15:25 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2010-10-15 19:15:25 -0700 |
commit | 77c011ba75ee1403c9b7626e4676cd3c8746605b (patch) | |
tree | be812fb9bc14a64654fd93aad337c3ce090d3f4a /core | |
parent | 208bb08a8b4896bc51b44aeec41b91d4726007cf (diff) | |
download | frameworks_base-77c011ba75ee1403c9b7626e4676cd3c8746605b.zip frameworks_base-77c011ba75ee1403c9b7626e4676cd3c8746605b.tar.gz frameworks_base-77c011ba75ee1403c9b7626e4676cd3c8746605b.tar.bz2 |
Set default heap size to 5MB.
Change-Id: Iac8ae3cbe6b431767776653c9f430983172cfb6f
Diffstat (limited to 'core')
-rw-r--r-- | core/java/com/android/internal/os/ZygoteInit.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/com/android/internal/os/ZygoteInit.java b/core/java/com/android/internal/os/ZygoteInit.java index a409ec8..397ae60 100644 --- a/core/java/com/android/internal/os/ZygoteInit.java +++ b/core/java/com/android/internal/os/ZygoteInit.java @@ -563,6 +563,8 @@ public class ZygoteInit { public static void main(String argv[]) { try { + VMRuntime.getRuntime().setMinimumHeapSize(5 * 1024 * 1024); + // Start profiling the zygote initialization. SamplingProfilerIntegration.start(); |