These are chat archives for SmingHub/Sming

11th
Feb 2019
Mike G
@mike.greipel_gitlab
Feb 11 13:58
Section|                   Description| Start (hex)|   End (hex)|Used space 
------------------------------------------------------------------------------
   data|        Initialized Data (RAM)|    3FFE8000|    3FFE854A|    1354
 rodata|           ReadOnly Data (RAM)|    3FFE8550|    3FFE9834|    4836
    bss|      Uninitialized Data (RAM)|    3FFE9838|    3FFEFEF0|   26296
   text|            Cached Code (IRAM)|    40100000|    40106DDF|   28127
irom0_text|           Uncached Code (SPI)|    40202010|    4025AEA6|  364182
Total Used RAM : 32486
Free RAM : 49434
Free IRam : 4659

IRAM size should be 32786 Bytes (28127 + 4659) -> text
DRAM (RAM above) size should be 81920 Bytes (26296 + 4836 + 1354 Total Used RAM) -> data,rodata and bss

Everything is fine.

Nginx Server with 16k Chunks:

Error on ESP8266
ssl->need_bytes=16448 > 6859
E:M 16400

I fixed this by limiting the chunks to 4kb, but where do these 6859 Bytes available memory come from?
I assume, that this is the the largest contiguous memory block in the dram, is that true?

slaff
@slaff
Feb 11 21:08

I assume, that this is the the largest contiguous memory block in the dram, is that true?

Correct.

I fixed this by limiting the chunks to 4kb

Again that is the right thing to do.