How to find MEMORY LEAKS in Ionic Angular Apps

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024

Комментарии • 28

  • @emreaka3965
    @emreaka3965 Год назад +3

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

  • @quickmaths4762
    @quickmaths4762 16 дней назад

    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?

  • @AGUNGKAYA
    @AGUNGKAYA 4 месяца назад

    Thanks the Captain of Ionic. I really need this.

  • @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

  • @ADiaryForMyFunneral
    @ADiaryForMyFunneral 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!

  • @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

  • @rafiaumar6087
    @rafiaumar6087 Год назад +1

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

  • @娱记传
    @娱记传 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!

  • @fabiandelarosa6941
    @fabiandelarosa6941 2 года назад +2

    Good video Simon Thanks

  • @mdomerarafat4611
    @mdomerarafat4611 2 года назад +7

    Ionic itself is a memory leak :p

  • @arleonzemtsop3421
    @arleonzemtsop3421 2 года назад +2

    Good video thank's Simon 🙏.

  • @MarcosVinicius-gj6qg
    @MarcosVinicius-gj6qg 2 года назад +1

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

  • @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!

  • @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 6 месяцев назад

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

  • @GeilAlterHoahoa
    @GeilAlterHoahoa 2 года назад +1

    Hi Simon