收藏
回答

小程序意外退出,请稍后重试 wx.onMemoryWarning 也没被调用啊?




1. 加载几页后就开始出现强退的现象

2. 用户的头像尺寸是不小,但是这些被包在scoll-view 里面的且 image 组件开启了懒加载

3. wx.onMemoryWarning 也没被调用

@官方 @微信  (这种有用嘛~)

4. 设备相关参数

{
    "language": "zh_CN", 
    "wifiEnabled": true, 
    "safeArea": {
        "bottom": 778, 
        "height": 734, 
        "top": 44, 
        "width": 375, 
        "left": 0, 
        "right": 375
    }, 
    "bluetoothEnabled": true, 
    "locationAuthorized": true, 
    "deviceOrientation": "portrait", 
    "notificationSoundAuthorized": true, 
    "screenHeight": 812, 
    "windowHeight": 730, 
    "version": "7.0.5", 
    "fontSizeSetting": 17, 
    "system": "iOS 13.1", 
    "notificationAuthorized": true, 
    "statusBarHeight": 44, 
    "windowWidth": 375, 
    "pixelRatio": 3, 
    "notificationBadgeAuthorized": true, 
    "locationEnabled": true, 
    "batteryLevel": 44, 
    "model": "iPhone X (GSM+CDMA)<iPhone10,3>", 
    "screenWidth": 375, 
    "microphoneAuthorized": true, 
    "cameraAuthorized": true, 
    "albumAuthorized": true, 
    "notificationAlertAuthorized": true, 
    "brand": "iPhone", 
    "platform": "ios", 
    "SDKVersion": "2.8.1", 
    "networkType": "wifi", 
    "level": 44, 
    "isCharging": false }


回答关注问题邀请回答
收藏

3 个回答

  • Yrobot
    Yrobot
    2020-06-24

    我这边也是,canvas 在ios上有内存泄漏的问题,多画了几次谈了内存不足的弹窗之后就闪退了,wx.onMemoryWarning的showToast逻辑也没触发,很迷

    2020-06-24
    有用
    回复
  • 微ta信
    微ta信
    2019-09-04

    帖子就没下文了吗?@官方 @微信 能不能解决至少先说明一下啊》》》

    2019-09-04
    有用
    回复 1
    • 微ta信
      微ta信
      2019-09-04回复田伟江
      每个手机都存在这个问题我就不问官方,自己找bug了
      2019-09-04
      回复
  • 疯狂的小辣椒
    疯狂的小辣椒
    2019-09-03

    是必现的么?请提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

    2019-09-03
    有用
    回复 8
    • 微ta信
      微ta信
      2019-09-03

      这个我们代码也不好剥离出来给你看啊,我的iphoneX 13的系统是每次必现的。加好友我发给线上的小卡片给你看看阔以嘛

      2019-09-03
      回复
    • 疯狂的小辣椒
      疯狂的小辣椒
      2019-09-03回复微ta信

      麻烦再复现一次,然后在手机微信那里上传下日志: 我->设置->帮助与反馈右上角有个上报日志的入口,麻烦提供一下微信号,复现的时间点

      2019-09-03
      回复
    • 微ta信
      微ta信
      2019-09-03回复疯狂的小辣椒
      微信号:f757148586 复现时间点:2019/9/3 14:58 日志已上传完成
      2019-09-03
      回复
    • 微ta信
      微ta信
      2019-09-03回复微ta信
      有结果了吗?
      2019-09-03
      回复
    • 虫虫虫。
      虫虫虫。
      2019-10-25回复疯狂的小辣椒
      您好,这个问题有答案了吗?
      2019-10-25
      回复
    查看更多(3)
登录 后发表内容
问题标签