What does "Out of memory" error mean when building model with embedded coder?

2 views (last 30 days)
I have a model I'm programming into a C2000 processor (the F28379D) using embedded coder, and it works fine until I add one additional block to the model, which is when I get the build error "Out of memory." I thought this meant the generated code was too big to fit in the microcontroller flash, but that isn't the case-- a too-large model produces a different error. So what does this error mean? My guess is that it means I'm out of RAM on the microcontroller, but the error doesn't say, or give any other info besides "Out of memory." The error happens during build and I'm NOT using external mode. It ocurred to me that maybe it means my PC is maxing out its RAM while trying to program the board, but I checked task manager and it has 5 GB of free RAM.
outOfMemory.png
Does anyone know what this error means or how to resolve it? Thanks for any help!

Answers (0)

Products


Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!