Out of memory during assembly

Solution Number: 1186
Title: Out of memory during assembly
Platform: All Platforms
Applies to: All Products, COMSOL Multiphysics
Versions: All versions
Categories: Error Messages

Problem Description

The error "Out of memory during assembly" occurs.


This error message indicates that your computer does not have enough RAM memory to assemble the numerical model which you are working with. There are two distinct, sequential, memory-intensive steps that occur when you compute the solution:

  • Assembly: During assembly, the software takes the information about the model, the mesh, the physics (material properties, boundary conditions, etc.) and assembles a large system of equations.

  • Solving: During the solving step, the software solves the set of equations that has been assembled. This step will almost always require more memory than the assembly step.

If you run out of memory during the assembly step, you do not have enough RAM memory in your computer to solve your model. Follow the guidance given in Knowledge Base 1030

See also:

Knowledge Base 1243: Out of memory


COMSOL makes every reasonable effort to verify the information you view on this page. Resources and documents are provided for your information only, and COMSOL makes no explicit or implied claims to their validity. COMSOL does not assume any legal liability for the accuracy of the data disclosed. Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark details.