Error message suggesting a lack of RAM

I get the following error message:

c:/users/tizi1/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.1.0-gcc10.3-e5f9fec/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld.exe: address 0x400037f8 of C:\Users\tizi1\AppData\Local\Temp\arduino\sketches\CA978D59220EBCF123B4C876D43EC9D4/ui.ino.elf section .bss' is not within region dram0_0_seg'

It suggests that dram0_0-seg is to big, however I allready reduced the variable sizes and tried to assign a bigger flash size through tools. However no matter what i do i keep getting the error, hindering me from compiling. Does anyone have an Idea on how to fix or troubleshoot this? Thanks

can you give details of or a link to the Microcontroller module you are using?
which version of the IDE are you using?
what is the host operating system?

I use a Nodemcu v3 esp 8266 board. In the IDE I have it defined as generic esp8266 module. My IDE Version is 2.2.1 and my host os is windows. Thanks in advance