Git Product home page Git Product logo

Comments (4)

KevinGAleman avatar KevinGAleman commented on May 25, 2024

Adding on to this, it looks like didReceiveMemoryWarning regularly gets called in TodayViewController.m, which is likely contributing to the problem.

from githubcontributionsios.

JustinFincher avatar JustinFincher commented on May 25, 2024

Can you provide more information like what device are you using, and what version of iOS 10? This widget runs well on my iPhone 5S / 6S with 7MB memory usage, but I did hear people saying it takes too much memory and crashes, so I wonder if this is a problem that differs on different device / OS version. Maybe some version of iOS 10 has a more strict memory policy on today extension, or some version of iOS 10 will take more memory when using SceneKit, I just don't have enough information to know which is true.

from githubcontributionsios.

Cee avatar Cee commented on May 25, 2024

@KevinGAleman

UIView CALayer storage is twice the size on the 7 Plus by default, so every button took twice the memory, and blew past widget memory limit.

Ref: https://twitter.com/jamesthomson/status/777284708254244864

from githubcontributionsios.

KevinGAleman avatar KevinGAleman commented on May 25, 2024

@JustinFincher @Cee I am using an iPhone 7 Plus running iOS 10.1.1. Cee is correct, and I've verified that the PR does seem to address this issue with no crash, though I still get a memory warning.

from githubcontributionsios.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.