How to increase Xmx for OutOfMemoryError in MacPro

Questions about YourKit Java Profiler
Post Reply
lqjliu
Posts: 2
Joined: Thu Jan 28, 2016 6:51 am

How to increase Xmx for OutOfMemoryError in MacPro

Post by lqjliu »

I came up with OutOfMemoryError while opening a big .hproc file, following here https://www.yourkit.com/docs/kb/open_huge_snapshot.jsp, I tried to increase Xmx for the heap size for yourkit, the guide mentioned there need update it as below:
Mac OS X: <Profiler Installation Directory>/Contents/Info.plist

but my yourkit is just downloaded from https://www.yourkit.com/download/yjp-20 ... 86-mac.zip, and unzip it, there is only an application named YourKit_Java_Profiler_2015_build_15086 in it, I didn't find any Contents, how shall I do?


manually created <Profiler Installation Directory>/Contents/Info.plist? if yes, can you give a sample of Info.plist?
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: How to increase Xmx for OutOfMemoryError in MacPro

Post by Anton Katilin »

Right click the application directory in Finder and use "Show Package Contents".
lqjliu
Posts: 2
Joined: Thu Jan 28, 2016 6:51 am

Re: How to increase Xmx for OutOfMemoryError in MacPro

Post by lqjliu »

Thanks a lot!
Post Reply