Cut the fat from the the lock manager. In particular, make sure that there are
no memory allocations when trying to acquire a lock on a particular record.