All non-empty process address space is mmap
ed. Either using mmap
syscall or indirectly via brk
/sbrk
syscalls .
You probably need to find another way to distinguish numpy
arrays.
numpy.memmap
documentation says these arrays have additional attributes filename
, offset
and mode
, may be you can use these to detect whether an array is backed by a file.