Oil and gas companies in West Texas released hundreds of tons of toxic gases into the air last week as a record-breaking heatwave drove pressure inside pipelines and compressors to dangerously high levels.

One company, Targa Resources, vented more than 500,000 pounds of toxins into the air during 17 reported events over a week-long period of extreme heat.