Laptops typically have 8 GB or more RAM which is a lot more than you need of r a lightweight OS; perhaps the rest could be used as a cache that is periodically flushed to the USB. For most uses of such a device there isn't much writing going on anyway.