Realm database file size
<p>My current realm file weights about 700mb. It is very many for simple iOS application. How can I get compressed copy of it? I tried to do it using <code>realm.writeCopyToURL(url)</code> from <a href="https://realm.io/docs/swift/latest/#file-size--tracking-of-intermediate-versions" rel="nofollow">official documentation</a>, but it didn't help me. What problem can be?</p>