Clear Filters
Clear Filters

about memory cost for MDCE

2 views (last 30 days)
Xiaochun
Xiaochun on 29 Dec 2011
hi, I setup the mdce with 4 pc, each with 8nodes. I find that when I setup the mdce, each nodes itself, without running any program, consumes nearely 1.5G memory. is it normal?

Answers (1)

Titus Edelhofer
Titus Edelhofer on 29 Dec 2011
Hi,
Some clarification: by "node" you mean "worker"? So when starting your workers each worker consumes 1.5 GB without running any tasks?
Hmm, huge memory consumption of MATLAB without doing anything is most often related to having a large java heap space reserved. Do you have some java.opts file lying around specifying the heap size (i.e., including some "-Xmx1024" or similar?
Titus
  2 Comments
Xiaochun
Xiaochun on 2 Jan 2012
Thank you very much. I have check my matlab and I do not find any java.opts and using the command:java.lang.Runtime.getRuntime.maxMemory, I find my workers heap size is 180M. So it is still far away from 1.5G.
I have checked my window task manager.From the process, i can find it is about 180M for each worker.But from the performance, when the mdce is on service, I find 13G memory is occupied.If i turn off the mdce, the memory will down to 1G. I think that extra 12G memory consuming is caused by mdce(8 woker).how can fix it?
Titus Edelhofer
Titus Edelhofer on 3 Jan 2012
Hi,
take another look at the task manager: go to the menu for "choose columns": there are several "memory" columns, e.g. something like "private" memory. Does they show the same? Second: is there somewhere a checkbox "show processes from all users". Does it show something? 8*180MB is far away from 12GB ...
Titus

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!