Could someone from Mathworks comment on this, even if it's impossible to change? Would be good to know either way.
Limiting virtual memory allocation/reservation
8 views (last 30 days)
Show older comments
Matlab 2013a CentOS 6.1 64-bit
Matlab (with GUI) allocates/reserves (not sure which is proper for VIRT) almost 4.2G of virtual memory when it launces, even though it's only using a few hundred M, as shown by top:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
15396 mgstauff 20 0 4131m 355m 75m S 1.0 0.6 0:14.97 MATLAB
The problem for me is that I'm running a Rocks cluster and want to limit the users by default to 3.9G of memory/virtual-memory usage/allocation. Rocks sets limits using ulimit.
1) Can I setup my matlab installation to by default allocate/reserve less virtual memory for all users? If not, is there a manual way?
2) I'm assuming this allocation is not a fixed limit, but rather an initial allocation to have a contiguous block of memory ready for use? That is, if users want more memory while running matlab, this will expand.
Thanks!
-M
Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing 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!