[NumPy-Tickets] [NumPy] #2080: Issue with memory mapping large files

NumPy Trac numpy-tickets@scipy....
Tue Mar 13 15:46:13 CDT 2012


#2080: Issue with memory mapping large files
------------------------+---------------------------------------------------
 Reporter:  for_usenet  |       Owner:  somebody   
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  Unscheduled
Component:  numpy.core  |     Version:  1.6.1      
 Keywords:  mmap        |  
------------------------+---------------------------------------------------

Comment(by charris):

 Curious. I can memmap a 12 GB file:


 {{{
 In [5]: f = np.memmap ('testfile', mode = 'r', dtype = np.int16)

 In [6]: f.shape
 Out[6]: (6144000000,)
 }}}

 Just to make sure you are running 64 bit python, what does


 {{{
 charris@f16 ~$ file `which python`
 /usr/bin/python: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
 dynamically linked (uses shared libs), for GNU/Linux 2.6.32, stripped

 }}}

 show?

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/2080#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list