[Galaxy Ace II Android Development] ace2nutzer:
Hello gepel,

48 MB is OK for "dalvik.vm.heapgrowthlimit" which is used for Apps that doesn't require the

android:largeHeap="true"

So for Apps that require the

android:largeHeap="true"

(like YouTube, Browser App, Maps and so on) the build.prop property "dalvik.vm.heapsize" is used, which i recommend to be not lower than 128 MB.

dalvik.vm.heapsize=192m
dalvik.vm.heapgrowthlimit=48m

Usually it's best to keep such Values to the lowest possible in order to save RAM.

BUT .. if they are too low, the Java Code Processing to the Machine Code compilation will run in a loop, (garbage collection) resulting in higher cpu load = higher battery draining.

More info:

if u don't declare "dalvik.vm.heapgrowthlimit" then this Value will be automatically the half from "dalvik.vm.heapsize", according to the Source Code.

One more useful Tip:

don't forget to keep the "m" at the end of the Value ... otherwise the Phone wont't boot anymore.

Anyway, if u set a too low value and u don't want to restore a cwm backup or to flash the CM11 package, then simply boot to cwm and connect the Phone with your PC ... run ADB and type:

nano /system/build.prop

The full build.prop will appear on your PC and u can EDIT every single line .. when u're done, exit with "Strg" + "X" and save with "Strg" + "Y" + ENTER. then it should boot, once u fixed the wrong lines. ;)

full latest build.prop: (optimized)

# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=KTU84Q
ro.build.display.id=cm_codina-userdebug 4.4.4 KTU84Q 9b43a7a985 test-keys
ro.build.version.incremental=9b43a7a985
ro.build.version.sdk=19
ro.build.version.codename=REL
ro.build.version.release=4.4.4
ro.build.version.security_patch=2016-11-01
ro.build.version.base_os=
ro.build.date=Wed 18. Sept 20:45:20 CET 2019
ro.build.date.utc=1514643968
ro.build.type=userdebug
ro.build.user=ace2nutzer
ro.build.host=V5535
ro.build.tags=test-keys
ro.product.brand=samsung
ro.product.name=GT-I8160
ro.product.board=montblanc
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=samsung
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=montblanc
# ro.build.product is obsolete; use ro.product.device
ro.build.product=codina
ro.product.model=GT-I8160
ro.product.device=codina
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=GT-I8160P-user 4.1.2 JZO54K I8160PXXMG2 release-keys
ro.build.fingerprint=samsung/GT-I8160P/GT-I8160P:4.1.2/JZO54K/I8160PXXMG2:user/release-keys
ro.build.characteristics=default
ro.cm.device=codina
# end build properties
#
# from device/samsung/codina/system.prop
#
#
# system.prop for GT-I8160
#
rild.libargs=-d /dev/ttyS0
rild.libpath=/system/lib/libsec-ril.so
ro.telephony.call_ring.multiple=false
ro.sf.lcd_density=240
ro.lcd_min_brightness=10
ro.lcd_brightness=80
ste.cam.back.orientation=90
ste.cam.front.orientation=270
ste.cam.ext.cfg.path.secondary=/system/usr/share/camera/config_file/samsung_s5k4ecgx_codina_liteon.dat
ste.omx.ctx=0
ste.nmf.autoidle=1
ste.video.dec.mpeg4.in.size=8192
ste.video.dec.recycle.delay=1
ste.video.enc.out.buffercnt=5
ste.special_fast_dormancy=false
persist.sys.usb.config=mass_storage,adb

# Hardware info
ro.device.chipset=ST-Ericsson NovaThor U8500 (45nm)
ro.device.cpu=ARMv7-a Cortex-A9 Dual-core (vfpv3 NEON)
ro.device.gpu=Mali-400MP
ro.device.rear_cam=5 Mpix (2592x1944)
ro.device.front_cam=VGA (640x480)
ro.device.screen_res=3,7' 480x800 pixels ( ~246 ppi)

# CM Performance Profiles (only during boot)
# 0= powersave; 1= balanced; 2= performance - default
sys.perf.profile=2

#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.rommanager.developerid=cyanogenmod
ro.com.google.clientidbase=android-google
keyguard.no_require_sim=true
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
persist.sys.dalvik.multithread=true
persist.sys.dun.override=0
persist.sys.root_access=1
ro.cm.version=11-20190918-UNOFFICIAL-codina
ro.cm.releasetype=UNOFFICIAL
ro.modversion=11-20190918-UNOFFICIAL-codina
ro.cmlegal.url=https://cyngn.com/legal/privacy-policy
persist.sys.recovery_update=false
ro.cm.display.version=11-20190918-UNOFFICIAL-codina
ro.config.notification_sound=Argon.ogg
ro.config.alarm_alert=Hassium.ogg
ro.config.ringtone=Orion.ogg
ro.carrier=unknown
ro.opengles.version=131072
ro.zygote.disable_gl_preload=1
debug.sf.hw=1
debug.hwui.render_dirty_regions=false
wifi.interface=wlan0
wifi.supplicant_scan_interval=180
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.telephony.ril_class=SamsungU8500RIL
ro.telephony.sends_barcount=1
mobiledata.interfaces=pdp0,wlan0,gprs,ppp0
ro.build.selinux=1
persist.sys.vold.switchablepair=sdcard0,sdcard1
dalvik.vm.heapsize=192m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.dexopt-data-only=1
# ART
dalvik.vm.boot-dex2oat-threads=2
dalvik.vm.dex2oat-Xms=48m
dalvik.vm.dex2oat-Xmx=192m
dalvik.vm.dex2oat-threads=2
dalvik.vm.dexopt.secondary=true
dalvik.vm.image-dex2oat-Xms=48m
dalvik.vm.image-dex2oat-Xmx=48m
dalvik.vm.image-dex2oat-threads=2
pm.dexopt.ab-ota=speed-profile
pm.dexopt.bg-dexopt=speed-profile
pm.dexopt.boot=verify
pm.dexopt.first-boot=quicken
pm.dexopt.install=quicken
dalvik.vm.appimageformat=lz4
dalvik.vm.usejit=true
dalvik.vm.usejitprofiles=true
ro.dalvik.vm.native.bridge=0
# ART END
persist.sys.purgeable_assets=0
persist.sys.use_16bpp_alpha=0
ro.sec.fle.encryption=false
ro.product_ship=true
net.streaming.rtsp.uaprof=http://wap.samsungmobile.com/uaprof/GT-I8160.xml
net.streaming.rtsp.uaprof.bo=http://wap.samsungmobile.com/uaprof/GT-I8160BO.xml
service.brcm.fm.start_snr=41
service.brcm.fm.stop_snr=20
persist.sys.dalvik.vm.lib=libdvm.so
dalvik.vm.lockprof.threshold=500
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt