android-methods-profiler
android-methods-profiler copied to clipboard
java heap size
I am trying to open a large trace file (~500MB) and am getting this error. how can increase the heap size?
Hello! You can try to edit YAMP.cfg and change java-options arguments
- Open Applications folder in Finder
- Select
Show Package Contentsin context menu after clicking on YAMP - Edit
Contents/app/YAMP.cfg: changejava-options=-Djpackage.app-version=23.01.17tojava-options=-DXms4096M -Djpackage.app-version=23.01.17or another value.
I hope this helps!
@Grigory-Rylov Still getting the same error :(
java -jar -Xms4096M -Xmx6144M android-methods-profiler-23.01.17.0.jar
worked
Could you please try to add to Contents/Info.plist this lines ?
<key>JVMOptions</key>
<array>
<string>-Xmx6144M</string>
<string>-Xms4096M</string>
</array>
and launch YALI from Applications.
Unfortunately I have no large .trace file to test it.
After modifying the Info.plist, files stopped appearing in the file browser