can a 32 bit process use more than 2GB?

m.roth at 5-cent.us m.roth at 5-cent.us
Wed Mar 17 14:23:29 UTC 2010


> Hi again I have found this article in the red hat kbase:
>
> http://kbase.redhat.com/faq/docs/DOC-6571
>
> My particular case is this:
>
> CPU             Kernel              Application     Virtual Address Size
>
> 64 bit          64 bit              32 bit          4GB
>
> So, I can use up to 4GB.
>
> My question now is, what happens if a process needs more memory. For
> example, I use vim to analize the log files of my application server.
> I have files larger than 4G, (almost 5GB). What does the kernel do in
> this case? swap?

What you should be doing is rotating your logs. I've *never* had a log
file that huge, except where something ran away.

       mark




More information about the redhat-list mailing list