DX Application Performance Management

Expand all | Collapse all

Introscope workstation lax.nl.current.vm to different jre

  • 1.  Introscope workstation lax.nl.current.vm to different jre

    Posted Apr 18, 2018 04:29 PM

    @musma03

    I currently have v10.5.2.52 wkst installed on my laptop. I am trying to change the .lax file as you mentioned...

     

    # LAX.NL.CURRENT.VM
    # -----------------
    # the VM to use for the next launch

    lax.nl.current.vm=jre\\bin\\java.exe

     

    I want to change the path to...

    lax.nl.current.vm=C:\\Program Files (x86)\\Java\\jre1.8.0_171\\bin\\java.exe

     

    what's the proper syntax?



  • 2.  Re: Introscope workstation lax.nl.current.vm to different jre

    Broadcom Employee
    Posted Apr 18, 2018 07:43 PM


  • 3.  Re: Introscope workstation lax.nl.current.vm to different jre

    Broadcom Employee
    Posted Apr 18, 2018 07:45 PM

    Spaces in the path are usually the problem. Use 8.3 format when possible.

    So ‘Program Files' (which is the x64 directory) becomes ‘Progra~1'.



  • 4.  Re: Introscope workstation lax.nl.current.vm to different jre
    Best Answer

    Broadcom Employee
    Posted Apr 18, 2018 07:49 PM

    Hi Manish,

    Yes that syntax is valid and the spaces will also be handled seamlessly:

    lax.nl.current.vm=C:\\Program Files (x86)\\Java\\jre1.8.0_171\\bin\\java.exe

     

    Also this syntax is valid:

    lax.nl.current.vm=C:/Program Files (x86)/Java/jre1.8.0_171/bin/java.exe

     

    Regards,

     

    Lynn



  • 5.  Re: Introscope workstation lax.nl.current.vm to different jre

    Broadcom Employee
    Posted Apr 18, 2018 07:51 PM

    I thought the spaces might be a problem but when I tested my 10.5.2.52 workstation they were not



  • 6.  Re: Introscope workstation lax.nl.current.vm to different jre

    Posted Apr 18, 2018 11:42 PM

    Lynn_Williams

    It worked with your suggestion. But when I increase the memory to 2GB, the wkst doesn't work at all. Should I be changing the min/max under window's java properties?

     

    lax.nl.java.option.additional=-Xms2048m -Xmx2048m -Dsun.java2d.noddraw=true



  • 7.  Re: Introscope workstation lax.nl.current.vm to different jre

    Broadcom Employee
    Posted Apr 18, 2018 11:47 PM

    Hi Manish,

    You are using x86/32-bit java (C:\\Program Files (x86)) which only has a ~1400 MB practical limit on Windows although on *nix the limit is ~ 2GB.

    If the Windows OS is 64-bit you will need to install 64-bit java.

    If the Windows OS is only 32-bit you will have to bring down the max heap value to ~ 1400M or keep going down by increments if it still fails to start

     

    Hope that helps

     

    Regards,

     

    Lynn

     



  • 8.  Re: Introscope workstation lax.nl.current.vm to different jre

    Posted Apr 18, 2018 11:50 PM

    My OS is 64-bit so I will download a 64-bit java and try again.



  • 9.  Re: Introscope workstation lax.nl.current.vm to different jre

    Posted Apr 19, 2018 12:05 AM

    So, downloading 64-bit java worked well. What's the suggested min/max w/ 64-bit java.



  • 10.  Re: Introscope workstation lax.nl.current.vm to different jre

    Broadcom Employee
    Posted Apr 19, 2018 12:50 PM

    Its limit is the amount of RAM you have minus 2 GB for the OS.

     

    So for workstation thick client, I would recommend 2 to 4 GB.  Make Xms and Xmx equal to each other.

     

    If you're going to be dealing heavily with dashboards and the like, I would put it more towards the 4 GB.  If you're expecting 50 or so users connecting at the same time, I would up it to 6GB. 

     

    CA APM Sizing Recommendations - CA Application Performance Management - 10.7 - CA Technologies Documentation 



  • 11.  Re: Introscope workstation lax.nl.current.vm to different jre

    Posted Apr 19, 2018 05:00 PM

    musma03

    Thanks for the tip. I am starting with min/max both to be 2GB for now. Will see if I need to increase that in the future.I am the only one that works on dashboards so I know now to increase the heap size if I see perf issue for the thick client.

     

    Thanks everyone for your help.



  • 12.  Re: Introscope workstation lax.nl.current.vm to different jre

    Broadcom Employee
    Posted Apr 19, 2018 02:50 PM

    Incase if you want to uninstall it, I believe , you may need to restore the default JVM and then uninstall.