[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Process not given >890MB on a 4MB machine ?????????



>	Unfortunately my program which is doing "alot" of calculations still
>needs more space,
>
>	Is there some way to enable 64 bit support (or something) and get
>the swap space active,
>	and give it another GB or so ?

Nope, I doubt it.  The x86 architecture is fundamentally 32-bit, and 
thus can't address more than 4Gb for a single process - 1Gb of that 
address space is reserved for the kernel.  You can confirm this by 
looking at the result of sizeof(void*).

You will either need to use a true 64-bit machine (POWER, Alpha, 
UltraSPARC or MIPS) or rewrite your program to use large files 
instead of large amounts of memory.  I suspect the latter would be 
less costly.

-- 
--------------------------------------------------------------
from:     Jonathan "Chromatix" Morton
mail:     chromi@cyberspace.org  (not for attachments)
website:  http://www.chromatix.uklinux.net/vnc/
geekcode: GCS$/E dpu(!) s:- a20 C+++ UL++ P L+++ E W+ N- o? K? w--- O-- M++$
           V? PS PE- Y+ PGP++ t- 5- X- R !tv b++ DI+++ D G e+ h+ r++ y+(*)
tagline:  The key to knowledge is not to rely on people to teach you it.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/