32- or 64-bit

Alexander Smirnov alexander.v.smirnov at gmail.com
Mon Aug 9 07:08:34 BST 2010


Michael Hirsch wrote:
>
>> Currently my computer has 4Gb and 64bit KK installed. Since i frequently
>> execute java-based applications, like Eclipse, Ant, ExecuteQuery, I feel
>> that it is choking. Probably because these applications consume too much
>> memory. Earlier, i had 32-bit kubuntu on this computer. I didn't notice
>> difference when moved to 64-bit .
>>      
> ...
> The solution is to make your IDE run with the option
> "-XX:+UseCompressedOops" in its JVM.  This makes java so some magic so
> that it compresses its pointers so they are 32 bit, but can still
> access 32GB of ram.  After doing that my program was a lot smaller.
>
> I'm not sure how to do that in eclipse.  I use Intellij IDEA and there
> is a file idea.vmoptions that I put it in.  I'm sure eclipse has
> something similar.
>
> But in general, if you don't have more than 4 GB of RAM, I don't think
> there is any real advantage to going 64 bit--stick with 32.Hello Michael,
>    
Hello Michael,

thanks for the solution. Eclipse has similar file with java options, 
it's  /usr/lib/eclipse/eclipse.ini
Will watch for Eclipse's behavior after adding the option.

Thank you,
-Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/kubuntu-users/attachments/20100809/44c7d1f4/attachment.htm 


More information about the kubuntu-users mailing list