Avoid memory allocation using sopen for >10 GB .bdf files

Post Reply
Jimbles
Posts: 1
Joined: Fri Sep 18, 2015 3:54 pm

Avoid memory allocation using sopen for >10 GB .bdf files

Post by Jimbles » Fri Sep 18, 2015 4:24 pm

Hi,



We have some recordings over a number of hours giving large file sizes > 10GB most of the time, with events on most of the 8 trigger channels throughout the recording. Using sopen from Biosig4Matlab, creating the event structure, specifically when calling the bdf2biosig_events uses tons of memory. Im guessing its at the stage where it makes the HDR.BDF.ANNONS. There are also a bunch of warnings like:
Warning SOPEN: number of event onset (TYP=7FE0) and event offset (TYP=FFE0) differ (0,1)
Warning SOPEN: number of event onset (TYP=7FE1) and event offset (TYP=FFE1) differ (0,93)
when we make the HDR.

Is there a way to prevent sopen using less memory without splitting the file into different chunks?

Cheers,

Jimbles

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests