Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Overview Java Memory Management  RSS feed

 
Markus Schmider
Ranch Hand
Posts: 148
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!

Does anybody know a good article or book to get a solid overview on Java memory management?
Getting information about the heap is quite easy. But I need some solid understanding of all the parts to be able to troubleshoot different out-of-memory errors.

Thanks,

Hans
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you specifically asking about java garbage collection?
This article gives input about tuning the GC.
 
Markus Schmider
Ranch Hand
Posts: 148
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for you reply.
No at the moment we dont try to finetune GC. And I think I have a fundamental understanding about the heap. We are looking esp. for more information about the non-heap part of the JVM memory space. For example is there a way to measure the free memory of the stack, where thread stacks are allocated.
In other words some literature which does not only explain heap/GC but all parts of JVM memory management.

Hans
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java Memory Model

Enjoy!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!