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

    Java, faster TripleA on Windows 10

    Scheduled Pinned Locked Moved Player Help
    6 Posts 2 Posters 1.2k 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

      I have recently put -Xmx3072m as a Java runtime parameter.

      Now my PC appears to run TripleA faster by using more CPU, like 90%+ when it needs to and using more memory when it needs to.

      Prior to this change CPU usage would hardly go above 60% and I would have loads of RAM spare

      Does anyone one else see an improvement, if they do the following?

      Suggest you have 8GB+ RAM
      To make the change;
      Click Start
      Scroll to the Java Folder, Click Java Folder
      Click Configure Java
      Click Java Tab
      Click View button
      Double click Runtime Parameters field (just below the words Runtime Parameters)
      in the field enter -Xmx3072m
      Click OK
      Click Apply
      Click OK
      Enjoy!

      0f18da9b-28f5-4674-a679-8e3a2bf17df5-image.png

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

      C 1 Reply Last reply Reply Quote 0
      • C Offline
        Cernel Moderators Lobby Moderators @TheDog
        last edited by

        @thedog Interesting, as I also had such feelings. By the way, are you aware there is the "TripleA.vmoptions" file for this?

        TheDogT 1 Reply Last reply Reply Quote 1
        • TheDogT Offline
          TheDog @Cernel
          last edited by

          No, interesting, thanks!

          The TripleA.vmoption is just for TripleA, so thats better, my change affects all Java apps, so not as good.

          I have been working on our new "The Shogun" map with @Ebbe. It is a big map 11008 x 6140px and its been running noticeably slower than other maps.

          But with no testing or bench marking the above change appears faster.

          @cernel
          What changes have you made to make TripleA run faster?

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

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            Cernel Moderators Lobby Moderators @TheDog
            last edited by

            @thedog Not really anything else of note. I've both RAM settings at 4G.

            This issue may be of interest to you:
            https://github.com/triplea-game/triplea/issues/9654


            For your information, your previous issues were likely due to that file I pointed out to you, which was forcibly keeping the RAM under 2G (despite the map clearly needing more). You may want to try both removing the file and erasing the runtime parameters setting you defined, thereby letting the system allocate RAM freely to the process, see how it compares to what you experienced so far.

            TheDogT 1 Reply Last reply Reply Quote 1
            • TheDogT Offline
              TheDog @Cernel
              last edited by TheDog

              @cernel
              Thank you, very helpful !

              I shall change my TripleA.vmoptions to your suggestion of;
              -Xmx3072M
              -Xms3072M

              For the new The Shogun map we dont even have the relief tiles yet and we having speed problems so might go to your current 4096M settings.

              Thanks again, as testing has got faster 🙂

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

              TheDogT 1 Reply Last reply Reply Quote 0
              • TheDogT Offline
                TheDog @TheDog
                last edited by

                @Cernel
                I can confirm your fix is working well, with our new The Shogun map, my cpu reaches 100% and its using up to 3GB when it needs to. In short it is running well.
                Thanks again.

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

                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
                Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums