Memory profile of numpy array access