# Undo History, increase capacity?

**URL:** <https://forums.unrealengine.com/t/undo-history-increase-capacity/141572>\
**Category:** World Creation\
**Tags:** unreal-engine\
**Created:** [April 15, 2020, 7:12pm UTC](https://forums.unrealengine.com/t/undo-history-increase-capacity/141572 "2020-04-15T19:12:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HajimeXNagumo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HajimeXNagumo](https://forums.unrealengine.com/u/HajimeXNagumo)\
**Post date:** [April 15, 2020, 7:12pm UTC](https://forums.unrealengine.com/t/undo-history-increase-capacity/141572/1 "2020-04-15T19:12:24Z")

</div>

Hello Guys,

hope this is the right place to post.

I have a problem, since i painted a lot of foliages in my scene the undo history does not work anymore.

 ![01.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/a/baedb03f9cd0f5514032055093018c8b68d2b3a5.png)

Any ideas how i can increase the capacity? Cause everytime i made a mistake i need to close and open the engine again, Cause the history can only remember one step. So its impossible to work with it at the moment. ☹

Greets  
Hajime

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_151a92a0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_151a92a0](https://forums.unrealengine.com/u/anonymous_user_151a92a0)\
**Post date:** [October 29, 2020, 4:27pm UTC](https://forums.unrealengine.com/t/undo-history-increase-capacity/141572/2 "2020-10-29T16:27:06Z")

</div>

In case anyone else finds this post: I ran into the same problem and have a solution! While I don’t know if it’ll work for everyone, I hope it at least leads people down the right path.

I had this issue with the buffer stuck at two transactions, and Map Check was coming up with a couple of glaring issues. First, I had a lot of BSP at the time, and there were ~350 brushes that needed to be cleaned. So I ran “Clean Geometry Materials” (found in the Details tab of any brush). I also had a mesh with a null reference and deleted it. While I don’t know if both of those together fixed it, or if it was just one of them, but after that my Undo buffer was back to normal. It seems that there was a lot of excess memory usage which prevented a larger Undo buffer.

tl;dr Run a Map Check (under Build), fix as many issues as you can, and that will hopefully fix your Undo buffer.

---

<div class="post-metadata">

**Author:** ![sefa78](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sefa78](https://forums.unrealengine.com/u/sefa78)\
**Post date:** [October 22, 2025, 8:55pm UTC](https://forums.unrealengine.com/t/undo-history-increase-capacity/141572/3 "2025-10-22T20:55:53Z")

</div>

Okay so after digging through the source code I found out a way to change the transaction buffer size. I’ve confirmed it work with version 5.4.4. I’m leaving the solution here because its the first thread that pops up when searched for.

You need to add an entry in your `EditorPerProjectUserSettings`config file. You can find the file in `YourProject/Saved/Config/WindowsEditor`. Once you open the file go to the bottom and add the [Undo] header and below it UndoBufferSize=Size in MB, I’ve added an example below.

[Undo]  
UndoBufferSize=1024

Also you can set it using C++ inside your modules StartupModule function using the code below

```cpp
GConfig->SetString(TEXT("Undo"),TEXT("UndoBufferSize"),TEXT("1024"),GEditorPerProjectIni);

```
