rtl-gopow icon indicating copy to clipboard operation
rtl-gopow copied to clipboard

fatal error: runtime: out of memory

Open zanco opened this issue 8 years ago • 3 comments

Hi, running gopow with an extreme large file ( 21626847317 which equals 10 hours of 30 MHz scan) gives the out of memory error.

Anyway to solve this ?

Thanks, Ben

zanco avatar Feb 28 '16 15:02 zanco

You could break up the file into smaller chunks and then use a tool to vertically stack the processed images.

shmick avatar Feb 28 '16 19:02 shmick

I would suggest splitting the power dumps into smaller chunks. gopow could probably handle fairly large dumps (haven't really tried maxing it out) but the PNG writer would take an insanely long time to compress such a image that it's probably not advisable.

Switching to a image format that is not compressed, or doing tiled (multithreaded) image writes would be something to investigate to increase the maximum dump size.

dhogborg avatar May 13 '16 06:05 dhogborg

I would also like to have the ability to process files that are a few GB of size. With a 600MB file gopow needs 5.5G of RAM but I have a file which is ~6G large that I would like to process.

bogdanr avatar Apr 08 '17 06:04 bogdanr