This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Issue with Performance Adviser pa command

Hi,

I'm trying to analyze performance of Android application using Arm Performance Adviser tool. I have a capture file generated from Streamline, then in terminal navigating to directory where package extracted  and run 'pa capture.apc' command but have an error:

" Improperly specified VM option 'MaxRAMPercentage=75.0'

Pa:

Failed to create the Java Virtual Machine. "

Also I have the same error for pa --help command. 

Could you please advise how to resolve this issue.

Thanks,

Dmitry

Parents
  • Hi Dmitry, 

    Which version of Mobile Studio do you have installed, and on which host OS?

    The workaround is to edit the pa.ini in the Performance Advisor install directory, and replace the "-XX:MaxRAMPercentage=75.0" with e.g. "-Xmx8g" replacing "8g" with something just under the max RAM on your system (8g = 8GB).

    HTH, 
    Pete

Reply
  • Hi Dmitry, 

    Which version of Mobile Studio do you have installed, and on which host OS?

    The workaround is to edit the pa.ini in the Performance Advisor install directory, and replace the "-XX:MaxRAMPercentage=75.0" with e.g. "-Xmx8g" replacing "8g" with something just under the max RAM on your system (8g = 8GB).

    HTH, 
    Pete

Children