out of memory problem that clear all doesn't solve

Discussion in 'MATLAB' started by Dan Raphaeli, Nov 10, 2010.

  1. Dan Raphaeli

    Dan Raphaeli Guest

    After a long simulation my simulation crashes due to out of memory. Clearing all variables doesn't help. Using latest matlab 2010. See the result of memory:

    after working long time and crash:Maximum possible array: 8 MB (8.425e+006 bytes) *
    Memory available for all arrays: 167 MB (1.747e+008 bytes) **
    Memory used by MATLAB: 1544 MB (1.619e+009 bytes)
    Physical Memory (RAM): 3036 MB (3.183e+009 bytes)


    when matlab starts:Maximum possible array: 1314 MB (1.378e+009 bytes) *
    Memory available for all arrays: 1491 MB (1.564e+009 bytes) **
    Memory used by MATLAB: 272 MB (2.857e+008 bytes)
    Physical Memory (RAM): 3036 MB (3.183e+009 bytes)

    I need a method to clear matlab heap (?) from time to time but without quitting matlab and restarting!
     
    Dan Raphaeli, Nov 10, 2010
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.