Instead, they grow by specific size increments, with new data being written within unused space tracked inside the file.
However, there may be situations in which a significant portion of a Realm file is comprised of unused space.
In-memory Realms create several files in a temporary directory for coordinating things like cross-process notifications.
No data is actually written to the files unless the operating system needs to swap to disk due to memory pressure.
When reporting Realm issues, please be sure to include these auxiliary files along with your main You can refer to our migration sample app for an example of how to use a bundled Realm file.