Main siteMain site  ForumForum  ForumSearch  Private messageEmail contact  RegisterRegister  Log inLog in 
Topic: XDFWriter with big recording size
Reply to topic
Author Message
Marius



Joined: Jun 10, 2013
Posts: 51

PostPosted: Jun 10, 2013 2:19 PM    Post subject: XDFWriter with big recording size

Hi Jarek,

what happens in terms of data storage if I make a single recording of big size (multiple GB) through XDFWriter? It seems to keep everything in main memory until the end, when it's written do disk all at once.

1)Will, at some point, memory be just full and either BioEra or Windows crash, or will Windows keep creating virtual memory to keep this from happening (in case you know)?
2)Is it possible to make XDF Writer write continously to its destination file in disk, to avoid ever-growing memory usage?

Thanks,
Marius

jarek



Joined: Oct 22, 2007
Posts: 1073

PostPosted: Jun 10, 2013 6:09 PM    Post subject:

Memory (RAM) is NOT used for that, this file can be as large as needed. The data is cached on hard drive in another (hidden) file which is then used to create the final one.

We don't want to create a partial file, it would be unusable before the headers are updated, so we could end up with a corrupted file if the design was not properly finished/stopped.
Reply to topic