ESP.getHeapSize() gives me 255kb
ESP.getMaxAllocHeap() gives me 65kb
I see this here, but is this true for just the 4mb version, or also the 16mb version as well?
Due to a technical limitation, the maximum statically allocated DRAM usage is 160KB. The remaining 160KB (for a total of 320KB of DRAM) can only be allocated at runtime as heap.