Out of memory error while running bispectrum analysis

1 view (last 30 days)
I am working with signals that are segmented into 63 secs length, sampled at 128Hz, which means there are 8064 sample points per segment.
One of the parameters of 'bispecd' (of the HOSA toolbox) defines 'segsamp' - number of samples per segment. The bispectrum matrix is thus very large (8192x8192) and MATLAB gives me an Out of Memory error while trying to perform the calculation.
Is there a work around to this problem? It might also be the case that I am reading the semantics of the parameters wrong. Would greatly appreciate if a solution could be posted or my understanding of the parameters disabused.
I am running MATLAB 7.8.0 (2009a) 32-bit version on a HP Z800 workstation
Thanks

Accepted Answer

Jan
Jan on 17 Feb 2015
Please post the complete error message accompanied by the relevant part of your code.
The 8192x8192 double array consumes 536 MB Ram. Do you have enough free memory for this?
The standard suggestions remain as usual:
  • Run a 64 bit system
  • Free unused memory
  • Install more RAM
  • Use SINGLE instead of DOUBLE if this is enough precision.
  1 Comment
NITIN KUMAR
NITIN KUMAR on 17 Feb 2015
Thanks for the response. I did some searching after posting this question. Turns out the process limit for MATLAB R2009a 32-bit is about 2GB. I updated the software to R2013b 64-bit,the process limit is 8 TB now.
The workstation I'm working on has 14GB RAM and is a 64-bit architecture. Program is running fine now.

Sign in to comment.

More Answers (0)

Categories

Find more on Dynamic System Models in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!