Expose compact() method on Realm instances
See original GitHub issueWe can call it something else in JS, but essentially it would just call SharedRealm::compact()
. This would alleviate concerns for app developers over ever-growing Realm file sizes.
This issue was brought up in #504.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Realm (Realm 3.2.0) - MongoDB
The Realm class is the storage and transactional manager of your object persistent store. It is in charge of creating instances of your...
Read more >Recommended way to handle removing/renaming a realm ...
Realm.compact() removes the space left behind by deletions. Compacting works if there are no open Realm instances.
Read more >Securing Applications and Services Guide - Keycloak
There are really two types of use cases when using SAML. The first is an application that asks the Keycloak server to authenticate...
Read more >Configuring Strimzi (0.32.0)
This procedure shows only some of the possible configuration options, ... In most cases, the Cluster Operator only updates your Kafka or ZooKeeper...
Read more >Guide to Infinispan Server
Run Infinispan Server instances in a Java Virtual Machine (JVM). Prerequisites. Download and install the server distribution. Procedure. Open a ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I figured out the unexpected growth of file size, it was related to:
https://github.com/realm/realm-browser-osx/issues/71
Using the Realm Browser in OSX (while developing), causes the file size to grow and not reuse the existing space. Once you close the Realm Browser Instance, the file size works as expected.
+1 for a
compact
method, would be nice to reclaim users disk space as required.@Mellemel See #1209