Upload Limit For Trilium #3815
Replies: 3 comments 1 reply
-
There is a hard limit somewhere near 5GB due to the way Javascript handles files. There's an artificial limit placed because Trilium is not designed for large file storage, but it can be disabled if you desire with an environment variable. However, it's still true that SQLite and Trilium are not meant to hold singularly large binary blobs. It increases sync failure rates because of connectivity issues and can cause slowdowns. |
Beta Was this translation helpful? Give feedback.
-
cool ty Ig a cool feature would be being able to hook it up to seperate db for lfs if we want to store single large blobs |
Beta Was this translation helpful? Give feedback.
-
@sigaloid is correct. Handling large files is not "free" and has to be programmed in a specific way. Trilium makes an assumption that the content will always fit into memory, SQLite has a hard limit for BLOB which can be between 1 and 2 GBs. Some operations may be very slow etc. A lot of these issues can be worked around, but given that Trilium is not meant to be a large file storage, I don't dedicate my time towards it and limit the size to a safe value instead. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Why is there a limit to the size of files I can upload into Trilium? I understand why this would be very important if you were to be paying for a hosting service but for example, I self-host my own trillium server and I'm curious if I can make the max file size for upload bigger.
Beta Was this translation helpful? Give feedback.
All reactions