Error using ==> mupadmex Error in MuPAD command: Out of memory?

Dear all
I have this error shown
the memory used seem to be very little.Please help!!!!!
please help!!! thank you very much.

 채택된 답변

Walter Roberson
Walter Roberson 2015년 9월 6일

0 개 추천

Symbolic solutions of larger matrices are inherently large. For example the inverse of a 5 x 5 matrix is over 200000 characters long, and 6 x 6 is over 2000000 long; each additional increment makes the inverse about 10 times larger to represent on output -- and additional memory might be required during the calculation. Multiple gigabytes to calculate the 7 x 7. Roughly 2.2 * 10^N is the output size for the symbolic inverse of a matrix N x N.
If you do not have that much memory, then either add physical memory or add "swap" (which will likely be very slow unless you are using solid state disks).
There is no "compact" or "memory efficient" symbolic inverse. Symbolic solutions are exact solutions and every portion of the solution is needed to get the right answer. You might be able to simplify() afterwards but the sizes I list above are after simplification.
What size of matrix are you trying to process?

댓글 수: 3

thank you very much sir,, now I am solving the 20x20 matrix, but my objective is ,, can solve as large as possible..
I am very appreciated for you answer. best regard!!
My estimate would be that it would take approximately 2.1 * 10^20 characters to represent the final symbolic determinant of a 20x20 matrix, plus an unknown amount of working memory. 2.1E20. It would not surprise me if close to 1 zettabyte of memory was required. That would require at least 67 bits of address space. Current implementations of the x64 processor support only 48 bits of address space, roughly 2.8E14 bytes, so you would need somewhere on the order of 750000 such systems completely filled with memory.
The largest matrix that my system was able to take the symbolic matrix of is 6 x 6. I think you have more memory than me so I think you could probably do 7 x 7, but I doubt you could do 8 x 8.
thank you very much, I will try it. Best regard!!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

태그

질문:

2015년 9월 6일

댓글:

2015년 9월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by