Running MATLAB on virtual machine for more memory?

10 次查看(过去 30 天)
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!

回答(1 个)

Chunru
Chunru 2023-7-27
编辑:Chunru 2023-7-27
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.

类别

Help CenterFile Exchange 中查找有关 Debugging and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by