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
  • We've tested here on macOS BigSur 11.2.3, and it works for us here, so our best guess is that you have a local Java install which is overriding the packaged Java we ship, although we're not sure why. 

    To find the ini file on macOS, right click on Performance Advisor.app > Show Package Contents and then go to the Eclipse folder to see the .ini file.

    Alternatively you can run PA with the -vm command line pointing to the packaged JDK.

Reply
  • We've tested here on macOS BigSur 11.2.3, and it works for us here, so our best guess is that you have a local Java install which is overriding the packaged Java we ship, although we're not sure why. 

    To find the ini file on macOS, right click on Performance Advisor.app > Show Package Contents and then go to the Eclipse folder to see the .ini file.

    Alternatively you can run PA with the -vm command line pointing to the packaged JDK.

Children