The demo script doesn't work in the latest version of MaixPy

The demo script doesn’t work in the latest version of MaixPy
the first time you take a photo everything freezes

everything works fine on maixpy_v0.5.0_42_g458ed4e_minimum

Hi, I’m trying to run it on a Maixduino and I have the same problem with the latest firmware (maixpy_v0.5.0_63_g2d307ae.bin), but I also can’t run it with maixpy_v0.5.0_42_g458ed4e, as you suggest.

I get an OOM error:
[0;31mE (6071164019) SYSCALL: Out of memory

Never mind, I fixed it by reducing the GC heap size of 25% (from 524288 to 393216):

from Maix import utils

Now everything works with firmware maixpy_v0.5.0_42_g458ed4e.
It still freezes after pressing the boot button on the latest version (maixpy_v0.5.0_63_g2d307ae.bin).