UWP Out of Memory crashes on Xbox

  • Hi. My Dev center shows many out of memory crashes for my Xbox UWP game.

    Any idea why this happens or how to prevent it? It usually runs fine when I preview it on my Xbox via Visual Studio. (just some slowdowns but the web interface for performance does not show huge gpu or cpu usage).

    And after hitting remote preview I usually have to restart the console to run the game. If i just launch it it crashes almost everytime but after the restart it works.

    Failure name

    Hits

    Percentage

    e_outofmemory_8007000e_chakra.dll!memory::arenaallocatorbase_memory::inlinecachefreelistpolicy,5,1,1024_::allocfromheap_0_

    63

    91.3 %

    e_outofmemory_8007000e_chakra.dll!memory::arenaallocatorbase_memory::standalonefreelistpolicy,4,0,0_::allocfromheap_0_

    4

    5.8 %

    Unknown

    1

    1.45 %

    fail_fast_fatal_app_exit_8000ffff_wwahost.exe!windowservicemodule::onlayoutpositionchanged

    1

    1.45 %

    one Trace example:

    0

    KERNELBASE.dll

    RaiseException

    0x0000000000000068

    1

    chakra.dll

    ReportFatalException

    0x0000000000000053

    2

    chakra.dll

    OutOfMemory_fatal_error

    0x0000000000000023

    3

    chakra.dll

    Js::Exception::RaiseIfScriptActive

    0x000000000000003A

    4

    chakra.dll

    Js::Throw::OutOfMemory

    0x0000000000000010

    5

    chakra.dll

    Memory::ArenaAllocatorBase_Memory::InlineCacheFreeListPolicy,5,1,1024_::AllocFromHeap_0_

    0x000000000000004A

    6

    chakra.dll

    Memory::ArenaAllocatorBase_Memory::InPlaceFreeListPolicy,4,0,0_::SnailAlloc

    0x00000000000C0837

    7

    chakra.dll

    Memory::ArenaAllocator::Alloc

    0x0000000000000095

    8

    chakra.dll

    Js::ByteCodeWriter::Data::Create

    0x000000000000004F

    9

    chakra.dll

    Js::ByteCodeWriter::InitData

    0x000000000000007E

    10

    chakra.dll

    Js::WasmByteCodeWriter::InitData

    0x0000000000000020

    11

    chakra.dll

    Wasm::WasmBytecodeGenerator::WasmBytecodeGenerator

    0x00000000000001BC

    12

    chakra.dll

    Wasm::WasmBytecodeGenerator::GenerateFunctionBytecode

    0x0000000000000043

    13

    chakra.dll

    Js::WasmLibrary::WasmDeferredParseEntryPoint

    0x0000000000000084

    14

    chakra.dll

    Js::WasmLibrary::WasmDeferredParseInternalThunk

    0x000000000000003D

    15

    chakra.dll

    Js::JavascriptFunction::CallAsmJsFunction_int_

    0x000000000000010F

    16

    chakra.dll

    Js::InterpreterStackFrame::OP_CallAsmInternal

    0x0000000000000091

    17

    chakra.dll

    Js::InterpreterStackFrame::ProcessAsmJs

    0x0000000000000162

    18

    chakra.dll

    Js::InterpreterStackFrame::Process

    0x000000000017493D

    19

    chakra.dll

    Js::InterpreterStackFrame::InterpreterHelper

    0x00000000000004B5

    20

    chakra.dll

    Js::InterpreterStackFrame::AsmJsInterpreter_int_

    0x00000000000000B6

    21

    chakra.dll

    Js::InterpreterStackFrame::InterpreterAsmThunk

    0x0000000000000044

    22

    unknown.dll

    0x0000000000000000

    23

    chakra.dll

    Js::JavascriptFunction::CallAsmJsFunction_int_

    0x000000000000010F

    24

    chakra.dll

    Js::InterpreterStackFrame::OP_CallAsmInternal

    0x0000000000000091

    25

    chakra.dll

    Js::InterpreterStackFrame::ProcessAsmJs

    0x0000000000000162

    26

    chakra.dll

    Js::InterpreterStackFrame::Process

    0x000000000017493D

    27

    chakra.dll

    Js::InterpreterStackFrame::InterpreterHelper

    0x00000000000004B5

    28

    chakra.dll

    Js::InterpreterStackFrame::AsmJsInterpreter_int_

    0x00000000000000B6

    29

    chakra.dll

    Js::InterpreterStackFrame::InterpreterAsmThunk

    0x0000000000000044

    30

    unknown.dll

    0x0000000000000000

    31

    chakra.dll

    Js::AsmJsExternalEntryPoint

    0x00000000000000CD

    32

    chakra.dll

    amd64_CallFunction

    0x0000000000000086

    33

    chakra.dll

    Js::JavascriptFunction::CallFunction_1_

    0x0000000000000098

    34

    chakra.dll

    Js::JavascriptFunction::CalloutHelper_0_

    0x0000000000000194

    35

    chakra.dll

    Js::JavascriptFunction::EntryApply

    0x0000000000000105

    36

    chakra.dll

    amd64_CallFunction

    0x0000000000000086

    37

    chakra.dll

    Js::InterpreterStackFrame::OP_CallCommon_Js::OpLayoutDynamicProfile_Js::OpLayoutT_CallIWithICIndex_Js::LayoutSizePolicy_0_ _ _ _

    0x00000000000000DE

    38

    chakra.dll

    Js::InterpreterStackFrame::OP_ProfiledCallIWithICIndex_Js::OpLayoutT_CallIWithICIndex_Js::LayoutSizePolicy_0_ _ _

    0x00000000000000AA

    39

    chakra.dll

    Js::InterpreterStackFrame::ProcessProfiled

    0x0000000000000149

    40

    chakra.dll

    Js::InterpreterStackFrame::Process

    0x0000000000000125

    41

    chakra.dll

    Js::InterpreterStackFrame::InterpreterHelper

    0x00000000000004B5

    42

    chakra.dll

    Js::InterpreterStackFrame::InterpreterThunk

    0x0000000000000052

    43

    unknown.dll

    0x0000000000000000

    44

    chakra.dll

    amd64_CallFunction

    0x0000000000000086

    45

    chakra.dll

    Js::InterpreterStackFrame::OP_CallCommon_Js::OpLayoutDynamicProfile_Js::OpLayoutT_CallIWithICIndex_Js::LayoutSizePolicy_0_ _ _ _

    0x00000000000000DE

    46

    chakra.dll

    Js::InterpreterStackFrame::OP_ProfiledCallIWithICIndex_Js::OpLayoutT_CallIWithICIndex_Js::LayoutSizePolicy_0_ _ _

    0x00000000000000AA

    47

    chakra.dll

    Js::InterpreterStackFrame::ProcessProfiled

    0x0000000000000149

    48

    chakra.dll

    Js::InterpreterStackFrame::Process

    0x0000000000000125

    49

    chakra.dll

    Js::InterpreterStackFrame::InterpreterHelper

    0x00000000000004B5

    50

    chakra.dll

    Js::InterpreterStackFrame::InterpreterThunk

    0x0000000000000052

    51

    unknown.dll

    0x0000000000000000

    52

    chakra.dll

    amd64_CallFunction

    0x0000000000000086

    53

    chakra.dll

    Js::InterpreterStackFrame::OP_CallCommon_Js::OpLayoutDynamicProfile_Js::OpLayoutT_CallI_Js::LayoutSizePolicy_0_ _ _ _

    0x00000000000001A3

    54

    chakra.dll

    Js::InterpreterStackFrame::OP_ProfiledCallI_Js::OpLayoutT_CallI_Js::LayoutSizePolicy_0_ _ _

    0x00000000000000A9

    55

    chakra.dll

    Js::InterpreterStackFrame::ProcessProfiled

    0x00000000000003FA

    56

    chakra.dll

    Js::InterpreterStackFrame::Process

    0x0000000000000125

    57

    chakra.dll

    Js::InterpreterStackFrame::InterpreterHelper

    0x00000000000004B5

    58

    chakra.dll

    Js::InterpreterStackFrame::InterpreterThunk

    0x0000000000000052

    59

    unknown.dll

    0x0000000000000000

    60

    chakra.dll

    amd64_CallFunction

    0x0000000000000086

    61

    chakra.dll

    Js::InterpreterStackFrame::OP_CallCommon_Js::OpLayoutDynamicProfile_Js::OpLayoutT_CallI_Js::LayoutSizePolicy_0_ _ _ _

    0x00000000000001A3

    62

    chakra.dll

    Js::InterpreterStackFrame::OP_ProfiledCallI_Js::OpLayoutT_CallI_Js::LayoutSizePolicy_0_ _ _

    0x00000000000000A9

    63

    chakra.dll

    Js::InterpreterStackFrame::ProcessProfiled

    0x00000000000003FA

    64

    chakra.dll

    Js::InterpreterStackFrame::Process

    0x0000000000000125

    65

    chakra.dll

    Js::InterpreterStackFrame::InterpreterHelper

    0x00000000000004B5

    66

    chakra.dll

    Js::InterpreterStackFrame::InterpreterThunk

    0x0000000000000052

    67

    unknown.dll

    0x0000000000000000

    68

    chakra.dll

    amd64_CallFunction

    0x0000000000000086

    69

    chakra.dll

    Js::InterpreterStackFrame::OP_CallCommon_Js::OpLayoutDynamicProfile_Js::OpLayoutT_CallI_Js::LayoutSizePolicy_0_ _ _ _

    0x00000000000001A3

    70

    chakra.dll

    Js::InterpreterStackFrame::OP_ProfiledCallI_Js::OpLayoutT_CallI_Js::LayoutSizePolicy_0_ _ _

    0x00000000000000A9

    71

    chakra.dll

    Js::InterpreterStackFrame::ProcessProfiled

    0x00000000000003FA

    72

    chakra.dll

    Js::InterpreterStackFrame::Process

    0x0000000000000125

    73

    chakra.dll

    Js::InterpreterStackFrame::InterpreterHelper

    0x00000000000004B5

    74

    chakra.dll

    Js::InterpreterStackFrame::InterpreterThunk

    0x0000000000000052

    75

    unknown.dll

    0x0000000000000000

    76

    chakra.dll

    amd64_CallFunction

    0x0000000000000086

    77

    chakra.dll

    Js::JavascriptFunction::CallFunction_1_

    0x0000000000000098

    78

    chakra.dll

    Js::InterpreterStackFrame::OP_CallI_Js::OpLayoutDynamicProfile_Js::OpLayoutT_CallI_Js::LayoutSizePolicy_0_ _ _ _

    0x00000000000000EE

    79

    chakra.dll

    Js::InterpreterStackFrame::ProcessUnprofiled

    0x000000000000048E

    80

    chakra.dll

    Js::InterpreterStackFrame::Process

    0x00000000000001A8

    81

    chakra.dll

    Js::InterpreterStackFrame::InterpreterHelper

    0x00000000000004B5

    82

    chakra.dll

    Js::InterpreterStackFrame::InterpreterThunk

    0x0000000000000052

    83

    unknown.dll

    0x0000000000000000

    84

    chakra.dll

    amd64_CallFunction

    0x0000000000000086

    85

    chakra.dll

    Js::JavascriptFunction::CallFunction_1_

    0x0000000000000098

    86

    chakra.dll

    Js::InterpreterStackFrame::OP_CallI_Js::OpLayoutDynamicProfile_Js::OpLayoutT_CallI_Js::LayoutSizePolicy_0_ _ _ _

    0x00000000000000EE

    87

    chakra.dll

    Js::InterpreterStackFrame::ProcessUnprofiled

    0x000000000000048E

    88

    chakra.dll

    Js::InterpreterStackFrame::Process

    0x00000000000001A8

    89

    chakra.dll

    Js::InterpreterStackFrame::OP_TryCatch

    0x0000000000000064

    90

    chakra.dll

    Js::InterpreterStackFrame::ProcessUnprofiled

    0x0000000000000E86

    91

    chakra.dll

    Js::InterpreterStackFrame::Process

    0x00000000000001A8

    92

    chakra.dll

    Js::InterpreterStackFrame::InterpreterHelper

    0x00000000000004B5

    93

    chakra.dll

    Js::InterpreterStackFrame::InterpreterThunk

    0x0000000000000052

    94

    unknown.dll

    0x0000000000000000

    95

    chakra.dll

    amd64_CallFunction

    0x0000000000000086

    96

    chakra.dll

    Js::JavascriptFunction::CallFunction_1_

    0x0000000000000098

    97

    chakra.dll

    Js::InterpreterStackFrame::OP_CallI_Js::OpLayoutDynamicProfile_Js::OpLayoutT_CallI_Js::LayoutSizePolicy_0_ _ _ _

    0x00000000000000EE

    98

    chakra.dll

    Js::InterpreterStackFrame::ProcessUnprofiled

    0x000000000000048E

    99

    chakra.dll

    Js::InterpreterStackFrame::Process

    0x00000000000001A8

    100

    chakra.dll

    Js::InterpreterStackFrame::InterpreterHelper

    0x00000000000004B5

    101

    chakra.dll

    Js::InterpreterStackFrame::InterpreterThunk

    0x0000000000000052

    102

    unknown.dll

    0x0000000000000000

    103

    chakra.dll

    amd64_CallFunction

    0x0000000000000086

    104

    chakra.dll

    Js::JavascriptFunction::CallFunction_1_

    0x0000000000000098

    105

    chakra.dll

    Js::InterpreterStackFrame::OP_CallI_Js::OpLayoutDynamicProfile_Js::OpLayoutT_CallIWithICIndex_Js::LayoutSizePolicy_0_ _ _ _

    0x00000000000000F3

    106

    chakra.dll

    Js::InterpreterStackFrame::ProcessUnprofiled

    0x0000000000000201

    107

    chakra.dll

    Js::InterpreterStackFrame::Process

    0x00000000000001A8

    108

    chakra.dll

    Js::InterpreterStackFrame::InterpreterHelper

    0x00000000000004B5

    109

    chakra.dll

    Js::InterpreterStackFrame::InterpreterThunk

    0x0000000000000052

    110

    unknown.dll

    0x0000000000000000

    111

    chakra.dll

    amd64_CallFunction

    0x0000000000000086

    112

    chakra.dll

    Js::JavascriptFunction::CallFunction_1_

    0x0000000000000098

    113

    chakra.dll

    Js::JavascriptFunction::CallRootFunctionInternal

    0x0000000000000105

    114

    chakra.dll

    Js::JavascriptFunction::CallRootFunction

    0x000000000000007E

    115

    chakra.dll

    ScriptSite::CallRootFunction

    0x000000000000006D

    116

    chakra.dll

    ScriptSite::Execute

    0x000000000000012B

    117

    chakra.dll

    ScriptEngineBase::Execute

    0x00000000000000B6

    118

    edgehtml.dll

    CJScript9Holder::ExecuteCallbackDirect

    0x000000000000003D

    119

    edgehtml.dll

    CJScript9Holder::ExecuteCallback

    0x0000000000000018

    120

    edgehtml.dll

    CListenerDispatch::InvokeVar

    0x0000000000000258

    121

    edgehtml.dll

    CListenerDispatch::Invoke

    0x00000000000000BD

    122

    edgehtml.dll

    CEventMgr::_InvokeListeners

    0x0000000000000307

    123

    edgehtml.dll

    CEventMgr::Dispatch

    0x00000000000005D4

    124

    edgehtml.dll

    CMessagePort::HandlePostMessage

    0x000000000000027D

    125

    edgehtml.dll

    CMessagePort::HandleNotification

    0x0000000000000034

    126

    edgehtml.dll

    CMessageDispatcher::ProcessNotification

    0x000000000000009D

    127

    edgehtml.dll

    GWndAsyncTask::Run

    0x000000000000001B

    128

    edgehtml.dll

    HTML5TaskScheduler::RunReadiedTask

    0x0000000000000208

    129

    edgehtml.dll

    HTML5TaskScheduler::RunReadiedTasks

    0x00000000000000E3

    130

    edgehtml.dll

    HTML5EventLoopDriver::DriveLowPriorityTaskExecution

    0x0000000000000113

    131

    edgehtml.dll

    GlobalWndOnPaintPriorityMethodCall

    0x0000000000000071

    132

    edgehtml.dll

    GlobalWndProc

    0x0000000000000129

    133

    minuser.dll

    Core::Yield::WndProc

    0x000000000000006E

    134

    minuser.dll

    Core::Window::DeliverMessage

    0x00000000000002F0

    135

    minuser.dll

    Core::Window::DispatchCommon

    0x0000000000000066

    136

    minuser.dll

    minDispatchMessageW

    0x0000000000000097

    137

    combase.dll

    ASTAWaitContext::PumpMessages

    0x000000000000006C

    138

    combase.dll

    ASTAWaitContext::Wait

    0x0000000000000593

    139

    combase.dll

    ASTAWaitInNewContext

    0x00000000000000CA

    140

    combase.dll

    ASTAThreadWaitForHandles

    0x000000000000008C

    141

    combase.dll

    CoWaitForMultipleHandles

    0x00000000000000BB

    142

    edgehtml.dll

    WorkerGlobalScopeThread::RunMessageLoopForASTA

    0x000000000000002F

    143

    edgehtml.dll

    WorkerGlobalScopeThread::RunMessageLoop

    0x00000000004300BF

    144

    edgehtml.dll

    WorkerGlobalScopeThread::RunWorkerGlobalScope

    0x000000000000007B

    145

    edgehtml.dll

    WorkerGlobalScopeThread::RunThread

    0x000000000000005E

    146

    edgehtml.dll

    WorkerGlobalScopeThread::ThreadProc

    0x000000000000000E

    147

    ntdll.dll

    RtlUserThreadStart

    0x000000000000002F

  • Without more information all I can point you to is remember not to waste your memory.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks. I try to further improve memory usage but C3 statusbar and debug shows that it "only" uses about 10MB for images.

    Xbox One should have more than enough memory to run a game with 10MB?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)