Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Out of memory operation sparse matrix

Please login with a confirmed email address before reporting spam

I run a static stress analysis using Comsol combined with MATLAB, I put the analysis program in a "for" loop using Matlab, the program will stop at certain loop with error message As following, is it because the limited memory of my computer? the computer has 3.0 G memory.


??? Java exception occurred:
Exception:
com.femlab.jni.FlNativeException: Out of memory operation sparse
matrix
Messages:
Out of memory operation sparse matrix


Stack trace:

at lsspooles.cpp, row 197, ()

at com.femlab.solver.FlSolver.femStatic(Native Method)

at com.femlab.solver.FemStatic.run(Unknown Source)

at com.femlab.server.FlRunner.run(Unknown Source)

at com.femlab.server.MlProgressDlg.runAndWait(Unknown Source)

at com.femlab.server.FlRunnable.a(Unknown Source)

at com.femlab.server.FlRunnable.smartRunner(Unknown Source)


Error in ==> femsolver at 337
solobj.smartRunner(report, loopTime);

Error in ==> femlin at 80
varargout = femsolver(mfilename,'FemStatic',varargin{:});

Error in ==> Fieldfreq_LGS_FEM at 473
xfem.sol=femlin(xfem, ...

0 Replies Last Post 17.03.2010, 16:10 GMT-4
COMSOL Moderator

Hello Harry Zhang

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.