Changing the RAM size involves a new chip designed with a new expanded RAM library element -- not something that will happen in the next few years, I suspect. Increasing the Flash size is entirely a different matter as this involve swapping out the Flash module and is just a component change on a board.
I should have worded my question better... I know changing the on board memory is impossible since it's part of the silicon.
I'm talking about adding code to the NodeMCU source to offload some of the memory use to an external SPI SRAM(or even better FRAM) IC, to store strings, numbers, process long strings, etc. and leave the primary memory for everything else that can't be offloaded.
Whats the speed difference compared to flash via spi?
Does spi access need some "driver" or is it integrated on hardware level like a address/data bus?
Cal