beatunes memory usage

Philippe Levy's Avatar

Philippe Levy

13 Aug, 2010 07:49 AM

Is it normal for beatunes to take up almost 90mb of ram? That's 2x more than any other process. Itunes takes 25. I have 338 tracks in my library.

Sadly, my windows 7 system, sony TZ ultraportable, only has 1gb of ram. Getting that bumped up to 2gig in a few days (which is max). I've totally optimized win7 to run as light as possible, lots of adjustments, no aero, indexing etc. Hence, I've been particularly watchful of memory use. Some of your users have 12gb of ram and could care less, but even with 2gb I have to be careful. 90mb is pretty heavy. Does that just come with the territory for java based progs?

I admire your work, but that surprised me a bit.

.:pl

  1. Support Staff 1 Posted by hendrik on 13 Aug, 2010 08:02 AM

    hendrik's Avatar

    Hey Phillippe,

    yeah - that is actually 'normal'. The software was written with real desktops in mind and makes ample use of the memory that is usually available. Also, just starting up a Java Virtual Machine actually takes a bunch of memory.

    You can tweak the amount of memory that is used by editing the two files beaTunes2.l4j.ini and beaTunes2.l4j.ini.template.

    In both files you will find lines like this:

    -Xms${vm.memory.heap.min} -Xmx${vm.memory.heap.max} -XX:MaxPermSize=${vm.memory.perm.max} -XX:MaxDirectMemorySize=${vm.memory.direct.max}

    Xms is the initial heapsize, Xmx is the max heap size. To start up with little memory usage, you could try:

    -Xms32m

    And then to limit overall memory usage with:

    -Xmx128m

    You need to change this in both files and save them before restarting beaTunes.
    Doing so might lead to OutOfMemoryErrors though.

    -hendrik

  2. 2 Posted by Philippe Levy on 13 Aug, 2010 08:05 AM

    Philippe Levy's Avatar

    Thanks Henrik.

    .:pl

  3. hendrik closed this discussion on 13 Aug, 2010 08:23 PM.

Comments are currently closed for this discussion. You can start a new one.

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