Rich Client - Increasing Heap Size to Improve Performance

Sort:
You are not authorized to post a reply.
Author
Messages
Darryl
New Member
Posts: 3
New Member

    Our users are experiencing very slow APIA performance in Lawson v10 on-prem Rich Client (RC version 10.1.1.78). User desktops have 16GB RAM. In local "richclient.lawspec" files, we changed "jreArgs" argument from "-Xmx636m" to "-Xmx1024m" to bump max heap size to 1GB. THIS RESULTED IN NOTICEABLE PERFORMANCE IMPROVEMENT for Rich Client APIA users. We understand the heap size can be increased further, up to 4GB. However, when we increase -Xmx above 1024 (ex: to 2048 or 4096), RICH CLIENT FAILS TO LAUNCH. Does anyone know what might be causing this? A Java setting perhaps? Something other than RAM seems to be over-riding or restricting the -Xmx setting when it's over 1GB. Any ideas or suggestions would be welcome. Thanks.

    John Henley
    Senior Member
    Posts: 3348
    Senior Member
      Can you post a screenshot of your command line arguments and the error, please?
      Thanks for using the LawsonGuru.com forums!
      John
      Darryl
      New Member
      Posts: 3
      New Member

        Thanks, John. The command we're using is:

        "C:\Program Files (x86)\Java\jre1.8.0_241\bin\javaw.exe" -jar "lawlaunch.jar" -quick -2 -launch "prod2\richclient.lawspec"

        No error (that I can find) is generated.The Rich Client simply doesn't launch. Nothing happens at all. No user-facing errors, and I see no errors in the Event Viewer.

        So, the above command successfully launches Rich Client if -Xmx is at 636 (default) or 1024. But if  -Xmx is at 2048 or 4096, Rich Client does not launch.

        I keep being told that -Xmx should be able to be increased to 4096. Since Rich Client has better performance for us with -Xmx at 1024 than it does at 636, we wanted to increase -Xmx higher than 1024, but something is happening to prevent the program from launching with a heap size greater than 1024 and we're trying to figure out exactly what is restricting the higher -Xmx setting.

        Thanks.

         

         

         

        John Henley
        Senior Member
        Posts: 3348
        Senior Member
          Darryl, Rich client is using 32-bit JRE, and I think max is 1GB. You can try going up in small increments, like 1100m or 1200m but I don't think you can get much beyond that.
          Thanks for using the LawsonGuru.com forums!
          John
          LarryD
          Basic Member
          Posts: 7
          Basic Member

            Have you tried installing the 64-bit version of Rich Client?

            Darryl
            New Member
            Posts: 3
            New Member

              Thanks. We have not but Infor has confirmed it's the 32-bit that's restricting. Appreciate your replies!

               

              You are not authorized to post a reply.