
Walking a File Tree in Java – Part 3
Lewis experiments with using AI to write a file walker in Java, with some more elaborate stream processing.
Lewis experiments with using AI to write a file walker in Java, with some more elaborate stream processing.
Lewis takes a look at how to use a stream-based approach to walking a file tree.
Lewis looks at how to walk a file tree in Java with the walkFileTree() method and the FileVIsitor interface.
In the final part of this series on memory leaks in Java, Lewis takes a look at the JDK Flight Recorder and JDK Mission Control tools. Together these create a complete tool chain to continuously collect detailed runtime information.
Now that you know about some of the causes of memory leaks in your Java program, Lewis takes a quick look at profilers and other tools that can help you, in particular VisualVM and JConsole.
Lewis looks at how you can use the verbose output from the garbage collector to find memory leaks in your Java program.
In part 4 of this series on memory leaks in Java, Lewis looks at how incorrect or missing equals() and hashCode() methods can cause memory leaks.
Lewis continues his series on how to avoid memory leaks in Java. This week he looks at the effect of string interning on memory.
Lewis provides some more examples of code that can lead to memory leaks, in particular how to use the static modifier.
Computer memory is a vital and scarce resource. So programmers must manage memory with care. Memory leaks can block file resources, reduce memory availability and degrade system performance. Lewis looks at some of the causes of memory leaks in Java.
Stay home. Stay safe. Stay informed. Find information at www.sacoronavirus.co.za
Thank you for completing the form. We're excited that you have chosen to contact us about training. We will process the information as soon as we can, and we will do our best to contact you within 1 working day. (Please note that our offices are closed over weekends and public holidays.)
Our privacy policy ensures your data is safe: Incus Data does not sell or otherwise distribute email addresses. We will not divulge your personal information to anyone unless specifically authorised by you.
If you need any further information, please contact us on tel: (27) 12-666-2020 or email info@incusdata.com