psrplot error: failed to allocate 1024 floats (using system swap space)

0 votes

I  have a problem with psrplot. I received the following message:

error while processing .../observations/t090810_024614.rf:
failed to allocate 1024 floats (using system swap space)

I created .psrchive.cfg and a swap file and set the path to it in .psrchive.cfg (Profile::swap = /home/swapfile).  Now I receive another message:

VirtualMemory::extend could not write 4096 bytes at end of swap file (4096 bytes) - Invalid argument.

OS is Scientific Linux CE release 6.3

What should I do with this?
asked Jun 6, 2013 by Anna (120 points)

1 Answer

0 votes
Hi Anna,

Running out of virtual memory is a sign that either

A) your system was not configured to support large memory allocations to user processes; or

B) your data files are simply too big.

In the latter case, the psrsplit program can sometimes be used to divide a large file into smaller pieces.

answered Apr 12, 2014 by straten (630 points)