1.9.1 生级到2.0.5 ios 设备 闪退 Terminated due to memory issue

进入游戏后,不定时闪退 log最后一条是
Message from debugger: Terminated due to memory issue
之前1.9.1正常

  • Creator 版本:2.0.5

  • 目标平台: iOS

  • 详细报错信息,包含调用堆栈:
    2018-12-05 12:48:10.070164+0800 flipCity-mobile[11780:2849978] [DYMTLInitPlatform] platform initialization successful
    2018-12-05 12:48:10.390886+0800 flipCity-mobile[11780:2849841] info: CocosAnalytics ==> enableLoggin
    2018-12-05 12:48:10.442472+0800 flipCity-mobile[11780:2849841] libMobileGestalt MobileGestaltSupport.m:153: pid 11780 (flipCity-mobile) does not have sandbox access for frZQaeyWLUvLjeuEK43hmg and IS NOT appropriately entitled
    2018-12-05 12:48:10.442569+0800 flipCity-mobile[11780:2849841] libMobileGestalt MobileGestalt.c:550: no access to InverseDeviceID (see rdar://problem/11744455)
    2018-12-05 12:48:10.844238+0800 flipCity-mobile[11780:2849841] FLQG_LOG:info:loadALLPlugin(), Get the supported plugins: [AdsInmobi,AnalyticsUmengGame,]
    Initializing JavaScriptCore
    fullPathForFilename: No file found at jsb-adapter/jsb-builtin.jsc. Possible missing file.
    JS: Enable batch GL commands optimization!
    fullPathForFilename: No file found at main.jsc. Possible missing file.
    fullPathForFilename: No file found at jsb-adapter/engine/index.jsc. Possible missing file.
    fullPathForFilename: No file found at jsb-adapter/engine/jsb-sys.jsc. Possible missing file.
    fullPathForFilename: No file found at jsb-adapter/engine/jsb-game.jsc. Possible missing file.
    fullPathForFilename: No file found at jsb-adapter/engine/jsb-videoplayer.jsc. Possible missing file.
    fullPathForFilename: No file found at jsb-adapter/engine/jsb-webview.jsc. Possible missing file.
    fullPathForFilename: No file found at jsb-adapter/engine/jsb-node.jsc. Possible missing file.
    fullPathForFilename: No file found at jsb-adapter/engine/jsb-audio.jsc. Possible missing file.
    fullPathForFilename: No file found at jsb-adapter/engine/jsb-loader.jsc. Possible missing file.
    fullPathForFilename: No file found at jsb-adapter/engine/jsb-editbox.jsc. Possible missing file.
    fullPathForFilename: No file found at jsb-adapter/engine/jsb-reflection.jsc. Possible missing file.
    fullPathForFilename: No file found at jsb-adapter/engine/jsb-cocosanalytics.jsc. Possible missing file.
    fullPathForFilename: No file found at jsb-adapter/engine/jsb-assets-manager.jsc. Possible missing file.
    glGetIntegerv: pname: 0x8b4c
    glGetIntegerv: pname: 0x8869
    JS: Cocos Creator v2.0.5
    JS: Create unpacker 02a0ae40d for 9aSldN7dJNtaV5lGvac96o
    JS: Create unpacker 0818abfa1 for 12493d8a9
    JS: Create unpacker 019ed92df for 37HipECkVDK6aRAt10LP+N
    JS: Create unpacker 07c4fc67d for 41V2xH75xCQqfzHF4hyIG0
    JS: Create unpacker 032977fbf for 9eVJNLSyJO474IRT99nya5
    JS: Create unpacker 0842c4052 for b6tM9lvElDRoN/uiXI34rD
    JS: Create unpacker 0c53ebd0f for daP/P/mF5KrqFdyIXPzuMB
    JS: Create unpacker 0f53b8bbf for 02sxfuCyRIu6dMTCsJvPK9
    JS: Create unpacker 04a31fb22 for 3dsuD9yuRM7aF7xTUFh6a4
    JS: Create unpacke

    JS: load dict data 3 end…
    JS: Create unpacker 0929a0d7c for 0c9oCgm9RFRoZCdKurgvKM
    JS: LoadScene 0c9oCgm9RFRoZCdKurgvKM: 293.6990000000005ms
    logevent, argc: 1, str: test.
    JS: Create unpacker 067121e70 for 86HwB1yIhPpIg1wd6NTlSX
    JS: LoadScene 86HwB1yIhPpIg1wd6NTlSX: 117.25200000000041ms
    Message from debugger: Terminated due to memory issue

  • 重现方式:

  • 之前哪个版本是正常的 :

  • 手机型号 :

  • 手机浏览器 :

  • 编辑器操作系统 :

  • 编辑器之前是否有其它报错 :

  • 出现概率:
    百分百出
  • 额外线索:

测试设备 6 6s 6p都会出这个问题

我也经常出现。这个看样子是内存泄露了。我在本地调试直接挂在这个位置(Object.mm 的JSObjectCallAsFunction这个方法)

Terminated due to memory issue + 1

iphone xsmax ios最新版本

切换场景频繁就会100出现这个问题

已经考虑试试laya