My HTML5 project run in Firefox takes about 750MB of browser memory (checked in Task Manager). After changing page to a one that does not contain the embeded UE4 project it takes a while to free the browser’s memory and when I come back to the page containing embeded UE4 project, there are no errors. But, when I refresh the page containing embeded UE4 project, the browser’s memory peaks to about 1500MB and after a while it falls back to 750MB. Sometimes it exceeds 1500MB and then an error occurrs.
FMallocAnsi::Malloc(unsigned long, unsigned int)
FMallocAnsi::Realloc(void*, unsigned long, unsigned int)
FMallocThreadSafeProxy::Realloc(void*, unsigned long, unsigned int)
FMemory::Realloc(void*, unsigned long, unsigned int)
FHeapAllocator::ForAnyElementType::ResizeAllocation(int, int, unsigned long)
__ZN6TArrayIw17FDefaultAllocatorE11CopyToEmptyIwS0_EEvRKS_IT_T0_Ei?
FEmscriptenHttpFileRequest::Process()
int TTypeWrapper<>? TBaseFunctorDelegateInstance?Z()
void TBaseFunctorDelegateInstance(int)
int TBaseDelegate()
FEmscriptenHttpFileRequest::OnError(unsigned int, void*, int)
dynCall_viii
Heap size in project settings is set to , 4096. What else can I do to prevent this from happening? I am pretty sure the project will take up even more memory in the future.
Thank you for any help!