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"

Visualisation Tool For memreport

Hi,

I was wondering if there was a Visualisation tool for the output of the command 'memreport'? Similar to the net profiler.

Cheers

EDIT:

Adding true to the Engine\Saved\UnrealBuildTool\BuildConfiguration.xml allowed me to use the mprof commands.

 <?xml version="1.0" encoding="utf-8" ?>
 <Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
     <BuildConfiguration>
     <bUseMallocProfiler>true</bUseMallocProfiler>
     </BuildConfiguration>
 </Configuration>
Product Version: UE 4.15
Tags:
more ▼

asked May 24 '17 at 08:36 AM in Using UE4

avatar image

Joshua_NZ
138 7 13 22

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

1 answer: sort voted first

you can use mprof start, stop, snapshot commands to dump memory. build and run MomoryProfiler2 to view that dump. for your reference, see FMallocProfiler::HandleMProfCommand function. source code path of MemoryProfiler2 is Engine\Source\Programs\MemoryProfiler2.

more ▼

answered May 24 '17 at 09:13 AM

avatar image

joeypark
158 5 3 8

avatar image Joshua_NZ May 24 '17 at 09:31 AM

Thanks for your answer regarding the profiler. I am unable to execute these mprof commands though?

[0105.17][188]Command not recognized: mprof start

avatar image joeypark May 25 '17 at 01:12 AM

sorry, you have to first enable USE_MALLOC_PROFILER macro to 1

avatar image SteveM16 May 20 '19 at 05:03 PM

Don't set the Macro to 1, use bUseMallocProfiler = true; in your game's Target or you won't be able to properly build UnrealHeaderTool (at least in the Switch toolchain)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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