Why I got an error like :"Not enough memory resources when MATLAB runs on a super computer with 512GB RAM
Afficher commentaires plus anciens
I have a script that reads an excel file load their data into the MATLAB workspace. The script then does some calculation and creates a new big excel file. My script breaks almost at the end of the process, right before creating the result excel file. the error is as follow:
Invoke Error, Dispatch Exception: Not enough memory resources are available to complete this operation.
but why I am getting this error when my computer has a RAM of 512GB. (is a cloud computer)
I have put a breakpoint and see the variables loaded in the workspace, see below:

the maximum size is only 1GB (fourth from the top), is this the issue?
Thanks
2 commentaires
Ismael
le 7 Mai 2025
Walter Roberson
le 7 Mai 2025
A table that is 1 gigabyte in binary would typically expand to more than 4 gigabytes in text form. Text form would be used internally in creating xlsx files -- xlsx files are internally a "zip" of a directory of XML files, with the XML files being text files.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Spreadsheets dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!