Giter Site home page Giter Site logo

Memory leak + App crash about coinprofits HOT 9 OPEN

AKprisonER avatar AKprisonER commented on July 19, 2024
Memory leak + App crash

from coinprofits.

Comments (9)

blakelee avatar blakelee commented on July 19, 2024 2

Stack overflow seems to not have a lot of information about it. Since you said it's in a fragment I have an idea where to look.

The overview fragment doesn't have any separation. I need to restructure it to mvvm. Once it has some better architecture, maybe the issue will solve itself.

I'm pretty happy with using kotlin so far. Just takes a bit to get used to

from coinprofits.

blakelee avatar blakelee commented on July 19, 2024

I fixed the app crash. Not sure about the memory leak. I've seen the leak app pop up a few times but it hasn't actually reported any leaks for me.

from coinprofits.

AKprisonER avatar AKprisonER commented on July 19, 2024

i think its due to storage permissions it seems

from coinprofits.

AKprisonER avatar AKprisonER commented on July 19, 2024

capture
using canaryleak...it dosent show any leaks in its screen.
Its just keeps showing and memory dump occuring
hgf

from coinprofits.

blakelee avatar blakelee commented on July 19, 2024

Did the new commit fix the crashes for you? Rc1 of lifecycle components broke support with rxlifecycle so rxlifecycle needs to be updated.

That's what's been happening with me. No leaks yet it still pops up. I think it's due to rxlifecycle.

from coinprofits.

AKprisonER avatar AKprisonER commented on July 19, 2024

Memory leak is happening due to FinalizerReference it seems

  1. Coinprofits.model
    2.Coinprofits,fragment

And finally,i came to a conclusion that kotlin is still not perfect for android apps

from coinprofits.

AKprisonER avatar AKprisonER commented on July 19, 2024

How to add multi currency ?
As i am out of USD, like choose display currency from Euro or Krw or Inr

from coinprofits.

blakelee avatar blakelee commented on July 19, 2024

I setup the db so that eventually I could add differing currencies. Coinmarketcap has api calls for different ones. However, the map api only allowed for usd. I'm not sure how I wanted to implement it. I was thinking of having usd be the base and having a multiplier for the other currencies

from coinprofits.

AKprisonER avatar AKprisonER commented on July 19, 2024

Any implementation of other currencies

from coinprofits.

Related Issues (4)

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.