# Possible Memory leak?

**URL:** <https://discuss.pencil2d.org/t/possible-memory-leak/7322>\
**Category:** Bug Reports\
**Created:** [29 July 2023 21:16 UTC](https://discuss.pencil2d.org/t/possible-memory-leak/7322 "2023-07-29T21:16:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![FraFraFrankenstone](https://discuss.pencil2d.org/user_avatar/discuss.pencil2d.org/frafrafrankenstone/32/2044_2.png) [@FraFraFrankenstone](https://discuss.pencil2d.org/u/FraFraFrankenstone)\
**Post date:** [29 July 2023 21:16 UTC](https://discuss.pencil2d.org/t/possible-memory-leak/7322/1 "2023-07-29T21:16:50Z")

</div>

I just rendered a movie and the memory usage went up and stayed there.

It is my self compiled version.

before i load the pencil app, the memory is at 670MB. After loading it is at 720 MB. After rendering of the movie it is constantly at about 970MB. When i leave the program, all memory is released. So about 670MB again.

---

<div class="post-metadata">

**Author:** ![scribblemaniac](https://discuss.pencil2d.org/letter_avatar_proxy/v4/letter/s/e5b9ba/32.png) [@scribblemaniac](https://discuss.pencil2d.org/u/scribblemaniac)\
**Post date:** [31 July 2023 04:16 UTC](https://discuss.pencil2d.org/t/possible-memory-leak/7322/2 "2023-07-31T04:16:14Z")

</div>

I doubt it’s a memory leak. It’s probably the frame cache. Pencil2D needs to hold some frames in memory for smooth playback. They will be loaded whenever a frame is read, including during editing, previewing, and exporting. They are unloaded when when the memory exceeds the amount of memory specified in Preferences \> General \> Memory Cache Budget. If frames have been modified, they will not be removed from memory at least until the changes have been saved.

---

<div class="post-metadata">

**Author:** ![FraFraFrankenstone](https://discuss.pencil2d.org/user_avatar/discuss.pencil2d.org/frafrafrankenstone/32/2044_2.png) [@FraFraFrankenstone](https://discuss.pencil2d.org/u/FraFraFrankenstone)\
**Post date:** [1 August 2023 07:43 UTC](https://discuss.pencil2d.org/t/possible-memory-leak/7322/3 "2023-08-01T07:43:55Z")

</div>

You are right. There is no memory leak. When you start a new project the memory (which was used to render the movie) is then released. I am sorry for bringing this topic up.

FraFra

---

<div class="post-metadata">

**Author:** ![system](https://discuss.pencil2d.org/uploads/default/original/2X/b/be472d9d9c3e92d2432da03a00b781a7f15bc51b.png) [@system](https://discuss.pencil2d.org/u/system)\
**Post date:** [15 August 2023 07:44 UTC](https://discuss.pencil2d.org/t/possible-memory-leak/7322/4 "2023-08-15T07:44:11Z")

</div>

Closed on 15 August 2023 07:44 UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
