Effacer les filtres
Effacer les filtres

HELP "OUT OF MEMORY"

2 vues (au cours des 30 derniers jours)
Elysi Cochin
Elysi Cochin le 28 Avr 2014
Commenté : Matt J le 21 Mai 2014
i execute a program in matlab... and it runs fine.... when i execute it for the second time it says
"OUT OF MEMORY"
i typed
"clear all"
and executed it still it says "out of memory"... but if i close matlab and execute it refreshly it will execute... what should i do to rectify this error
  2 commentaires
Oliver Woodford
Oliver Woodford le 28 Avr 2014
Please provide more details about the program. Is it written in pure MATLAB or does it call external code such as a C library or a mex file?
Elysi Cochin
Elysi Cochin le 28 Avr 2014
Modifié(e) : Elysi Cochin le 28 Avr 2014
sorry, yes it calls MEX files.....

Connectez-vous pour commenter.

Réponse acceptée

Matt J
Matt J le 28 Avr 2014
Also, try "clear classes". It is more verbose than "clear all", so you might get more informative messages, particularly if you have memory allocated by graphics objects.

Plus de réponses (1)

Matt J
Matt J le 28 Avr 2014
Modifié(e) : Matt J le 28 Avr 2014
It's a known problem unfortunately. See, for example,
Try not to allocate so much memory. Newer versions of MATLAB might also handle the problem better.
  2 commentaires
Elysi Cochin
Elysi Cochin le 21 Mai 2014
sir i used clear classes, it worked for the first time... but now its not working, its showing...
??? Out of memory. Type HELP MEMORY for your options.
what should i do sir....
Matt J
Matt J le 21 Mai 2014
What messages does "clear classes" return?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by