Skip to main content
Visitor II
July 17, 2019
Question

How to expand array size in memory(Error- segment .bss overflow)?

  • July 17, 2019
  • 1 reply
  • 610 views

Hi there,

I want to expand array size until 3000. (i.e. arr[3000]). I have 4KB RAM.

currently I can get value till arr[1500].

I tried different options to expand size but no success. Please see below image.

How to expand array size?

Thanks ,

Gopal0690X000009YqyfQAC.png

    This topic has been closed for replies.

    1 reply

    Explorer
    July 18, 2019

    Other variables and stack take up space, too. Review the map file.

    Manage to get along with smaller array sizes, or get a MCU with more RAM.