<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Dear Raphael,
<div class=""><br class="">
</div>
<div class="">I happened to bump into Trey Avery, from Philips/egi the other day, and he mentioned that you might want to consider to increase the java heap memory to a larger value. How this can be done is shown here: <a href="https://www.mathworks.com/help/matlab/matlab_external/java-heap-memory-preferences.html" class="">https://www.mathworks.com/help/matlab/matlab_external/java-heap-memory-preferences.html</a></div>
<div class=""><br class="">
</div>
<div class="">That is, in your message you are a bit ambiguous as to where exactly in the code the slowdown takes place. If it is indeed preproc, as you mention, then it’s probably not an input/output problem.</div>
<div class=""><br class="">
</div>
<div class="">Anyway, it wouldn’t hurt to try I think. Could you let us know whether this works for you? In that case we can add this to our documentation section of ‘getting started with egi data’ on our
<a href="http://fieldtriptoolbox.org/" class="">fieldtriptoolbox.org</a> website. Also, the current version of that part of the documentation could be improved a bit I think to reflect better the recent improvements to the code (i.e. the use of the v3 reader…).
 Feel free to suggest changes yourself.</div>
<div class=""><br class="">
</div>
<div class="">Best wishes,</div>
<div class=""><br class="">
</div>
<div class="">Jan-Mathijs<br class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On 24 May 2019, at 15:58, Raphaël Thézé <<a href="mailto:raphael.theze@gmail.com" class="">raphael.theze@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Dear all, 
<div class=""><br class="">
</div>
<div class="">I have a question regarding the import of mff file format.</div>
<div class=""><br class="">
</div>
<div class="">I used to import my EGI data with fieldtrip version 20180201 which worked fine (with egi_mff_v1) but when I switched to fieldtrip version 20190325, it uses egi_mff_v3 as default. The latter also works well except that when it used to take 1 sec
 per trial to be imported with V1, now it takes about 1 minute per trial with V3. The amount of time needed to import one subject in my case would be theoretically 3 hours, which is ridiculously long. I understand that the switch of version takes place in ft_read_data,
 which is called by ft_preprocessing, but apparently it is preproc, also called by ft_preprocessing, that takes forever to compute, but I can't explain why. I tried to manually request to use the version egi_mff_V1 but then there is an error regarding xml file,
 that I have not tried to explore so far. </div>
<div class=""><br class="">
</div>
<div class="">For now I will just go back to the 20180201 version of fieldtrip so I can quickly import data into matlab, but I would like to understand what is going wrong here, or if it is to be expected. </div>
<div class=""><br class="">
</div>
<div class="">In advance, thank you all. </div>
<div class="">Best, <br class="">
Raphaël</div>
</div>
_______________________________________________<br class="">
fieldtrip mailing list<br class="">
<a href="https://mailman.science.ru.nl/mailman/listinfo/fieldtrip" class="">https://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br class="">
<a href="https://doi.org/10.1371/journal.pcbi.1002202" class="">https://doi.org/10.1371/journal.pcbi.1002202</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>