simulink model using a lot of RAM when loading
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
fabien grand perret
el 18 de Jul. de 2018
Comentada: fabien grand perret
el 18 de Jul. de 2018
Hello
I have an issue : sometimes a little simulink model without any callback use a lot of RAM when I open it
the model use 42 KB on disk and have no callback and is really simple (no big data inside)
usually when I load it, Matlab use 1000 KB of RAM for it (estation with "memory" function, see bellow) sometimes the nearly same model need 5500 KB of RAM !!!
on my 16 MB RAM computer it's OK, but on the 4 MB RAM computer my colleague is using, matlab need 5-10 minutes to open the model and windows is totally freezed
the solution I found is to close tabs in simulink editor and save the model : after that, it's OK
but why ??
the only thing I found on matlab help is that maybe a problem of registering model files with subversion i am not sure that subversion configuration is OK for that, and i can't check now
we are using 2015b
thanks in advance
Fabien
PS : sorry for my poor english
P2 : some logs :
>> memory % only matlab
Maximum possible array: 16850 MB (1.767e+10 bytes) *
Memory available for all arrays: 16850 MB (1.767e+10 bytes) *
Memory used by MATLAB: 1621 MB (1.700e+09 bytes)
Physical Memory (RAM): 11688 MB (1.226e+10 bytes)
* Limited by System Memory (physical + swap file) available.
>> memory % matlab + model OK
Maximum possible array: 15873 MB (1.664e+10 bytes) *
Memory available for all arrays: 15873 MB (1.664e+10 bytes) *
Memory used by MATLAB: 2588 MB (2.714e+09 bytes)
Physical Memory (RAM): 11688 MB (1.226e+10 bytes)
* Limited by System Memory (physical + swap file) available.
>> memory % matlab + "corrupted" model
Maximum possible array: 11423 MB (1.198e+10 bytes) *
Memory available for all arrays: 11423 MB (1.198e+10 bytes) *
Memory used by MATLAB: 7037 MB (7.379e+09 bytes)
Physical Memory (RAM): 11688 MB (1.226e+10 bytes)
Respuestas (0)
Ver también
Categorías
Más información sobre Programmatic Model Editing 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!