Skip to content

Read MS file error? #43

@cnwangfeng

Description

@cnwangfeng

Hi Tim,

I want to open MS file by function create_batchvisitility_from _ms. The MS file was gotten from EoR Blind challenge which is about 474MB. My computer has 32GB memory. However, the ARL reports out of memory:

*** mach_vm_map(size=18446744066256998400) failed (error code=3)
python(57221,0x11d8545c0) malloc: *** set a breakpoint in malloc_error_break to debug
Terminated: 15

I tracked the codes and error would occur at Line 835 of memory_data_models.py.

        desc = [('index', '>i8'),
                ('uvw', '>f8', (nants, nants, 3)),
                ('time', '>f8'),
                ('integration_time', '>f8'),
                ('vis', '>c16', (nants, nants, nchan, npol)),
                ('weight', '>f8', (nants, nants, nchan, npol)),
                ('imaging_weight', '>f8', (nants, nants, nchan, npol))]
        data = numpy.zeros(shape=[ntimes], dtype=desc)

nants =4704, nchan =1 , npol = 4, ntimes = 8

Or it's not a bug which means I should find a big memory server to run it.

Feng Wang

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions