Memory footprint of a Java process by Andrei Pangin

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 พ.ย. 2019
  • Does JVM option '-Xmx4g' mean that the process will consume up to 4 GB RAM? Certainly not. What else can take virtual memory and how much of it?
    The question becomes especially important when running Java in a shared environment or in a container with limited resources. Excessive memory consumption may occur everywhere: from the application code and the libraries to the Java virtual machine and the operating system. While Java memory leaks are usually easy to discover from a heap dump, native memory leaks can be quite confusing.
    During this session we will discuss what structures contribute to the JVM footprint. We will study the real cases of native memory leaks and explore the tools useful in memory allocation analysis.
    Andrei Pangin leads the development of Odnoklassniki social network, specializing in high performance Java servers. He previously worked on HotSpot JVM, which became his favorite topic and area of expertise. Andrei is also known as top #JVM answerer on Stack Overflow and the author of Async-profiler.
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @SirWolf2018
    @SirWolf2018 4 ปีที่แล้ว +25

    This is so useful, I can't thank you enough!

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

    that's what a deep dive looks like. EXCELLENT presentation

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

    This is one of the best presentations I’ve seen, great work, thank you very much

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

    The best video about java memory consuption I have seen so far!
    Thanks a lot for preparing this great talk!

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

    We had been facing issues in production instance of Oracle Service Bus and Weblogic server. Omg this post cleared up so many misconceptions and doubts that we have been going through in our troubleshootings. I really cant thank you enough, this might look simple but it is such deep stuff that application server admins rarely have exposure to. Kudos sir!

  • @java_Marcelo-xx5nw
    @java_Marcelo-xx5nw 3 วันที่ผ่านมา

    Thank you for share!

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

    Immensely informative session. After watching one would be able to perform in-depth analysis of different sections of native memory.
    Grateful for such awesome session.

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

    Incredible! Loved this talk!

  • @cheriviralakiran
    @cheriviralakiran 8 หลายเดือนก่อน

    This is very good coverage in one hour

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

    Extremely informative, thanks!

  • @ravipasumarthy8732
    @ravipasumarthy8732 3 ปีที่แล้ว

    This is one of the excellent talks

  • @kevinwsewell
    @kevinwsewell 2 ปีที่แล้ว

    Thank you soooo much for this video, it was a life saver!!!

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

    Amazing presentation! Well done!

  • @desigooglycom
    @desigooglycom 3 หลายเดือนก่อน +1

    Hi Andrei our application on Kubernetes is consuming lot of page cache, the page cache continues to grow and ultimately container hits memory limit, what should we do?

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

    Круто, спасибо!

  • @marceloortizdesantana9952
    @marceloortizdesantana9952 3 ปีที่แล้ว

    Thanks! Help a lot!!!

  • @Capibara1
    @Capibara1 3 ปีที่แล้ว

    Great talk!

  • @Gabriel-sc3mg
    @Gabriel-sc3mg 3 หลายเดือนก่อน

    i'm facing a huge problem of memory increasing and it does not seen to be the heap i'll use this material to try to find ou what could be.
    thank you very much

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

    Wonderful presentation with great insights, thanks a lot. Regarding adaptive policy, I was reading at some place that in case of Parallel GC, enabling adaptive policy change heap generation sizes dynamically to meet latency and throughput Goals. Can you comment on that?

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

    Another big footprint (at least for large heaps without large pages is OS Pagetables. This only shows up in Linux slab info (fortunately it’s very linear to application page count).

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

    anyone help please, where can I get the presentation slides from ?

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

    Why memory is rocket science in Java?

    • @cosmowanda6460
      @cosmowanda6460 2 หลายเดือนก่อน

      Anything memory related sounds like rocket science if you skipped your operating systems course.

  • @chromosome24
    @chromosome24 3 ปีที่แล้ว

    pshh! Just download more memory.

  • @pratikadhau5885
    @pratikadhau5885 4 ปีที่แล้ว

    I too second @SirWolf2018