Knowledge Base Article

elf2flash File Size Limit

Description

The elf2flash utility supports .elf files up to approximately 24 MBytes in size. The elf2flash utility might fail on files larger than 24 MBytes, with the error message java.lang.OutOfMemoryError.

Resolution

Lower the number of symbols in your .elf file by turning off debug symbols.

Alternatively, specify less initialized data in the application.

Updated 1 month ago
Version 2.0
No CommentsBe the first to comment