4 Device Memory Usage

Table 4-1. Total memory usage of PIC16F18857 in bytes for each protocol at different optimization levels
Protocol-O0-O1-O2-O3-Os
IPV4+ARP13,66812,87812,58310,9999,993
UDP15,34814,43614,11712,39911,293
DHCP21,63520,42119,59517,46516,301
TCP27,36725,93725,42117,46520,480
ICMP16,99416,06315,47513,66612,556
TFTP19,54218,43317,75415,68414,604
NTP15,70814,78814,46612,68211,585
DNS17,68716,62216,27914,49513,129
LLDP16,54115,56615,22513,59112,425
Table 4-2. Total memory usage of AVR64DD32 in bytes for each protocol at different optimization levels
Protocol-O0-O1-O2-O3-Os
IPV4+ARP18,17211,71611,24017,7989,660
UDP17,98411,32810,82018,40610,062
DHCP24,29315,93515,29124,22113,985
TCP28,66618,62617,40826,24214,916
ICMP20,44913,23112,48921,76511,653
TFTP21,31613,71212,99221,91012,074
NTP18,36811,58211,07418,66010,280
DNS19,18412,04411,51019,51610,740
LLDP18,89311,74711,20518,76110,473
Note:
  1. Table displays total memory usage which includes the peripheral and other necessary drivers for respective devices.
  2. Memory usage values generated using the toolchain listed under System Requirements page.
  3. IPV4 and ARP are always generated for all protocols, hence they are part of the memory usage for all of them.
  4. DCHP, TFTP, NTP and DNS protocols require UDP, hence it is part of the respective memory usage.