# Out of Memory error

**URL:** <https://community.freefem.org/t/out-of-memory-error/3709>\
**Category:** General Discussion\
**Created:** [January 24, 2025, 11:01am UTC](https://community.freefem.org/t/out-of-memory-error/3709 "2025-01-24T11:01:07Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Monirul25](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/monirul25/32/3287_2.png) [@Monirul25](https://community.freefem.org/u/Monirul25)\
**Post date:** [January 24, 2025, 11:01am UTC](https://community.freefem.org/t/out-of-memory-error/3709/1 "2025-01-24T11:01:07Z")

</div>

Hello, all experts  
I am getting the following error " out of Memory" to a specific FF+ code. **My laptop is lenovo (intel Core i7)**.

 ![Help](https://canada1.discourse-cdn.com/flex030/uploads/freefem/original/2X/d/d2d4064c87595b404031d281c6bd98d49580bac1.png)

**Does there any way to resolve this issue??**. I have used " UMFPACK" solver.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![frederichecht](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/frederichecht/32/15_2.png) [@frederichecht](https://community.freefem.org/u/frederichecht)\
**Post date:** [January 25, 2025, 9:33am UTC](https://community.freefem.org/t/out-of-memory-error/3709/2 "2025-01-25T09:33:51Z")

</div>

NO and Yes,

You can try with MUMPS\_seq , or try to use parallel solver like PETSc ,

---

<div class="post-metadata">

**Author:** ![Monirul25](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/monirul25/32/3287_2.png) [@Monirul25](https://community.freefem.org/u/Monirul25)\
**Post date:** [January 25, 2025, 10:06am UTC](https://community.freefem.org/t/out-of-memory-error/3709/3 "2025-01-25T10:06:34Z")

</div>

Thanks sir for your replies. **Can you help me to install parallel solver like PETSc in FreeFem++**??. I am facing problem to install and use it. I have tried but not getting how to install and **use it sir. Can you please share the link to install PETSc in FreeFem++ and some demo examples.** I have seen the documentation but not getting how to install and use it. Thanks in advance sir.

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [January 27, 2025, 7:36am UTC](https://community.freefem.org/t/out-of-memory-error/3709/4 "2025-01-27T07:36:53Z")

</div>

What are the problems you are facing when trying to install PETSc or MUMPS?

---

<div class="post-metadata">

**Author:** ![Monirul25](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/monirul25/32/3287_2.png) [@Monirul25](https://community.freefem.org/u/Monirul25)\
**Post date:** [January 27, 2025, 8:18am UTC](https://community.freefem.org/t/out-of-memory-error/3709/5 "2025-01-27T08:18:13Z")

</div>

Thanks sir for your replies. I have seen the documentation but not getting the proper link to download PETSc or Mumps. Also, i am not getting how to use it after installation. What are software are require for that??.

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [January 27, 2025, 9:03am UTC](https://community.freefem.org/t/out-of-memory-error/3709/6 "2025-01-27T09:03:04Z")

</div>

Follow these steps [GitHub - FreeFem/FreeFem-sources: FreeFEM source code](https://github.com/FreeFem/FreeFem-sources?tab=readme-ov-file#cicd-tools).

---

<div class="post-metadata">

**Author:** ![Monirul25](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/monirul25/32/3287_2.png) [@Monirul25](https://community.freefem.org/u/Monirul25)\
**Post date:** [January 27, 2025, 11:07am UTC](https://community.freefem.org/t/out-of-memory-error/3709/7 "2025-01-27T11:07:43Z")

</div>

Thanks sir. I am using FFv4.13. I am getting the following error to run a PETSc code.

 ![PETSC](https://canada1.discourse-cdn.com/flex030/uploads/freefem/original/2X/3/3509404f050120f05b4fe4ba15f150b5a3be304d.png)  
How to fixed it sir?. I am very new to use it. Can i not use FreeFem++ to run PETSc code. How to download mpi version in windows of FreeFem++??. So that Code run well.

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [January 27, 2025, 11:33am UTC](https://community.freefem.org/t/out-of-memory-error/3709/8 "2025-01-27T11:33:36Z")

</div>

You need to use `FreeFem++-mpi`, not `FreeFem++`.

---

<div class="post-metadata">

**Author:** ![Monirul25](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/monirul25/32/3287_2.png) [@Monirul25](https://community.freefem.org/u/Monirul25)\
**Post date:** [January 27, 2025, 11:53am UTC](https://community.freefem.org/t/out-of-memory-error/3709/9 "2025-01-27T11:53:25Z")

</div>

I am not getting sir where is the link sir to download FreeFem+±mpi for window 11. Only FreeFem+±mpi is enough sir?.

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [January 27, 2025, 1:03pm UTC](https://community.freefem.org/t/out-of-memory-error/3709/10 "2025-01-27T13:03:34Z")

</div>

This is shipped in the installer together with the `FreeFem++` binary.

---

<div class="post-metadata">

**Author:** ![Monirul25](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/monirul25/32/3287_2.png) [@Monirul25](https://community.freefem.org/u/Monirul25)\
**Post date:** [January 27, 2025, 2:16pm UTC](https://community.freefem.org/t/out-of-memory-error/3709/11 "2025-01-27T14:16:03Z")

</div>

I have currently install FreeFem++ v4.15 sir. But where is FreeFem++ -mpi??. I am not getting it.

---

<div class="post-metadata">

**Author:** ![Monirul25](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/monirul25/32/3287_2.png) [@Monirul25](https://community.freefem.org/u/Monirul25)\
**Post date:** [January 27, 2025, 2:34pm UTC](https://community.freefem.org/t/out-of-memory-error/3709/12 "2025-01-27T14:34:14Z")

</div>

I have get it but it showing problem to install sir.  
Following error comes as soon as i open it.

 ![Screenshot 2025-01-27 200455](https://canada1.discourse-cdn.com/flex030/uploads/freefem/original/2X/3/3adc83bd98ed6f449d017ae17853c9d321ac18dd.png)  
Intially at FF++ v4.14 also shows same problem. Then, i delete that and install v4.15. Now, again it showing. How to fix it sir??.

---

<div class="post-metadata">

**Author:** ![Monirul25](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/monirul25/32/3287_2.png) [@Monirul25](https://community.freefem.org/u/Monirul25)\
**Post date:** [January 27, 2025, 4:35pm UTC](https://community.freefem.org/t/out-of-memory-error/3709/13 "2025-01-27T16:35:32Z")

</div>

It showing **msmpi.dll** is not found sir. But i downloaded all things. Why it showing so. I am using **windows 11.**

---

<div class="post-metadata">

**Author:** ![prj](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@prj](https://community.freefem.org/u/prj)\
**Post date:** [January 28, 2025, 7:57am UTC](https://community.freefem.org/t/out-of-memory-error/3709/14 "2025-01-28T07:57:50Z")

</div>

You did not install MS-MPI.

---

<div class="post-metadata">

**Author:** ![Monirul25](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/monirul25/32/3287_2.png) [@Monirul25](https://community.freefem.org/u/Monirul25)\
**Post date:** [January 28, 2025, 8:13am UTC](https://community.freefem.org/t/out-of-memory-error/3709/15 "2025-01-28T08:13:02Z")

</div>

Can you please share me the link of that sir so that i can install easily and use it. Thanks sir.

---

<div class="post-metadata">

**Author:** ![Monirul25](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.freefem.org/monirul25/32/3287_2.png) [@Monirul25](https://community.freefem.org/u/Monirul25)\
**Post date:** [January 28, 2025, 2:38pm UTC](https://community.freefem.org/t/out-of-memory-error/3709/16 "2025-01-28T14:38:26Z")

</div>

![image](https://canada1.discourse-cdn.com/flex030/uploads/freefem/original/2X/5/5749dd775f77bd82309089f01111d86f53ddbf83.png)  
Sir, are you telling about this to download. What are the steps after this download over??. Two Software are coming by installing this.
