A method for producing vacuum in a vacuum oilstock distillation column, said method comprising: pumping out a vapour-gas medium from the vacuum oilstock distillation column using a gas-gas ejector fed with a steam from a steam generator as a high-pressure gas to form at an outlet of the gas-gas ejector a vapour-gas mixture having a pressure greater than a pressure of the vapour-gas medium at an inlet thereof, supplying the vapour-gas mixture to a condenser followed by cooling thereof and forming a gas mixture and a vapour phase condensate, supplying the gas mixture and pumping a liquid to a liquid-gas jet device with a pump, mixing the gas mixture and the liquid in the liquid-gas jet device to form a gas-liquid mixture at an outlet thereof, supplying the gas-liquid mixture from the liquid-gas jet device to a separator to separate the mixture into a compressed gas and a liquid, supplying the liquid from the separator to the inlet of the pump and discharging the compressed gas from the separator, wherein the vapour phase condensate formed in the condenser is supplied to an additional separator wherein the vapour phase condensate is separated into a water- containing condensate and a hydrocarbon-containing condensate, the hydrocarbon-containing condensate is evacuated from the additional separator, and the water-containing condensate is pumped using an additional pump to a steam generator, wherein heat of a hot distillate evacuated from the vacuum oilstock distillation column or from a petroleum distillation column is supplied to the water-containing condensate to produce steam, and the steam produced in the steam generator is fed to the gas-gas ejector. pumping out a vapour-gas medium from the vacuum oilstock distillation column using a gas-gas ejector fed with a steam from a steam generator as a high-pressure gas to form at an outlet of the gas-gas ejector a vapour-gas mixture having a pressure greater than a pressure of the vapour-gas medium at an inlet thereof, supplying the vapour-gas mixture to a condenser followed by cooling thereof and forming a gas mixture and a vapour phase condensate, supplying the gas mixture and pumping a liquid to a liquid-gas jet device with a pump, mixing the gas mixture and the liquid in the liquid-gas jet device to form a gas-liquid mixture at an outlet thereof, supplying the gas-liquid mixture from the liquid-gas jet device to a separator to separate the mixture into a compressed gas and a liquid, supplying the liquid from the separator to the inlet of the pump and discharging the compressed gas from the separator, wherein the vapour phase condensate formed in the condenser is supplied to an additional separator wherein the vapour phase condensate is separated into a water- containing condensate and a hydrocarbon-containing condensate, the hydrocarbon-containing condensate is evacuated from the additional separator, and the water-containing condensate is pumped using an additional pump to a steam generator, wherein heat of a hot distillate evacuated from the vacuum oilstock distillation column or from a petroleum distillation column is supplied to the water-containing condensate to produce steam, and the steam produced in the steam generator is fed to the gas-gas ejector.