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

Eig(A'*A) - out of memory. Any shortcuts?

  1. Jul 22, 2011 #1
    A is pretty large (and sparse). I'd really like to be able to calculate this, using less RAM.
     
  2. jcsd
  3. Jul 26, 2011 #2
    I wouldn't call myself an expert on eigenvalue algorithms, but I had some ideas.

    First, you've been using a MatLab http://www.mathworks.com/help/techdoc/ref/sparse.html" matrix for A, right?

    Second, you could try setting a variable to A'*A, then clearing A, and then having a call to eig on that variable.

    If you're on unix and you don't need the development environment, an option is to run a MatLab script with the "-nojvm" command line option.

    Other than that, increase the swap size. If that's not enough, get the following if you aren't already using them for this task:

    a 64 bit OS (and computer if needed)

    64-bit MatLab
     
    Last edited by a moderator: Apr 26, 2017
  4. Jul 26, 2011 #3
    Thanks for the suggestions
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Eig(A'*A) - out of memory. Any shortcuts?
Loading...