7 Replies Latest reply on Feb 4, 2014 2:07 PM by aaron.visser

    Running out of program memory?

    aaron.visser

       How can I tell if I'm running out of memory during program operation?  I have a fairly simple program, but it has some very large int32 arrays (500+ elements).  On compile there's no problems, and reports as to having lots of space left...
       

         

      Flash used: 15072 of 32768 bytes (46.0 %).
      SRAM used: 1556 of 4096 bytes (38.0 %).

         

       

         

      But when I'm running the program it starts running horribly slow, or incorrectly.  If I reduce the size of the arrays things start working properly, but I really can't seem to narrow down where the problem is.  

      Thoughts?