x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Eating memory while in Blueprint breakpoint

I'm very new to Unreal Engine, and have made a simple Blueprint to move the a player on one axis when I press W or S. This is purely an experiment to get familiar with the engine.

Of course, I did something wrong and the ship doesn't move. I put a breakpoint on my SetWorldLocation node so I could see what was going on. After under a minute of hitting the breakpoint, the app would freeze on me, and I'd have to kill it and restart it. Finally, at one point macOS told me that I had run out of application memory. Reproducing this again with Activity Monitor running showed UE rapidly allocating memory and never freeing it.

Steps: 1. Open Activity Monitor, Memory tab, sorted by Memory 2. Open my project in UE 3. Open my PlayerPawn Blueprint in the Blueprint Editor 4. Add breakpoint to SetWorldLocation node 5. Click Play 6. "W" to move my ship, thus causing the breakpoint to be hit.

Now just wait, and watch the memory usage in Activity Monitor. It rises from 1.2 GB to 5+ GB over ~30 seconds. I am doing nothing during this time, just watching the memory go up in Activity Monitor. Stopping the debugger releases the memory immediately.

This is a very, very simple project, with a simple blueprint based on the TwinStick template. I can easily upload it if someone wants to look at why its freezing.

Thanks!

  • Joe

Product Version: UE 4.16
Tags:
more ▼

asked Jul 23 '17 at 11:02 PM in Bug Reports

avatar image

jangellx
11 1 3

avatar image jangellx Jul 24 '17 at 12:03 AM

Link to the project. It's 1.1 GB (I just zipped the whole project dir), so let me know when you have it so I can remove it from my Dropbox: https://www.dropbox.com/s/w0jkulgwte9ujtz/NewtonTest%20-%20Editor%20Freeze.zip?dl=0

In the short term I worked around the problem with Print String nodes (turns out I just had the movement speed set way too low, and the code works). A friend of mine was able to reproduce the problem on his system as well, so it' snot just me. :) But it does seem specific to this Blueprint, as he has been debugging other Blueprints and not seen this problem.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question