Why is MATLAB crashing on medium-to-large matrices?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Richard Rast
el 7 de Mzo. de 2016
Comentada: Richard Rast
el 7 de Mzo. de 2016
To keep this really short, the following code crashes MATLAB on my machine:
X = ones(100, 100);
A = X*X;
One could argue that, perhaps, MATLAB should not handle something like ones(1000000,1000000) that well; I think it should, but perhaps some reasonable size limit is acceptable. But the above is trivial; I can't imagine why it's crashing. Other similar examples result in a crash. Multiplication is what's causing the problem (e.g. addition is fine). It's related to size -- a 5x5 matrix works with no problems. And the instantiation of the matrix is also fine; I can even construct much larger matrices with no issues.
My MATLAB is version 2015b. I'm happy to supply whatever other information is relevant.
1 comentario
Walter Roberson
el 7 de Mzo. de 2016
Are you using Windows 32 or Windows 64? How much RAM do you have? When you say it crashes MATLAB, do you mean that it creates the crash dialog?
Respuesta aceptada
Steven Lord
el 7 de Mzo. de 2016
What type of processor are you using? If you're using an AMD Jaguar processor, see if the information in Bug Report 1043644 is applicable.
Más respuestas (2)
Chris Turnes
el 7 de Mzo. de 2016
Does it create a crash log? If so, what's in the log? You can find it using the directions located here:
0 comentarios
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!