[Logo] Jaikoz and SongKong Forums
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Songkong memory tuning in OSX  XML
Forum Index -> SongKong Questions
Author Message
dbaps

Pro

Joined: 24/07/2012 17:16:07
Messages: 39
Offline

I still code the info.plist value:

<string>-Xmx2000m</string>

I usually set it at 8000.

This is what shows up in activity monitor:

Real Memory - 3.5GB
Virtual Memory Size - 13GB
Shared Memory - 28MB
Private Memory - 3.25GB

That's about 20GB on a 32GB Mac, OSX 10.9 Mountaineer

I remember one time you told me it doesn't make as big a difference manually adjusting the memory in OSX like it does in Windows.

I don't know a lot about memory allocation on a Mac. I have received warnings that my Startup disc was full due to the Virtual Memory allocation. I'm guessing it must be like a pagefile in Windows? So having an SSD for a startup OSX disc does make a difference with Songkong when storing the input file there.That I know from personal experience.

Do you think implementing a percentage heap file value in OSX, similar to what was done in Windows would be helpful? Also would increasing the real memory and/or private memory improve performance and reduce the virtual memory size requirement? If it's like a RAMDISK put into memory, probably would not make a difference, I'm guessing. if it's paging to disk then it would probably help?

Finally with Java 8, are there any new tuning parameters coming that may help Songkong performance?

Apologize for all of the questions but they are somewhat related

As always, thank you for all of your hard work.

Paul
paultaylor

Pro
[Avatar]

Joined: 21/08/2006 09:21:27
Messages: 7347
Offline

If you remove the memory settings from the Info.plist file SongKong should automatically use upto a percentage (25%) of computer memory, give it a go to confirm.

Since I talked to you I did find two areas where memory consumption does increase with the amount of songs being fixed, the first issue was fixed in SongKong 1.18 http://jthink.net:8081/browse/SONGKONG-509. The second issue is to with creation of final report and Im workig on that now http://jthink.net:8081/browse/SONGKONG-503

So Im not an expert on memory but would recommend gong back to the defaults for now and seeing what that gives you.

thanks Paul (Administrator)
 
Forum Index -> SongKong Questions
Go to:   
Powered by JForum 2.1.6 © JForum Team