[Galaxy Ace II Android Development] tnhh:
I only changed the heapsize back. In the original MC8 build.prop heapsize is 256m and heapgrowthlimit is 64m.

---------- Post added at 10:50 AM ---------- Previous post was at 10:49 AM ----------

As I said in my original message, I changed this and it fixed my memory problems. Without this change, my phone would run out of memory and/or fail to boot (mainly due to Exchange).

---------- Post added at 10:52 AM ---------- Previous post was at 10:50 AM ----------

For reference, here is the MC8 build.prop

# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=JZO54K
ro.build.display.id=JZO54K.I8160XXMC8
ro.build.version.incremental=I8160XXMC8
ro.build.version.sdk=16
ro.build.version.codename=REL
ro.build.version.release=4.1.2
ro.build.date=Tue Mar 26 08:14:49 KST 2013
ro.build.date.utc=1364253289
ro.build.type=user
ro.build.user=se.infra
ro.build.host=SEP-129
ro.build.tags=release-keys
ro.build.changelist=1016990
ro.product.model=GT-I8160
ro.product.brand=samsung
ro.product.name=GT-I8160
ro.product.device=GT-I8160
ro.product.board=montblanc
ro.product.cpu.abi=armeabi-v7a
# Samsung Specific Properties
ro.build.PDA=I8160XXMC8
ro.product.cpu.abi2=armeabi
ro.product_ship=true
ro.product.manufacturer=samsung
ro.product.locale.language=en
ro.product.locale.region=GB
ro.wifi.channels=
ro.board.platform=montblanc
# ro.build.product is obsolete; use ro.product.device
ro.build.product=GT-I8160
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=GT-I8160-user 4.1.2 JZO54K I8160XXMC8 release-keys
ro.build.fingerprint=samsung/GT-I8160/GT-I8160:4.1.2/JZO54K/I8160XXMC8:user/release-keys
ro.build.characteristics=default
# end build properties
#
# system.prop for U8500
#
rild.libpath=/system/lib/libsec-ril.so
rild.libargs=-d /dev/ttyS0

# Graphics related configurations
ro.sf.lcd_density=240
ro.sf.display_rotation=0

# System property for Default Brightness
ro.lcd_brightness=150
ro.lcd_min_brightness=30

# The OpenGL ES API level that is natively supported by this device.
# This is a 16.16 fixed point number
ro.opengles.version=131072

# Enable RecoverySystem to emit "factory-reset" reset string
# instead of "recovery" when doing a factory reset. This is
# useful when implementing factory reset without the entire
# recovery framework.
ro.factoryresetwithoutrecovery=true

# debug.sf.hw=0 Use b2r2 as compositor in SurfaceFlinger
# debug.sf.hw=1 Use Mali as compositor in SurfaceFlinger
debug.sf.hw=1

# Android defaults EGL preserved swap behaviour
# This gives bad performace for deferred renderers
# such as Mali.
debug.hwui.render_dirty_regions=false

# STE: Low power audio - enable ULP mode
ste.nmf.autoidle=1

# STE: Address of DBus STE bus
ste.dbus.bus.address=unix:path=/dev/socket/dbus_ste

# STE: UNSOL_CALL_RING is only sent once from RIL.
# Android needs to generate more rings if needed.
ro.telephony.call_ring.multiple=false

# STE: Hardware video codecs configuration
ste.video.dec.mpeg4.in.size=8192
ste.video.enc.out.buffercnt=5
ste.video.dec.recycle.delay=1

#STE: Fast Dormancy Flag
# Fast Dormancy based on USB Tether Events and Screen States
ste.special_fast_dormancy=false
# STE: camera orientation front & back
ste.cam.front.orientation=270
ste.cam.back.orientation=90

#UAP for streaming
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

#
# system prop for issue regarding writable directories(SDT)
#
ro.kernel.qemu=0

#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.carrier=unknown
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=64m
dalvik.vm.heapsize=256m
ro.sf.lcd_density=240
ro.sec.fle.encryption=true
ro.error.receiver.default=com.samsung.receiver.error
persist.sys.usb.config=mtp
ro.config.ringtone=S_Over_the_horizon.ogg
ro.config.notification_sound=S_Whistle.ogg
ro.config.alarm_alert=Good_Morning.ogg
ro.config.media_sound=Media_preview_Touch_the_light.ogg
ro.setupwizard.mode=DISABLED
ro.com.google.clientidbase=android-samsung
ro.com.google.gmsversion=4.1_r4
keyguard.no_require_sim=true
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt