Will I receive "Out of Memory" error eventually: Both the "Memory available for all arrays" and "Memory used by Matlab" increase
Show older comments
Hi, I have a Matlab program that need to run for months continuously. I keep monitoring the memory usage by using "memory" command periodically. What I observed is that both the "Memory available for all arrays" and "Memory used by Matlab" increase over time. For about half a day. "Memory available for all arrays" increases by 48MB, while "Memory used by Matlab" increases by 31MB. I do have a task that runs periodically at high rate, with a call to a mex function. But there is no memory allocation during runtime. Will my program crash with "Out of memory" error eventually? Which memory in memory command is the actual limit that cause the "Out of memory" error?
Accepted Answer
More Answers (0)
Categories
Find more on Whos 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!