this post was submitted on 07 Sep 2023
37 points (93.0% liked)

Selfhosted

40219 readers
1725 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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 1 year ago (3 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.

[–] [email protected] 6 points 1 year ago (2 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.

[–] [email protected] 5 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.

[–] [email protected] 3 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.