<div dir="ltr">I've noticed these issues, sometimes, too. A couple things that have usually been the cause for me:<div><br></div><div>1) If you're working with a STUDY, have you made sure your Memory options are set to hold just one dataset in memory at a time? You can select this option from the File > "Memory and other options" menu.</div><div><br></div><div>2) Increase your MATLAB's Java Heap Memory to as much as you can (some other more savvy users out there might have some counter-recommendations about this). You can do this using the "Preferences > General > Java Heap Memory" menu option. You might need to restart MATLAB then for it to take effect.</div><div><br></div><div>3) Are you accumulating your results in any self-inflating matrix or array? i.e.</div><div><br></div><div><font face="monospace, monospace">my_results = []</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">for data_index = 1:length(my_datasets)</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"> this_dataset_result = my_datasets{data_index}.results;</font></div><div><font face="monospace, monospace"> my_results = [my_results; this_dataset_result];</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">end</font><br clear="all"><div><br></div><div>Sometimes, depending on how you do this, it can become excessively large and unweildy for your computer to continually store in memory.</div><div><br></div><div>I've also rarely found that the RAM usage reports from MATLAB correlate with how hard it seems my computer is working, so I don't know if it makes sense to trust the output you're talking about.</div><div><br></div><div>Hope that helps,</div><div><br></div><div>James</div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>James Jones-Rounds</div>Laboratory Manager<br>Human Development EEG and Psychophysiology (HEP) Laboratory,<div>Department of Human Development,<br>--------------------------------------------<br>Cornell University | Ithaca, NY<br></div><div>607-255-9883</div><div><a href="mailto:eeg@cornell.edu" target="_blank">eeg@cornell.edu</a></div></div></div>
</div></div>