Number of matlab running

조회 수: 1 (최근 30일)
bruno
bruno 2013년 7월 2일
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
Walter Roberson 2013년 7월 3일
How much memory is allocated to your virtual machine ? How much memory is each of your sessions taking?
bruno
bruno 2013년 7월 4일
I think I find the problem and you too, i just launch this night only 3 matlab, and one of my process dies unexpectedly without errors.
I looked with top at my processes and 7,1G out of 8G ram where used at this time, and now it's about 5,4G so i think there was a peak this night.
So a question come to my mind why no out of memory exception was triggered ?

댓글을 달려면 로그인하십시오.

채택된 답변

Jan
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개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by