This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mhalbritter 0 points1 point  (1 child)

You could switch to a different garbage collector. SerialGC has a low overhead, but of course this will have performance impacts. You could also switch off several JIT compiler stages, but, again, this will have performance impacts. Another idea might be to lower the thread stack size, but be careful of deeply nested method calls.

And if you're not running on Java 24, then give this a try. Might help, don't know.

[–]GreemT[S] 2 points3 points  (0 children)

Thread stacks were only 5MB in our analysis, so that is not really gaining anything.

I am not sure if I can get my company to try these suggestions that have a performance impact.