Info

This question is closed. Reopen it to edit or answer.

Out of Memory error

1 view (last 30 days)
Priyanka Jantre
Priyanka Jantre on 9 Oct 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
MATLAB script gives error "out of memory" for some files only. If it was a script issue all files should display out of memory. however only sometimes it is seen why so ? Script converts wav or raw audio file to data and generates coefficients using DTFT.

Answers (1)

Matt J
Matt J on 9 Oct 2015
Edited: Matt J on 9 Oct 2015
If it was a script issue all files should display out of memory
Not all "scripts" try to allocate the same amount of memory. It depends what operations are going on inside the function.
  3 Comments
Priyanka Jantre
Priyanka Jantre on 9 Oct 2015
Thank you Matt. I agree that memory requirement will vary depending on the operations however if I am using same operations/script but using different input file then I do not see a reason for out of memory.
Walter Roberson
Walter Roberson on 9 Oct 2015
Are the input files all exactly the same size?
Is it possible that the error shows up after you have done several files? Such as if you were failing to delete the results of your calculation before you moved on to the next one?

Tags

Community Treasure Hunt

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

Start Hunting!