Implementing file reading in C/Python

Sion Arrowsmith siona at chiark.greenend.org.uk
Mon Jan 12 07:52:32 EST 2009


In case the cancel didn't get through:

Sion Arrowsmith  <siona at chiark.greenend.org.uk> wrote:
>Grant Edwards  <invalid at invalid> wrote:
>>2GB should easily fit within the process's virtual memory
>>space.
>Assuming you're in a 64bit world. Me, I've only got 2GB of address
>space available to play in -- mmap'ing all of it out of the question.

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.

-- 
\S -- siona at chiark.greenend.org.uk -- http://www.chaos.org.uk/~sion/
   "Frankly I have no feelings towards penguins one way or the other"
        -- Arthur C. Clarke
   her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump



More information about the Python-list mailing list