"The JavaVM ran out of memory, please report to BeaTunes."

beatunes's Avatar


18 Jan, 2011 05:32 PM


Analyzing a large (500+Gb) library. Or trying to.


  1. 1 Posted by beatunes on 18 Jan, 2011 05:33 PM

    beatunes's Avatar

    Oops, I mean 370Gb library. Early. Must drink coffee.

  2. Support Staff 2 Posted by hendrik on 18 Jan, 2011 05:41 PM

    hendrik's Avatar

    The size actually doesn't matter, as beaTunes never loads all those songs into memory.


    How many songs?
    What is Preferences - Analysis - Parallel Tasks set to?

    You might want to reduce it, if the error happens again.



  3. 3 Posted by beatunes on 18 Jan, 2011 06:37 PM

    beatunes's Avatar

    Library has 24,135 tracks.

    OS 10.6.6, BeaTunes 2.1.16.

    I was running on 6 of 8 cores, but BeaTunes was the only active user process when it hung.


  4. 4 Posted by beatunes on 18 Jan, 2011 06:58 PM

    beatunes's Avatar

    "Fatal error: the Java VM ran out of memory. Please contact BeaTunes support and mention this message."

    That was after a system reboot and restarting the program to finish analysis. Going to try dropping to 4 cores and see if it can complete library analysis.

  5. Support Staff 5 Posted by hendrik on 18 Jan, 2011 08:55 PM

    hendrik's Avatar

    If that does not work, we'll need to increase the heap size...

  6. 6 Posted by beatunes on 18 Jan, 2011 09:42 PM

    beatunes's Avatar

    It hung again, with 4 cores running, without a dialog. But after restarting the app, it now seems to be finishing up without complaining. There are some very large "tracks" in my library - aiff's of radio content - it may have been hitting the wall with those tracks, as they seemed to be in and around the current que when the memory errors started happening. Cheers.

  7. Support Staff 7 Posted by hendrik on 18 Jan, 2011 09:44 PM

    hendrik's Avatar

    Ooh- that's a good hint.. Which analysis tasks do you have enabled? Detect Silence?


  8. 8 Posted by beatunes on 18 Jan, 2011 09:47 PM

    beatunes's Avatar

    Just about everything except detect silence. I'm doing a full cleanup of the library in anticipation of making a backup copy.

  9. Support Staff 9 Posted by hendrik on 18 Jan, 2011 09:49 PM

    hendrik's Avatar

    Well, it's a good idea to keep Detect Silence turned off, when running into memory issues.

  10. Support Staff 10 Posted by hendrik on 21 Jan, 2011 01:42 PM

    hendrik's Avatar

    Did it work better with just 4 parallel tasks?


  11. 11 Posted by beatunes on 21 Jan, 2011 09:53 PM

    beatunes's Avatar

    By the time I had set it to 4 tasks, I had just under 1000 tracks left to analyze and I didn't have any problems. I am going to try to turn it loose on the entire library again later tonight and re-analyze everything to see what happens. I'll let you know if it hangs again. Cheers.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? 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