Number of matlab running
2 views (last 30 days)
Show older comments
Hello,
I am currently using matlab 2011b, and I have a lots of matlab functions to run with big running time (from 4/5 hours up to many days).
My problem is that i can only run 4 matlab at a given time (I don't use the gui, only the command line), and when i launch a fifth one, an other stop without warning.
So is there really a limit of 4 matlab running at the same time or I made some mistakes ?
If there is a limit, can we go beyond this limit ?
Sorry for my bad English.
Best regards,
Bruno
4 Comments
Walter Roberson
on 3 Jul 2013
How much memory is allocated to your virtual machine ? How much memory is each of your sessions taking?
Accepted Answer
Jan
on 4 Jul 2013
Edited: Jan
on 4 Jul 2013
Sometimes out of memory messages cannot be written, because the require memory by itself. This rarely happens when a huge array is allocated, but usually when the memory is exhausted in many small pieces. Then finally there is even no memory to create the tiny string for the message anymore.
The standard solutions are:
- Install more RAM
- Use smaller data types if possible, e.g. integer types for indexing or single if the precision is enough
- Stop other applications
- Clear variables if they are not used anymore
- Avoid memory fragmentation caused by omitted pre-allocations
0 Comments
More Answers (0)
See Also
Categories
Find more on Manage Products 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!