Running MATLAB on virtual machine for more memory?
8 views (last 30 days)
Show older comments
I'm new to MATLAB (and frankly software in general) so I apologize if this is a stupid question. I am running some very time-consuming MATLAB scripts on my laptop and it keeps on running out of memory. I have access to a virtual machine but I'm not sure if it's possible to run my scripts through it, how I would access the output, if it would increase memory/speed, etc. and I'm just generally confused about how this works. Any help at all would be greatly appreciated!
0 Comments
Answers (1)
Chunru
on 27 Jul 2023
Edited: Chunru
on 27 Jul 2023
I am running some very time-consuming MATLAB scripts on my laptop and it keeps on running out of memory.
==> You may want to consider optimizing your program for memory efficiency.
I have access to a virtual machine but I'm not sure if it's possible to run my scripts through it, how I would access the output, if it would increase memory/speed, etc. and I'm just generally confused about how this works. Any help at all would be greatly appreciated!
==> You can run MATLAB in VM, but it may make the program even slower (in the same host machine) since VM can introduce additional overhead. The issue of running out memory could be more serious since botg the host and VM in the same physical machine use the same pool of memory. You could access the output from the shared folder or networking between the host and VM.
To sum up, you should, generally, not expect to increase speed or memory by using VM.
0 Comments
See Also
Categories
Find more on Debugging and Analysis 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!