I’ve copied over notes to test on the android version of anytype. These notes (not even 100) are largely text together with bookmarked links and markdown linked images (no uploaded images or files) and it’s taking up about a gigabyte of space on my android (minus cache) while only using about 360mb on my windows hard drive.
I’ve also noticed that if I log out and log back in, the space taken by the notes in my android phone comes to about the same as my desktop but on adding notes, the space taken shoots up so much it’s alarming.
To Reproduce
Steps to reproduce the behavior:
Note the space taken up by anytype
Add a couple of notes, link bookmarks and liked images
The space taken shoots up.
Desktop (please complete the following information):
OS: Android 10
Device: Nokia 6.2
Version: 0.1.6
Additional context
The app that I currently use for my note taking and project planning that has all these notes only takes up about 110mb on my phone
Thank you for writing such a comprehensive report!
When you add some data into Anytype it actually gets stored into the app and IPFS (our distributed file system). If you see a real image means it is stored as an image, if you see a link to the image then you have a text formatted with a URL. We have no embedding right now because this approach has security problems (exposing IP to remote server aka company). I think that we will add embeds anyway, but need to figure out how to do that safely.
That’s strange I haven’t reproduced such behavior on my phone
Can it be possible that you opened the page with the video on it while navigated in app?
Anytype download files and video on-premise (download or view), so it uses less traffic and disk space
@Kirill_Lem can you please check it on your device?
I had the same issue with storage usage going up to 2 GB on Android, but only a few hundred MBs on Windows. After wiping the data on Android and syncing everything again it went down to 200 MB.
My notes are mostly text blocks with almost no images and no videos or files. I made some text changes on Windows and the disk usage on Android already doubled again within a few days (by adding just a few hundred words).
I spent some time trying to reproduce this and was able to get into a state, where the used space keeps increasing multiple megabytes per minute after making only small changes.
Unfortunately it does not seem to work everytime, but this is what I kept trying:
(Open Anytype on Windows - maybe not neccessary)
On Android: Create a new page
Create some textblocks with text
Make ~ 10 changes to the text blocks (just adding some characters is enough)
Wait for it to sync between each changes
Wait about 3-5 minutes, change some more text and keep Anytype running
Regularly check Anytype storage stats
Result: used space keeps increasing at a constant rate infinitely - as long as the app is running
Note: The used space does not seem to increase immediately, but starts going up after some minutes with a rate about 2-3 MBs per minute and only stops when restarting the app. Sometimes it even jumps 20 or 30 MB at once, without any interaction.
@felix thank you for such a comprehensive report! We will go through your guide and try to reproduce that behavior one more time. We will write here about the results after the research
I think a good thing would be a toggle to choose whether to use the device (exposing the IP) or using the backup server as a proxy for getting the info (looking at you, Telegram )…
I’m also experiencing extremely large storage usage on Android - 8.9 GB to be specific. I don’t store big files on Anytype, only small images and audio recordings, which likely doesn’t add up anywhere close to 8.9 GB.
In contrast, the work directory in the desktop is 4 GB large, and I’ve had that installation for about five months. The Android app was only installed for less than two months before the storage ballooned to nearly 9 GB.
This makes me suspect that this is a bug within the Anytype Android application, as this issue doesn’t occur on the Desktop application. I’d be happy to provide bug or sync logs to help the developers resolve this issue.
Apart from the consistent rate of increase when making no changes at all, objects themselves take quite a bit of storage space:
I’ve done some tests and it seems that every object upon creation takes 1-2mb, which feels like a lot for just a bit of text (and some metadata). Based on my (non-scientific) tests it seems mostly the number of objects and (large) media within objects that make the app size grow rapidly.
Anytype is consuming more disk space for less number of notes. I hardly have 12 notes which include some text, images and code blocks . No videos are present . I didn’t even import any notes from notion.
Today I saw that Anytype still takes up way to much storage space, both on Windows and Android. Any update on optimizing or the reason why?
I have about 500 pages, mostly empty for testing Anytype. A few sets and relations to connect them all together and some images for covers (average image size 200kb) and 2 PDF’s. All together should not be taking up more then 100MB and that’s a large estimation on my part.
On Windows (Anytype 0.25.4), when I check the work directory, anytype2 it takes 10,1GB of space.
On Android (Anytype 0.6.0), it takes 0,98GB of space (App-size 328MB, Userdata 498MB, Cache 157MB).
For comparison, my Obsidian vault, containing at least double the amount of pages, but to be fair less images and takes up only 35MB of space!