Matlab 7.1 (R14SP3) bug : “Maximum variable size allowed by the program is exceeded”

After upgrading to SP3, my Matlab codes simply stopped working. By looking into the error, I found out that it is a bug that existed in version 6 but was later fixed in version 7 (sp1, sp2).

Exact Steps and Code to Reproduce Bug:
test = zeros([402653185,1],'uint8');
% It worked if you change to 402653184

Error Messages:
??? Error using ==> zeros
Maximum variable size allowed by the program is exceeded.

Anyway, the Matlab support team gave me a workaround: create two matrix of smaller sizes and concat them together.
test1 = zeros([3e8,1],'uint8');
test = [test1 ; test1];
clear test1;

For me, I don’t want to modify all my codes, so I had to revert back to R14SP2. Hopefully the next version of Matlab could fix this bug.

19 Responses to “Matlab 7.1 (R14SP3) bug : “Maximum variable size allowed by the program is exceeded””

  1. ashley Says:

    This is a damn annoying bug.

  2. Khalil Says:

    Well I just discovered this bug…
    Is it possible?

  3. Cassaundra Overall Says:

    I know this if off topic but I’m looking into starting my own weblog and was curious what all is required to get setup? I’m assuming having a blog like yours would cost a pretty penny? I’m not very web smart so I’m not 100% sure. Any suggestions or advice would be greatly appreciated. Thank you

  4. Truman Piper Says:

    Clever blog!

  5. materace kieszonkowe Says:

    Bardzo mnie to zaciekawiło,będę tu zaglądać

  6. bidninja Says:

    Stumbled into this website by chance but I’m sure glad I clicked on that link. You definitely answered all the questions I’ve been dying to answer for some time now. Will actually come back for additional of this. Thank you so much

  7. akülü istif makinaları Says:

    akülü istif makinaları

  8. elektrikli zincirli vinç Says:

    elektrikli zincirli caraskal

  9. halatlı vinçler Says:

    halatlı vinçler

  10. Dave Drwencke Says:

    Your style is unique in comparison to other folks I have read
    stuff from. I appreciate you for posting when you
    have the opportunity, Guess I’ll just bookmark this blog.

  11. Mahen Says:

    I wonder wtehher the Arrow one underneath the B&W Chainring with River, with the CBDBUG in the middle but without the web addresses around the circumference, would work?But if not, the Chainring would look great as letterhead and as the basis of a jersey design.

  12. Maybelle Says:

    Hi theгe, after reading tһis remarkable piece of writing i am ɑs well cheefful tߋ share my knoᴡ-how here with colleagues.

  13. Orlando Says:

    Just wish tto say your article is as surprising. Thee clarity in ypur post is simply
    excellent and i could assume you’re an expert on this subject.
    Well with your permission allow me to grab your RSS feed to keep updated with forthcoming post.
    Thanks a million and please continue the rewarding work.

  14. bangkok ifc scam Says:

    common scam in bangkok thailand customs scam tat scam thailand scam english to thai
    bangkok ifc scam https://siam-shipping.com/

  15. suba suba Says:

    Say, you got a nice article post.Really looking forward to read more. Great.

  16. alquiler carros en medellin Says:

    Thank you ever so for you article post.Really thank you!

  17. septic tank pumping Says:

    Thanks a lot for the article.Much thanks again. Fantastic.

  18. diabetes Says:

    Magnificent web site. A lot of helpful information here. I am sending it to several pals ans also sharing in delicious. And obviously, thanks for your sweat!

  19. thiet bi dien nuoc bao an Says:

    Simply wanna state that this is handy , Thanks for taking your time to write this.

Leave a Reply