TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    TripleA 2026 with Java 25 & TripleA.vmoptions settings

    Scheduled Pinned Locked Moved Map Making
    2 Posts 2 Posters 25 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TheDogT Offline
      TheDog
      last edited by

      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\TripleA

      Only do the following if you have 8GB+ RAM
      I have changed its setting to the following;
      -Xmx4g
      -Xms4g
      -Xss2m
      -XX:+AlwaysPreTouch
      -XX:+UnlockExperimentalVMOptions
      -XX:+UseCompactObjectHeaders

      The 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?

      https://forums.triplea-game.org/tags/thedog
      https://forums.triplea-game.org/topic/3741/curated-best-top-maps-triplea-guides

      LaFayetteL 1 Reply Last reply Reply Quote 2
      • LaFayetteL Offline
        LaFayette Admin @TheDog
        last edited by

        @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

        1 Reply Last reply Reply Quote 0

        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
        • 1 / 1
        • First post
          Last post
        Powered by NodeBB Forums