Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Matlab memory issues

  1. Jul 23, 2010 #1


    User Avatar
    Gold Member

    I've read the (a?) matlab file on memory on their webiste. Basically, their advice deals with data generation, which I'm not having a problem with. I generated the data sets quite easily on my 64-bit dual core, while simultaneously posting on physicsforums and playing muds.

    But once I got the graphical part, my computer kept getting swamped and memory errors kept popping up (no I'm not trying to run muds or browsers with it). Basicallly, I load and plot nine sets of data (axes) on each figure, then save it as a no compression tiff.

    I do this all with the visibility off, so I'm supressing graphical output. I make sure to clear the variables before I load new ones.

    I can do this once manually with no problems, but if I don't quit matlab and reopen it, the second manual run takes much longer and bogs my computer down (even after matlab has crashed and closed). I got the memory errors initially when I tried to automate the whole data set at once.
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted