PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 3/2/2023 6:08 PM by  Darryl
Rich Client - Increasing Heap Size to Improve Performance
 5 Replies
 1 Subscribed to this topic
 59 Subscribed to this forum
Sort:
You are not authorized to post a reply.
Author Messages
Darryl
Lead Systems Analyst
Private
New Member
(7 points)
New Member
Posts:3


Send Message:

--
2/7/2023 9:38 PM

    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
    Private
    Private
    Senior Member
    (9965 points)
    Senior Member
    Posts:3339


    Send Message:

    --
    2/8/2023 1:27 PM
    Can you post a screenshot of your command line arguments and the error, please?
    Thanks for using the LawsonGuru.com forums!
    John
    Darryl
    Lead Systems Analyst
    Private
    New Member
    (7 points)
    New Member
    Posts:3


    Send Message:

    --
    2/8/2023 4:58 PM

    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
    Private
    Private
    Senior Member
    (9965 points)
    Senior Member
    Posts:3339


    Send Message:

    --
    2/9/2023 7:56 PM
    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
    APPLICATIONS DEVELOPER
    Private
    Basic Member
    (21 points)
    Basic Member
    Posts:7


    Send Message:

    --
    3/2/2023 5:37 PM

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

    Darryl
    Lead Systems Analyst
    Private
    New Member
    (7 points)
    New Member
    Posts:3


    Send Message:

    --
    3/2/2023 6:08 PM

    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.