Hello,
Using numpy 1.2.1 on a mac os 10.5
I admit the user was sort of stretching the limits but (on his machine)
import numpy a=numpy.ones((16800,60,96),'f') numpy.sort(a,axis=0)
works
import numpy.ma a=numpy.ma.sort((16800,60,96),'f') numpy.ma.sort(a,axis=0)
failed with some malloc error: python(435) malloc: *** mmap(size=2097152) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug Bus error
Since there's no mask I don't really see how much more memory it's using. Beside changing 16800 to 15800 still fails (and now that should be using much less memory)
Anyhow I would expect i nicer error than a bus error :)
Thx,
C>