Syntactic Confectionery Delight | |
PerlMonks |
Re^4: Map a string to an arrayby BrowserUk (Patriarch) |
on Nov 02, 2013 at 10:23 UTC ( [id://1060920]=note: print w/replies, xml ) | Need Help?? |
(And BTW, congratulations on being able to work with a system having at least 128 Terabytes of system RAM — or do I misinterpret the reference address of 0x7ffafc013bf8?) With virtual memory, heap does not have to be contiguous. This C program allocates a single page of memory starting at the 4GB base address and then doubles the base address each time until it fails:
I only have 8GB of ram, but the last time the above succeeds:
It allocated a page at a base address that is 4096 GB. At that point the process is only using 668k of memory. 4096GB is 2^42 which reflects that my 64-bit processor actually only has a 44-bit virtual address space. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|