Implementing file reading in C/Python
Grant Edwards
grante at visi.com
Mon Jan 12 23:55:41 EST 2009
On 2009-01-13, Steve Holden <steve at holdenweb.com> wrote:
> sturlamolden wrote:
>> On Jan 12, 1:52 pm, Sion Arrowsmith <si... at chiark.greenend.org.uk>
>> wrote:
>>
>>> And today's moral is: try it before posting. Yeah, I can map a 2GB
>>> file no problem, complete with associated 2GB+ allocated VM. The
>>> addressing is clearly not working how I was expecting it too.
>>
>> The virtual memory space of a 32 bit process is 4 GB.
>>
> I believe, though, that in some environments 2GB of that is mapped onto
> the operating system, to allow system calls to access OS memory
> structures without any VM remapping being required
IIRC, in Linux the default for the past several years has been
3GB user, 1GB kernel. But, there are kernel configuration
options to enable different configurations.
> getting-sicker-of-vista-by-the-minute-ly yr's - steve
Haven't had to touch Vista yet -- I'm annoyed enough by XP.
--
Grant
More information about the Python-list
mailing list