EloquentEsp32cam icon indicating copy to clipboard operation
EloquentEsp32cam copied to clipboard

Error DRAM overflow

Open marcovilla118 opened this issue 1 year ago • 2 comments

Dear All,

I'm trying to use AITHinker esp32-cam but it looks like it's not working because of missing memory. Here is the error, do I have any chance to make it work?

/Users/xxx/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: /private/var/folders/c8/12c3wry92k15j8yj7tgz7rh00000gn/T/arduino/sketches/6F41C98F27E8199FE5E7451F48149081/PersonDetectionExample.ino.elf section .dram0.bss' will not fit in region dram0_0_seg' /Users/xxx/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: DRAM segment data does not fit. /Users/xxx/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: DRAM segment data does not fit. /Users/xxx/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: region `dram0_0_seg' overflowed by 1192 bytes collect2: error: ld returned 1 exit status

exit status 1

Compilation error: exit status 1

marcovilla118 avatar Mar 20 '24 10:03 marcovilla118

I have the same error

iHaiduk avatar Apr 16 '24 19:04 iHaiduk

Similar error here - running the Freenove Wrover with builtin camera. esp-2021r2-patch5-8.4.0/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: /private/var/folders/ll/sjz30_lx7y3f103g3cckm7q80000gn/T/arduino/sketches/227362BE499E0C2DC128E9C4FB119ECA/Face_Detection.ino.elf section .dram0.bss' will not fit in region dram0_0_seg'

guessing the chip is not s3 or does not have enough ram on it.

akvik avatar Apr 18 '24 07:04 akvik

Person detection, face detection, maybe motion detection (can't recall) only work on S3 chips. Also, person detection has been deprecated, you are using an old version of the library.

eloquentarduino avatar Jun 18 '24 13:06 eloquentarduino

Thanks, I figured S3 was needed in the end. I got motion detection to work on non-S3 chip - and I'm following your development of the library - looks great :)

akvik avatar Jun 18 '24 18:06 akvik