Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have a java application on linux that has extensive caching. My server has about 8GB of memory installed, but I've been told there is a linux limitation to only use about 2GB. If this is true, is there any way to increase this to use the full 8GB?
2.4.20-8smp #1 SMP Thu Mar 13 17:45:54 EST 2003 i686 i686 i386 GNU/Linux
More ofa 4GB limit, I think, but its more of a 32 bit problem than a Linux problem. According to the messages traded back and forth on the Linux Kernel Archive it seems that you can use that memory. Does your machine have more than 1 processor?
You hit the nail on the head. And, yes there are big memory kernels that take advantage of larger RAM sizes. The 4GB limit is per process, so if your apps is moltithreaded, you should be able to access the memory.
The kernels being referred to have the BigMem option turned on. In the config, you find that here:
Processor type and features --->High Memory Support (on) --->(X)4GB ##or (X)64GB)
If the option is checkedat compile time, you've got big memory support. If not (like on my workstation with 384mb), its compiled without. The kernel runs faster without the big memory support turned on on machines with less RAM but you cannot use all your RAM with that kernel if you go above that amount (~800mb),(4GB),(64GB). I think that the option can actually be extended to a few TB, but you have to have a multi processor machine in order to be able to handle that many big processes.
If I've misunderstood the concept, will someone please correct me.
Originally posted by MasterC On a related note, AFAIK Sun has not yet released a JRE/JDK/JVM to run on 64bit. Feel free to prove me wrong, this was something I seem to remember reading about a week ago.
I think that Sun can prove you wrong (that's hard to do - I have read a lot of your posts). Check out This page about the new j2se5.0 (yeah, what happened to 1.5???). You'll see that 64 bit IS supported, as long as you're using Linux and AMD...