Maximun Memory you can assign
I have beaTunes 3.03 in a mac pro 12 cores with 48-64 GB ram, running OSX 10.7 Lion, How much memory i can assign and whats good for?
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by hendrik on 20 Aug, 2011 07:35 AM
Hi,
I guess you found the java vm settings in the
Info.plist
?beaTunes' memory consumption depends on the number of songs in your library and the number of parallel analysis tasks (editable in Preferences -> Analysis).
The way beaTunes is currently coded (I hope I get to change this sooner rather than later), I would add roughly 100MB/parallel analysis task (that allows beaTunes to decode a song and keep the raw audio in memory). Because of garbage collection implications, It may be smart to first increase the MaxDirectMemorySize, not the general heap.
Note, that too much memory will only slow down your system, but not speed up beaTunes. That said, there is hardly a real upper limit to memory, as beaTunes on OS X is a 64 bit process.
Hope this helps,
-hendrik
2 Posted by gfflores on 20 Aug, 2011 05:47 PM
Can you give an advise based in my system ?, I want to give beaTunes with the maximum memory it can takes, but not to a point that harms the process, How much memory do you think is best.
And how do i increase the MaxDirectMemorySize, and how much do you recommend?
And when i increased the value, after i stopped the program, i couldn't restart beaTunes, i had to reinstall beaTunes in order to launch. reinstalling beaTunes leaved the original memory settings and i didn't have any trouble launching again
Support Staff 3 Posted by hendrik on 21 Aug, 2011 07:01 AM
What do you currently have parallel tasks set to (in Preferences -> Analysis)?
(this is important for the MaxDirectMemorySize setting)
And how many songs are in your database?
(this is important for the -Xmx setting)
Thanks,
-hendrik
4 Posted by gfflores on 22 Aug, 2011 05:28 PM
Now i have 12 parallel task, I could not work with 24 parallel task, my library is 169000 songs.
Support Staff 5 Posted by hendrik on 22 Aug, 2011 09:42 PM
OK. So you have a huge collection and a really fast machine. :-)
Contents
Info.plist
in TextEdit<key>VMOptions</key>
-Xms512m -Xmx1g -ea -Xloggc:gc.log -XX:+PrintGCDetails -XX:MaxPermSize=256m -XX:MaxDirectMemorySize=3g
Info.plist.template
in TextEdit<key>VMOptions</key>
-Xms512m -Xmx1g -ea -Xloggc:gc.log -XX:+PrintGCDetails -XX:MaxPermSize=256m -XX:MaxDirectMemorySize=3g
Keep in mind that the settings will be lost which each beaTunes update.
I'm curious to know how well this went.. Please keep me posted.
Thanks,
-hendrik
6 Posted by gfflores on 23 Aug, 2011 02:42 PM
Hendrik,
Still have problems with VM, and the process crashes, I think, I can assign more memory, the program uses only 5GB, there still plenty more memory that can be used, the cpu activity gets an average from 700% 12 parallel task to 1400% 24 parallel task
El 22/08/2011, a las 16:40, hendrik escribió:
>
Support Staff 7 Posted by hendrik on 23 Aug, 2011 03:56 PM
Hi!
What kind if crash do you see?
-hendrik
Am 23.08.2011 um 16:40 schrieb "gfflores" <[email blocked]>:
>
8 Posted by gfflores on 24 Aug, 2011 03:08 PM
Not properly a crash, i send you a screenshot
Support Staff 9 Posted by hendrik on 24 Aug, 2011 08:29 PM
Hi,
please increase the heap size to 2GB by editing that file again.
replace
-Xmx1g
with-Xmx2g
You may increase it more, if you see more OutOfMemoryErrors.
Thanks,
-hendrik
10 Posted by gfflores on 25 Aug, 2011 06:34 PM
I'ii ready did and worked fine,
Thanks
Support Staff 11 Posted by hendrik on 25 Aug, 2011 07:39 PM
Great! :-)