[New-bugs-announce] [issue2733] mmap resize fails on anonymous memory (Windows)

Kathryn M Kowalski report at bugs.python.org
Thu May 1 19:04:17 CEST 2008

New submission from Kathryn M Kowalski <kathy.kowalski at ae.ge.com>:

We have a shared memory module that has been running fine on Windows 
with Active State Python 2.4.3 Build 12.  On machines with 
mmap.resize fails on an existing anonymous shared memory.  The attached 
file is a stripped down version of the code to illustrate the problem.  
Start it running in one window to create the shared memory, then in 
another window run it again to hook into existing shared memory. Result:
Testing SharedMemory
open -self.memory_size 336
Traceback (most recent call last):
  File "C:/home/weather/TESTOF~1.PY", line 164, in <module>
  File "C:/home/weather/TESTOF~1.PY", line 147, in example
    sm = SharedMemory( 'my_shared_memory')
  File "C:/home/weather/TESTOF~1.PY", line 31, in __init__
  File "C:/home/weather/TESTOF~1.PY", line 94, in __open
WindowsError: [Error 8] Not enough storage is available to process this 

components: Library (Lib)
files: testofResizeB.txt
messages: 66036
nosy: kmk
severity: normal
status: open
title: mmap resize fails on anonymous memory (Windows)
type: crash
versions: Python 2.5
Added file: http://bugs.python.org/file10151/testofResizeB.txt

Tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list