How to find MEMORY LEAKS in Ionic Angular Apps

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ต.ค. 2024

ความคิดเห็น • 28

  • @emreaka3965
    @emreaka3965 ปีที่แล้ว +3

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

    • @galaxies_dev
      @galaxies_dev  ปีที่แล้ว

      Happy to hear that Emre 🙏

  • @ADiaryForMyFuneral
    @ADiaryForMyFuneral 2 ปีที่แล้ว +3

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

  • @AGUNGKAYA
    @AGUNGKAYA 4 หลายเดือนก่อน

    Thanks the Captain of Ionic. I really need this.

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

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

  • @MarcosVinicius-gj6qg
    @MarcosVinicius-gj6qg 2 ปีที่แล้ว +1

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

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

  • @rafiaumar6087
    @rafiaumar6087 ปีที่แล้ว +1

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

  • @fabiandelarosa6941
    @fabiandelarosa6941 2 ปีที่แล้ว +2

    Good video Simon Thanks

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

  • @arleonzemtsop3421
    @arleonzemtsop3421 2 ปีที่แล้ว +2

    Good video thank's Simon 🙏.

  • @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 7 หลายเดือนก่อน

      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

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

  • @mdomerarafat4611
    @mdomerarafat4611 2 ปีที่แล้ว +7

    Ionic itself is a memory leak :p