[Eeglablist] general solution for memory problems?

Simon Galbraith sgalbrai at cs.ucla.edu
Wed Jun 27 15:18:33 PDT 2007


Hi All,

Not sure if this has been covered, but you can increase the maximum
Matlab JVM heap size.  This is usually necessary to load or create large
matrices or read large files.

For more information see:
http://www.mathworks.com/support/solutions/data/1-18I2C.html

-Simon


> Andreas Romeyke wrote:
> Hi Brian,
> 
> Brian Murphy schrieb:
>   
>>>> But, presumably this could be automated. So, perhaps something like this
>>>> would work:
>>>>  - determine the largest contiguous piece of RAM available to Matlab (I
>>>> understand from previous posts that it is contiguous RAM rather than
>>>> total RAM that matters), lets call this A(vailable)
>>>>  - estimate the total memory needed for the final imported data (in my
>>>> experience, it seems to be the raw filesize by a factor of three) - F(inal)
>>>>  - then the temporary space available for conversion T(emp) is A-F
>>>>  - then determine how big a fraction of the input file can be dealt with
>>>> at a time - divide the Temporary space by the peak conversion factor C
>>>> (again, in my experience, more than 10 times the original filesize of
>>>> RAM is required - what is other people's experience?): T/C
>>>>  - then split the time-course of the original file (of size O) into O/C
>>>> pieces.
>>>>  - load these pieces in
>>>>  - merge them
>>>>  - discard the pieces
>>>>
>>>> Any comments? I am new to Matlab and EEGLAB, so much or all of what I've
>>>>     
> Under Linux my workaround is to add swapspace temporarily.
> 
> In the near(?) future I expect that EEGlab will also run under GNU
> Octave (http://www.octave.org). In my experiences Octave does not have
> such a memory problem like Matlab, I think.
> 
> 
> Bye Andreas
> 
>>
_______________________________________________
eeglablist mailing list eeglablist at sccn.ucsd.edu
Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu
>>
>>

> ------------------------------------------------------------------------

> _______________________________________________
> eeglablist mailing list eeglablist at sccn.ucsd.edu
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to eeglablist-unsubscribe at sccn.ucsd.edu




More information about the eeglablist mailing list