How to find MEMORY LEAKS in Ionic Angular Apps

Поділитися
Вставка

КОМЕНТАРІ • 28

  • @AGUNGKAYA
    @AGUNGKAYA 5 місяців тому

    Thanks the Captain of Ionic. I really need this.

  • @emreaka3965
    @emreaka3965 Рік тому +3

    Thank you, Simon. ^^ Your channel is my only resource for Angular and Ionic! :D

  • @ADiaryForMyFuneral
    @ADiaryForMyFuneral 2 роки тому +3

    Fantastic video. This knowledge is incredibly important as your grow your app. Thank you Simon!

  • @braveitor
    @braveitor 2 роки тому +2

    What you found weird about the subscribtions object is that it is written "subscription". Nice video, btw. It's hard to find this kind of issues in the apps, and is not widely known, so these fixes are gold!

    • @galaxies_dev
      @galaxies_dev  2 роки тому +1

      Yeah I should have used plural - and glad you enjoyed the video!

  • @quickmaths4762
    @quickmaths4762 Місяць тому

    Thanks for the video Simon, as always. One question: if we did all the memory-deallocating things correctly, then we should have only 0 or 1 Page objects, after entering a page multiple times, correct? So there is no way that even when doing everything correctly, more of the same page class exist in memory?
    To rephrase my question:
    is the 0or1 pages created a good indicator, that we did everything correctly with memory for a page?

  • @MarcosVinicius-gj6qg
    @MarcosVinicius-gj6qg 2 роки тому +1

    Thank's Simon! It will help a lot here.

  • @rafiaumar6087
    @rafiaumar6087 Рік тому +1

    Perfect Video Find this at perfect time:) Thanks SIMON😊

  • @adel_dx
    @adel_dx 2 роки тому +2

    Great video. Simon, I hope you talk about Ionic with angularfire for performance.
    Why when using Angularfire with Ionic the app launch increases 3 seconds even use --prod tag
    New ionic app = 2 seconds on android
    New ionic app with angularfire = 5 seconds on android

  • @fabiandelarosa6941
    @fabiandelarosa6941 2 роки тому +2

    Good video Simon Thanks

  • @arleonzemtsop3421
    @arleonzemtsop3421 2 роки тому +2

    Good video thank's Simon 🙏.

  • @Ali-ys7ej
    @Ali-ys7ej 2 роки тому +2

    If you use Promise instead of observable or convert the observable to a promise , does it resolve the problem of memory leak ?

    • @yevheniiherasymchuk
      @yevheniiherasymchuk 2 роки тому +2

      the problem of memory leak is a bit deeper,
      in most cases it's about keeping the explicit refs to the unused structures. It might be achieved with promises as well. I'm sure that example with observable was used as "most common" in angular apps

  • @anandkothari2713
    @anandkothari2713 2 роки тому

    I have an angular 8 SSR app that causes memory leaks on the server
    it keeps on increasing memory on the server when the application is in use and opened by many users. Even Unsubscribe all subscriptions on ngOnDestroy but doesn't work, still memory leaks persist
    Also there is no js intervals too
    Not able to find whats the issue and whats the correct way to solve the problem

    • @xzestr
      @xzestr 8 місяців тому

      I have the same problem. Did you find the solution?

  • @娱记传
    @娱记传 2 роки тому +1

    I would like to ask how to make an APP with short videos like Tiktok using ionic, because short videos are becoming more and more popular now

    • @galaxies_dev
      @galaxies_dev  2 роки тому

      You can use a plugin to record videos, but not sure how you would implement the video editing functionality!

  • @GeilAlterHoahoa
    @GeilAlterHoahoa 2 роки тому +1

    Hi Simon

  • @mdomerarafat4611
    @mdomerarafat4611 2 роки тому +7

    Ionic itself is a memory leak :p

  • @jonathangomes7539
    @jonathangomes7539 2 роки тому +1

    Google maps very slow 20k markers help me

    • @galaxies_dev
      @galaxies_dev  2 роки тому +2

      Use less markers. Only show them for a specific radius, 20k is just too much to render I guess!