408
submitted 2 years ago by mfat@lemmy.ml to c/selfhosted@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] Xanza@lemm.ee 8 points 2 years ago

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

[-] jonathan@lemmy.zip 4 points 2 years ago

I don't know what you're running there mate, Forgejo is a golang app.

[-] uranibaba@lemmy.world 2 points 2 years ago

I would assume it is OneDev, as the previous poster tried it as an alternative to Forgejo.

[-] enumerator4829@sh.itjust.works 3 points 2 years ago

Not to be that guy, but 12% of 8G isn’t even close to ”heavy as fuck” for a CI/CD and collaboration suite that seems aimed at enterprise users.

You can also tweak how much memory you’d like the jvm to grab with ’-Xms100m’. Any defaults are most likely aimed at much larger deployments than yours.

But yes, Java is a disease.

[-] Xanza@lemm.ee 3 points 2 years ago

Not to be that guy, but 12% of 8G isn’t even close to ”heavy as fuck” [...] CI/CD and collaboration suite that seems aimed at enterprise users.

It's not being used for CI/CD, so it's a webui for git. It absolutely is heavy as fuck for just sitting there.

[-] enumerator4829@sh.itjust.works 0 points 2 years ago

Just going off the marketing here:

Git server with CI/CD, kanban, and packages.

From the looks of it, they also seem to bundle the vscode server and a bunch of other stuff. I’m actually kinda surprised they do it with only 1G of RAM.

[-] LiveLM@lemmy.zip 3 points 2 years ago

Sweet color scheme, what's the name?

[-] Xanza@lemm.ee 3 points 2 years ago

Application is bashtop. Terminal theme is gruvbox.

[-] kionite231@lemmy.ca 2 points 2 years ago

I think it's Gruvbox but I could be wrong

[-] BlueBockser@programming.dev 1 points 2 years ago* (last edited 2 years ago)

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@programming.dev 6 points 2 years ago* (last edited 2 years 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.

[-] Opeth@lemm.ee 3 points 2 years ago

Yeah. Why have RAM when you're not gonna use it? The JVM is pretty efficient

[-] MITM0@lemmy.world 1 points 2 years ago

I suggest Fossil as an alternative to Forgejo. Reminder it's an alternative to git itself (If you wish to use it)

[-] Xanza@lemm.ee 2 points 2 years ago

Made by D. Richard Hipp? I do love SQLite....

[-] MITM0@lemmy.world 1 points 2 years ago

Yes that one, comes with built-in ticketting, wiki, bug-tracker & webserver & web-UI

this post was submitted on 02 Mar 2025
408 points (97.4% liked)

Selfhosted

61877 readers
374 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS