Borrar filtros
Borrar filtros

Running MATLAB on virtual machine for more memory?

10 visualizaciones (últimos 30 días)
Sophia
Sophia el 27 de Jul. de 2023
Editada: Chunru el 27 de Jul. de 2023
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!

Respuestas (1)

Chunru
Chunru el 27 de Jul. de 2023
Editada: Chunru el 27 de Jul. de 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.

Categorías

Más información sobre Debugging and Analysis en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by