this post was submitted on 02 Mar 2025
398 points (97.8% liked)

Selfhosted

43114 readers
653 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 23 points 2 days ago (23 children)

Yeah let's instead install a massive bloated shit project that the original developers left years ago and the maintainers don't know heads from tails of the codebase because it's too massive to maintain, with enough dependencies to make even a small child think he's independent by comparison.

All so that we can, uh, synchronize a markdown text file across 3 computers.

These projects exist so that we don't all have to re-invent the wheel every single time we need something simple. They have a purpose, even if they're not pushing the envelope. I've developed a bunch of software to do extremely simple things for myself because all the existing options are massive and bloated and do a million more things than I need.

I'm sure your projects look impressive on your resumé, though.

[–] [email protected] 7 points 2 days ago (16 children)

Yeah let’s instead install a massive bloated shit project that the original developers left years ago and the maintainers don’t know heads from tails of the code base because it’s too massive to maintain

So much this. I recently had OneDev recommended to me as a forgejo alternative. I was told that it was "very lightweight." Intrigued I tried it out. It fuckin' runs java and is resource heavy as fuck. Just sitting idle it consumes almost 13% of VPS RAM: http://i.xno.dev/u/SGXxO2.png

[–] BlueBockser 1 points 2 days ago* (last edited 1 day ago) (2 children)

You still have 63% RAM available in that screenshot, there are zero problems with Java using 13% RAM. It's the same as the tired old trope of "ChRoMe Is EaTiNg My MeMoRy". Unused memory is wasted memory if it can be used for caching instead, so unless you're running out of available memory, there is no problem.

Also, the JVM has a lot of options for configuring its various caches as well as when it allocates or releases memory. Maybe take a look at that first.

Edit: Apparently people don't want to hear this but don't have any actual arguments to reply with. Sorry to ruin your "JaVa BaD" party.

[–] TrumpetX 6 points 1 day ago* (last edited 1 day ago)

Sad that you're downvoted for being right.

Java apps can be memory hogs, but anything else can be too. The jvm is exceptionally performant for persistently running apps.

load more comments (1 replies)
load more comments (14 replies)
load more comments (20 replies)