this post was submitted on 07 Sep 2023
33 points (92.3% liked)

Selfhosted

40183 readers
1032 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

As much as I adore paperless-ngx for its UX, I hate it for its tech-stack. Idling it already uses 300 MB RAM, when changing a few metadata fields on a document it easily spikes to 700 oder 800 MB. That's insane for the work it actually does. Is there anything more lightweight? All I need is metadata management and a gallery with filters and previews.

top 6 comments
sorted by: hot top controversial new old
[–] lckdscl@whiskers.bim.boats 9 points 1 year ago (1 children)

https://awesome-selfhosted.net/tags/document-management.html#paperless-ngx

I stopped using Paperless-NGX for this reason. It eats RAM and CPU insanely even after configuring it to stop doing OCR and no ML. I wish there is a Go alternative.

[–] aksdb@feddit.de 6 points 1 year ago (1 children)

I wish there is a Go alternative.

Exactly what I was wishing for. Or Rust. Don't care. At least something that doesn't eat resources for breakfast.

I actually contemplated starting such a thing. But before I dive into another project I likely don't finish, I was hoping for something out-of-the-box.

[–] anzo@programming.dev 4 points 1 year ago (1 children)

Wasn't this reported as a bug on their repo? Does anyone know why is it eating such an amount of ram? It might be that this can be fixed.

[–] lckdscl@whiskers.bim.boats 2 points 1 year ago

I think all the RAM related issues were closed a while back and were supposedly fixed. I just don't understand why when interfacing with the front-end, it uses so much it would get OOM kill itself with 1.5 GB allocated memory.

Every page, as well as loading in the initial dashboard from an idle state, spikes the RAM. Are there no clever lazyloading happening or something? Surely viewing and modifying database entries can't be this memory intensive?

Maybe it's just an unoptimized Python thing. I stopped self-hosting stuff written in Python, with the exception of Linkding (which takes a while to also submit a link) and Whoogle.

[–] daco@lemm.ee 1 points 1 year ago* (last edited 1 year ago) (1 children)

I use docspell and I find it great. I run it on VM on an old microserver running proxmox.

There is also Mayan edms based on Django, but it has to many features for my use case.

[–] aksdb@feddit.de 1 points 1 year ago

It looks like docspell might even be heavier than paperless-ngx, given that I need to spin up at least 3 JVMs. Thanks for mentioning it anyway; don't get me wrong. But my current quest is for a lightweight solution.

Current contender might be SeedDMS, but it's a more generic DMS, not so much focused as paperless-ngx. I miss the gallery view, for example.