News for hackers. Stuff that matters.
Re:Strings Just Got Faster by gf000 on Saturday May 03, 2025 @06:01AM (#43877983)
It's a configurable property, and Java has a bunch of GCs to begin with.

Also, not using as much memory in these types of GCs is a direct hit to performance. And this actually shows splendidly on GC-heavy applications/benchmarks.

Re:Strings Just Got Faster by concerndc1tizen on Saturday May 03, 2025 @06:22AM (#43878061)
I tried and gave up on getting Keycloak to use less memory. 500-1500 MB for a server with less than 10 concurrent users is ridiculous. And that's even using an external database.
Re:Strings Just Got Faster by gf000 on Saturday May 03, 2025 @07:28AM (#43878357)
What did you try? As a last attempt you can just check visualvm to see the actual memory use, add a few percent headroom and set that as heap size.
Re:Strings Just Got Faster by neuroelectron on Saturday May 03, 2025 @03:03PM (#43881293)
We were paying a million a month for a custom high performance GC for a little bit but we were able to get off that with a lot of development effort and get our five 9's latency under control.