I did some tests today with compressed references ( ) to see if they
can help with the memory issues. The basic idea is that if you're using
less than 4 GB of heap space, you don't really need 64 bit pointers (i.e.
references) and you can keep them to 32 bits instead. Similarly, some VMs
support 35 or 36 bit references for 32/64 GB of heap space respectively.
I haven't tested extensively, but I do see some consistent improvements. I
added -Xcompressedrefs to the command line arguments. Here are the type of
results I'm seeing (one GMail account only, OS X 10.9):
Start Jitsi, don't do anything:
~280 MB with compressed references
~330 MB with normal references
Start Jitsi, hover over about 15 account to load additional info (avatars,
~340 MB with compressed refs
~500 MB with normal references
Also, if we can figure out some upper bound on the size of the working set,
we can obviously use -XmxWhatever to limit the heap usage. As far as I
understand, if this limit is less than 4 GB, this option automatically
enables compressed references as well.
It would be great if someone can confirm (or refute) these numbers on other
On Thu, Jan 23, 2014 at 6:59 PM, A L <firstname.lastname@example.org> wrote:
Java always is greedy, which means that if you have much RAM -
especially available RAM, it will consume much of it. It doesn't mean it
is a problem though. All OSes and computers since a few years back were
shipped as 64bit. No need to avoid supporting it. Users with older
systems would choose the 32bit version anyway, no?
I guess it would be possible to change memory usage with some
restrictive vmoptions. I don't know how that applies to Jitsi, since it
is a precompiled binary.
On 2014-01-23 13:03, Andrea Libralato wrote:
> 2014/1/23 Danny van Heumen <email@example.com>:
>> Hi, just checked:
>> Win7 64 bits here.Commit: 134 MB, Private: 123 MB.
>> Currently using only 1 XMPP account. (I currently don't use webcam or
>> microphone or anything like that though. So, a pretty modest usage
>> It has been running at least overnight.
> I've also noticed an important value of memory used by Jitsi nightly
> x64 2.3.x, about 800MB on a Win7 x64 with 8GB RAM and I've checked on
> several other PC Win7 x86/x64 with 4GB RAM that the value is a bit
> less (~500MB), but, IMHO, always too much.
> Is there a way to reduce the amount of RAM used? Can it depend from
> total RAM quantity installed?
> At the moment I'm using it with only one SIP account configured.
> users mailing list
> Unsubscribe instructions and other list options:
users mailing list
Unsubscribe instructions and other list options: