Thursday, December 24, 2009

Java Native Memory Leak DeflaterOutputStream Derby or MySQL

So with some more recent database code. We we're compressing data elements before writing them to the database. Well our servers kept running out of memory. I mean Gigs and Gigs of memory.

Traced it down to if you don't call Session.End() on GZIPOutputStream or DeflaterOutputStream it will leak large amounts of Native memory.

This article has more details.

Native memory leaks suck to debug, took us about a week to find this. I hope this helps some other people.

Ultramon for Windows 7

Ultramon Beta is great for Windows 7

Works like a charm with even nice start menu;s

Download it here

Solution to Skype 3.8 on Windows 7

So I hate Skype 4.0 they just messed too much stuff up for me. So I like to run the old version of skype 3.8 but it doesn't work for Windows 7.

The solution, run Skype 3.6

I can confirm this build works (oldapps.com)

Alcohol 52% Windows 7 mount mds or iso Disk Images

Recently I upgraded to Windows 7. Alcohol 52% no longer works. :-(

Lucky Daemon Tools Lite works on Windows 7 and is a nice replacement. Sometimes I still use Alcohol 52% on Windows Vista to make images

Download this version