Skip to main content
JMaje.1
Associate
February 25, 2022
Question

Hi, i'm just checking my RAM since i have an slight overflow of 6KB. I want to optimize it but unfortunately i can not access the aMemory in .bss. Does anybody has an idea why and how to solve this? Best Regards

  • February 25, 2022
  • 3 replies
  • 1682 views

0693W00000KaZeIQAV.png

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
February 25, 2022

This just lacks any context.

Is this coming from a library?

Perhaps grep within your workspace or the libraries/files it touches.

Perhaps look for "aMemory" rather than the fully qualified name.

Perhaps look at the .MAP file

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
JMaje.1
JMaje.1Author
Associate
February 25, 2022

Came from a library which occupied some RAM. Segger emWin lib with "#define GUI_NUMBYTES" i was able to adjust it.

S.Ma
Principal
February 26, 2022

Saving RAM means put more in rom if so.e part can, or use unions when possi le between mhtually exclusive buffers, or mobe variables as stack local instead of globla, or start packing data, or even RLE compress them if possible.... for GUI memory glut, it would be a specific chapter.