Build error: region RAM overflowed with stack

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
himc_284346
Level 3
Level 3
Welcome! 10 replies posted 5 replies posted

Hi,

   

I tried to compile one empty project using PSoC Creator 3.0. The device selcted was CY8C5265LTI-LP050. After compiling I got an error message saying "Build error: region RAM overflowed with stack". Please help.

   

 

   

Thanks

0 Likes
1 Solution
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

 The extra RAM consumption you see is mainly due to Stack & Heap allocation in .cydwr file -> System tab. Creator allocates the default 0x1000 & 0x4000 bytes for heap & stack in the SRAM and hence the higher consumption. If your application does not require that much Stack & Heap, you can reduce them.

View solution in original post

0 Likes
1 Reply
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

 The extra RAM consumption you see is mainly due to Stack & Heap allocation in .cydwr file -> System tab. Creator allocates the default 0x1000 & 0x4000 bytes for heap & stack in the SRAM and hence the higher consumption. If your application does not require that much Stack & Heap, you can reduce them.

0 Likes