check_allocations now uses optparse to be directly compatible with python2.6.6