TripleA 2026 with Java 25 & TripleA.vmoptions settings
-
With the newly versioned TripleA 2026, it was 2.7 it now comes with Java 25.
I have been messing with the TripleA.vmoptions file located by Windows default here
C:\Program Files\TripleAOnly do the following if you have 8GB+ RAM
I have changed its setting to the following;
-Xmx4g
-Xms4g
-Xss2m
-XX:+AlwaysPreTouch
-XX:+UnlockExperimentalVMOptions
-XX:+UseCompactObjectHeadersThe top 4 lines are, how memory is used.
If you run out of memory change both 4g to 3g.
TripleA 2026 runs faster than 2.7, but does it run even faster with the above settings?
-
@TheDog You might get more bang for your buck by deleting the 'Xmx' and 'Xms' memory settings.
The lobby window will occupy 4GB and then any game you launch will occupy another 4GB. Each game is its own instance, the memory settings AFAIK carry over.
Generally Java uses very good defaults, so overriding those defaults can hurt. Specifically 'Xms', which is a minimum, so you're forcing the lobby window and any game to initially take more memory than it would need.
I would personally set 'Xms' at 500m or remove entirely to let the JVM handle it.
If we find some really good tunings, we can adopt those settings to be more built in.
FWIW, Moon-Man was doing some experimentation with JVM settings here: https://github.com/triplea-game/triplea/discussions/14467
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login