How to Degas a Tank

So how do you “degas” a tank? In some cases when the combustible liquid is non-toxic, it is permitted to vent the tank off to the atmosphere. Sometimes nitrogen gas is injected to “smother” the flammable vapor space and push/direct vapor to a thermal oxidizer or flare system where it is burned off.