In-Memory Dataset Management
By default, the Presto Analytics In-Memory Stores store datasets in memory with no expiration, so they remain in memory indefinitely. Stores use no persistence, however, so Presto Server restarts clear all datasets.
In-Memory Stores also do not overflow to disk if the datasets you store exceed available memory. If the memory allocated to BigMemory is full, rows in datasets are evicted based on the least recent use to make room for new rows.