Number of matlab running
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
Walter Roberson
2013-7-3
How much memory is allocated to your virtual machine ? How much memory is each of your sessions taking?
采纳的回答
Jan
2013-7-4
编辑:Jan
2013-7-4
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!