# Report on memory and storage use

**URL:** https://community.freefem.org/t/report-on-memory-and-storage-use/851
**Category:** General Discussion
**Created:** [March 14, 2021, 3:59am UTC](https://community.freefem.org/t/report-on-memory-and-storage-use/851 "2021-03-14T03:59:18Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![hamed](https://avatars.discourse-cdn.com/v4/letter/h/d6d6ee/32.png) [@hamed](https://community.freefem.org/u/hamed)
#### Post date: [March 14, 2021, 3:59am UTC](https://community.freefem.org/t/report-on-memory-and-storage-use/851/1 "2021-03-14T03:59:18Z")

</div>

Is there anyway to get a report on the amound of RAM and storage used during the computation?

I can easily find the computational time at the end of .log file.  
I was wondering if there is any further information?

```
times: compile 0.439s, execution 84.576s, mpirank:0
 ######## We forget of deleting 4222 Nb pointer, 0Bytes , mpirank 0, memory leak =0
 CodeAlloc : nb ptr 5700, size :578008 mpirank: 0
Ok: Normal End

```

would you please explain about `4222 Nb pointer` or `nb prt 5700` or `size :578008` ?

---

<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: [March 14, 2021, 7:45am UTC](https://community.freefem.org/t/report-on-memory-and-storage-use/851/2 "2021-03-14T07:45:55Z")

</div>

You can simply use the command-line flag `-v 0`, or `verbosity = 0` at the bottom of your script. FreeFEM has a pseudo-memory counter, but it’s not working properly in some instances.

---

<div class="post-metadata">

### Author: ![hamed](https://avatars.discourse-cdn.com/v4/letter/h/d6d6ee/32.png) [@hamed](https://community.freefem.org/u/hamed)
#### Post date: [March 14, 2021, 2:04pm UTC](https://community.freefem.org/t/report-on-memory-and-storage-use/851/3 "2021-03-14T14:04:02Z")

</div>

yes it is a bit difficult to get anything else than the total cpu time.

---

<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: [March 14, 2021, 5:48pm UTC](https://community.freefem.org/t/report-on-memory-and-storage-use/851/4 "2021-03-14T17:48:59Z")

</div>

you can use function  
storageused() or storagetotal();  
in you script to now down the memory usage.
