- https://stackoverflow.com/questions/12454414/why-matlab-dont-use-swap-but-error-out-of-memory
- https://stackoverflow.com/questions/29704685/matlab-and-clearing-the-swap-space#:~:text=Swap%20is%20managed,to%20some%20extent.
Pourquoi Matlab n'utilise-t-il pas l'espace de swap ? (sous linux ubuntu)
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Arrivant en limite de mémoire RAM physique, matlab s'arrête sans utiliser l'espace de swap qui reste désespérément vide.
Les essais de saturation de mémoire faits avec d'autres logiciels conduisent pourtant normalement à l'utilisation du swap.
Y at-t-il une option pour que matlab l'utilise normalement ?
Merci d'avance
Michel Perreau
0 commentaires
Réponses (2)
Vandit
le 27 Mar 2024
Hi Michel,
MATLAB does not offer a direct option or setting to specifically utilize swap space when the physical RAM is fully utilized. MATLAB's memory management is designed to work within the operating system's memory management framework. Swap management is managed at the Operating System level. MATLAB requests memory from the OS, and it is the OS that decides whether this memory is allocated from physical RAM or swap space.
The commands "whos" and "feature memstats" can be utilized to assess memory usage and identify which components are utilizing it.
You may find additional clarity by referring to the following links:
Hope this helps.
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!