# PumpMessage makes spikes in game thread

**URL:** <https://forums.unrealengine.com/t/pumpmessage-makes-spikes-in-game-thread/433611>\
**Category:** Blueprint\
**Tags:** unreal-engine, crash, editor, UE4, question, Blueprint, CPP\
**Created:** [September 12, 2018, 3:15am UTC](https://forums.unrealengine.com/t/pumpmessage-makes-spikes-in-game-thread/433611 "2018-09-12T03:15:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_6450b452](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6450b452](https://forums.unrealengine.com/u/anonymous_user_6450b452)\
**Post date:** [September 12, 2018, 3:15am UTC](https://forums.unrealengine.com/t/pumpmessage-makes-spikes-in-game-thread/433611/1 "2018-09-12T03:15:36Z")

</div>

I experienced dropping frames in a project.So i did the profile and i found there are spikes among the game thread.The most part is the pumpMessage in the Frame Sync Time.I think it’s a problem of windows cos there would be no problem when i run this project on other windows pc.So,how can i deal with this?The profiling file is included below.Thx.

 ![253416-untitled.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/1/1/a116cf1a341f409c61a7aacd7b5b2eb416c1b3c9.png)

[link text][2]

---

<div class="post-metadata">

**Author:** ![dZh0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dZh0](https://forums.unrealengine.com/u/dZh0)\
**Post date:** [September 12, 2018, 9:26am UTC](https://forums.unrealengine.com/t/pumpmessage-makes-spikes-in-game-thread/433611/2 "2018-09-12T09:26:33Z")

</div>

How do you build and run the project?

[PumpMessage()](http://api.unrealengine.com/INT/API/Runtime/Slate/Framework/Application/FSlateApplication/PumpMessages/index.html) is part of the debugging system.

Check if the framedrop occurs in [Test state](https://docs.unrealengine.com/en-us/Programming/Development/BuildConfigurations) build.

---

<div class="post-metadata">

**Author:** ![007havegone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@007havegone](https://forums.unrealengine.com/u/007havegone)\
**Post date:** [August 1, 2024, 2:55pm UTC](https://forums.unrealengine.com/t/pumpmessage-makes-spikes-in-game-thread/433611/3 "2024-08-01T14:55:32Z")

</div>

Did you solve the problem？

---

<div class="post-metadata">

**Author:** ![Ray\_Sleep](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ray\_Sleep](https://forums.unrealengine.com/u/Ray_Sleep)\
**Post date:** [March 4, 2025, 2:16pm UTC](https://forums.unrealengine.com/t/pumpmessage-makes-spikes-in-game-thread/433611/4 "2025-03-04T14:16:09Z")

</div>

My situation is exactly the same , I also wondering how to solve this problem of frames drop .

---

<div class="post-metadata">

**Author:** ![TheEnbyWitch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheEnbyWitch](https://forums.unrealengine.com/u/TheEnbyWitch)\
**Post date:** [September 7, 2025, 6:06am UTC](https://forums.unrealengine.com/t/pumpmessage-makes-spikes-in-game-thread/433611/5 "2025-09-07T06:06:32Z")

</div>

I’m getting this in some way too. 5ms spent on WinPumpMessages when I’m moving the mouse and I have no idea where to begin debugging this. This alone makes my editor not run at 60fps.

 ![UnrealInsights_LYKaDretVZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/0/9/1098bd059490aa96b577eb8ee78d8b450c0fd59a.png)

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [September 7, 2025, 11:35am UTC](https://forums.unrealengine.com/t/pumpmessage-makes-spikes-in-game-thread/433611/6 "2025-09-07T11:35:51Z")

</div>

@TheEnbyWitch

I’d check your enabled plugins, perhaps one of them is hooking into the windows platform layer and causing the buildup of messages on mouse move.
