Java Memory Management

  • Course details

    By taking the time to learn how memory works in Java, you can avoid introducing problems in your code, as well as more effectively find and fix any memory errors that still occur. In this hands-on course, join instructor Matt Greencroft as he details how memory works in Java. Matt goes over essential concepts such as the roles of the stack and the heap, escaping references, garbage collection, detecting soft leaks, and more. Plus, he lends a real-world context to these concepts by demonstrating how to hunt for—and fix—a memory leak in a sample Java web application. While Matt works with Eclipse and Java 8 throughout the course, the material he covers is valid for any IDE and Java 6 and above.


    • Click here to view Matt Greencroft’s instructor page

      Matt Greencroft

      Director at Capability Training & Management Ltd

      Matt Greencroft is a full-time trainer and software development consultant.

      Matt works to design and deliver a range of Java-related training courses for the Virtual Pair Programmers brand. With these courses, he helps everyone from beginners to Java experts boost their coding skills. In addition to tech education, Matt uses his gift for public speaking as a professional toastmaster and master of ceremonies.

    Skills covered in this course

  • Introduction

    - Hello, and welcome to this Java Memory Management training course. My name is Matt Greenctoft and I'm going to be your trainer on this course. I've been programming for about the last 20 years and I've been teaching Java Professionals for about the last 5 years. On this course we're covering a topic which I think is really important for all good Java professionals to understand, and that is how memory works in Java. It's important, because with this knowledge you'll make sure you never write any code which could crash with an out of memory error, and if that does happen, well by the end of this course you'll know how to find the source of the problem and fix it. It's going to be a very hands on course, there's going to be lots of code to create and analyze throughout and at the end I'm going to give you an example application, which is a Java web application, which does have a problem in it, and we'll work together to find the source and fix it. Throughout this course you can use…

  • Practice while you learn with exercise files

    Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.

    Download the exercise files for this course. Get started with a free trial today.

  • Download courses and learn on the go

    Watch courses on your mobile device without an internet connection. Download courses using your iOS or Android LinkedIn Learning app.

    Watch this course anytime, anywhere. Get started with a free trial today.