Android PF have kill alive process when heigher priority process need heap.
Kyoro Stress V2 create Low Memory Killer situation on purpose!!
You think it so simple. just to make application to consume many heap.
but, it difficult that your thinking way.
- A. Android PF restrict application java heap per one process.
- B. heap comsuming application is killed by Android PF.
Kyoro Stress solved this problem.
[KyoroStressV2 's manual]
start consuming heap.
stop consuming heap. and release.
# num of big eater
booting process num.
# eatup java heap size
consuming heap size per one process.
# is retry
# show notification
if true, consume notification.
if true, mean low memory state
boundary low memory state.
if android:largeHeap="true" 's application available heap size.
if android:largeHeap="false" 's application available heap size.
now consuming java heap
now recovery another killed process.
# done all task
all task is end.
this app source is following