Detecting, locating and fixing referenced based heap memory leaks (Java)

A common problem we all have to deal with is fixing memory leaks. In garbage collecting languages like Java we typically expect not to ever need to worry about memory management. However the limitations of how a garbage collector works means that we can still create leaks. Which defeats the advantage of a garbage collector. … Read more

Python on Windows: How to get network protocol statistics

Just something I was playing around with today that I thought I might share. I was curious about how to get network statistics in windows so I’ve been reading MSDN all day trying to work it out. I’ve written a little bit of python using the ctypes module to access the API on network statistics. All I … Read more

Installing the link layer topology discovery (LLTD) protocol responder on Debian Linux

This post on how to install the LLTD is largely ripped off from http://www.howtoforge.com/installing-the-lltd-protocol-responder-for-linux-on-debian-lenny and made a bit more direct for those that just want to make it work and not pay attention to what you’re doing! Like me! So let’s dive right in. On some debian systems you may need to specifically find the correct headers … Read more