i want to use memoryprofiler2 ,so i set bUseMallocProfiler to true ,but program will crash just run begin like that
#if BINNED2_ALLOCATOR_STATS
int64 FMallocBinned2::GetTotalAllocatedSmallPoolMemory() const
{
int64 FreeBlockAllocatedMemory = 0;
{
FScopeLock Lock(&Private::FreeBlockListsRegistrationMutex);//**crash here**
for (const FPerThreadFreeBlockLists* FreeBlockLists : Private::RegisteredFreeBlockLists)
{
FreeBlockAllocatedMemory += FreeBlockLists->AllocatedMemory;
}
FreeBlockAllocatedMemory += FPerThreadFreeBlockLists::ConsolidatedMemory;
}
return AllocatedSmallPoolMemory + FreeBlockAllocatedMemory;
}
#endif
is any one like me?