Giter VIP home page Giter VIP logo

Comments (7)

codebutler avatar codebutler commented on May 29, 2024

Yikes! That's no good.

Can you give 0.05 a try and let me know if it looks any better?
http://cloud.github.com/downloads/codebutler/foursquarex/FoursquareX-0.05.zip

I definitely fixed a few memory leaks, and I'll continue to keep an eye out for other problems.

Thanks!

from foursquarex.

stefanv avatar stefanv commented on May 29, 2024

Running 0.05, I noticed about 300Mb being used after a day. Is there a way to check the version number so I can make sure this is, in fact, 0.05? Further, how do we help to debug the memory leaks?

from foursquarex.

codebutler avatar codebutler commented on May 29, 2024

If the dock icon isn't hidden (an option in Preferences), you can select About from the FoursquareX menu to see the version.

The "Instruments" tool, which ships with XCode, is useful for finding memory leaks: http://www.cimgf.com/2008/04/02/cocoa-tutorial-fixing-memory-leaks-with-instruments/

If anyone has some spare cycles to help track the last few leaks down, that would be great!

from foursquarex.

stefanv avatar stefanv commented on May 29, 2024

Thanks for the tip. I verified that I was still running 0.04, even after the update manager "updated". I'll try again with 0.06.

from foursquarex.

stefanv avatar stefanv commented on May 29, 2024

Thanks, 0.06 is looking much better! I'll monitor via Instruments.

from foursquarex.

stefanv avatar stefanv commented on May 29, 2024

Busy figuring out how to use Instruments. In the meantime, I can describe steps needed to leak memory:

  1. Show map
  2. Click on Venues
  3. Click "refresh"
  4. Memory use goes up
  5. Refresh fails: "Failed to find your location: The operation could not be completed. (kCLErrorDomain error 0.)
  6. Memory is not released.

Hit "refresh" to leak again.

from foursquarex.

zephoria avatar zephoria commented on May 29, 2024

Unfortunately, I'm also running into pretty severe memory leaks with 0.06. Virtual memory usage starts out around 207MB but quickly goes up to 1.2GB after a quick check-in and a map look.

from foursquarex.

Related Issues (20)

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.