Is it possible with SAP ASE to limit the number of locks per transaction? For example, we have 5 million locks available total, but only let one transaction hold up to 1 million max at a time? I'm not saying have it custom per transaction, but the idea is to limit it so one unknown bad transaction can't to run away and consume all 5 million, thus hanging the system.
Furthermore, what is the average system resources needed (RAM wise) for adding more locks? We found it to need roughly 1gb per 4 million additional locks.