Тёмный

Memory footprint of a Java process by Andrei Pangin 

Devoxx
Подписаться 157 тыс.
Просмотров 35 тыс.
50% 1

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.

Наука

Опубликовано:

 

8 ноя 2019

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@FernandoRacca
@FernandoRacca 3 года назад
that's what a deep dive looks like. EXCELLENT presentation
@SirWolf2018
@SirWolf2018 4 года назад
This is so useful, I can't thank you enough!
@leozilla
@leozilla Год назад
The best video about java memory consuption I have seen so far! Thanks a lot for preparing this great talk!
@amez44
@amez44 2 года назад
This is one of the best presentations I’ve seen, great work, thank you very much
@sgerardpandian
@sgerardpandian 3 года назад
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!
@YousufZiaTheOneAndOnly
@YousufZiaTheOneAndOnly 2 года назад
Incredible! Loved this talk!
@cheriviralakiran
@cheriviralakiran 7 месяцев назад
This is very good coverage in one hour
@sameersarmah1446
@sameersarmah1446 3 года назад
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.
@marcellolorenzi8401
@marcellolorenzi8401 Год назад
Amazing presentation! Well done!
@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!!!
@Natalicha1234
@Natalicha1234 4 года назад
Круто, спасибо!
@Capibara1
@Capibara1 3 года назад
Great talk!
@marceloortizdesantana9952
@marceloortizdesantana9952 3 года назад
Thanks! Help a lot!!!
@desigooglycom
@desigooglycom 3 месяца назад
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?
@berndeckenfels
@berndeckenfels Год назад
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).
@thunkwaltz5571
@thunkwaltz5571 2 года назад
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?
@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
@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.
@pratikadhau5885
@pratikadhau5885 4 года назад
I too second @SirWolf2018
@chromosome24
@chromosome24 3 года назад
pshh! Just download more memory.
Далее
But, what is Virtual Memory?
20:11
Просмотров 241 тыс.
Quickly Analysing A Heap Memory Leak by Jack Shirazi
28:34
Troubleshooting Memory Problems in Java Applications
42:37
The Java memory model explained, Rafael Winterhalter
48:01
A JVM Does That??? by Dr Cliff Click
51:59
Просмотров 19 тыс.
The Java Memory Model - The Basics
23:41
Просмотров 122 тыс.
JVM Mechanics by Douglas Hawkins
49:39
Просмотров 14 тыс.
Telefonu Parçaladım!😱
0:16
Просмотров 25 млн