An integrated process for the disposal of solid heterogeneous catalyst particles and heavy residue bottoms recovered from a slurry hydrocracking process by gasification of the heavy residue bottoms to produce synthesis gas, the bottoms containing at least 10% by weight of solid heterogeneous catalyst particles, the process comprising: a. introducing a heavy hydrocarbon feedstock into a slurry hydrocracking zone with a predetermined amount of hydrogen based on the carbon content of the feedstock and solid heterogeneous catalyst particles to produce a slurry hydrocracking zone effluent; b. conveying the slurry hydrocracking zone effluent to a separation zone to separate the slurry hydrocracking zone effluent into converted products and heavy residue bottoms containing the catalyst particles; c. recovering the converted products; d. preparing a flowable slurry of the heavy residue bottoms and catalyst particles; e. passing the slurry of heavy residue bottoms and catalyst particles as a pressurized feed into a membrane wall gasification reactor with a predetermined amount of oxygen and steam based on the carbon content of the feed; f. subjecting the heavy residue bottoms to partial oxidation to produce hydrogen, carbon monoxide and a slag material; g. recovering the hydrogen and carbon monoxide from the reactor in the form of a hot raw synthesis gas; h. passing the hot raw synthesis gas to a steam generating heat exchanger to cool the hot raw synthesis gas and produce steam; i. recovering steam from the heat exchanger and introducing the steam into a turbine to produce electricity; j. recovering the cooled synthesis gas; and k. recovering the slag material from step (f) and recycling it to the inlet of the membrane wall gasification reactor to increase the content of solid ash-forming materials in the membrane wall gasification reactor. a. introducing a heavy hydrocarbon feedstock into a slurry hydrocracking zone with a predetermined amount of hydrogen based on the carbon content of the feedstock and solid heterogeneous catalyst particles to produce a slurry hydrocracking zone effluent; b. conveying the slurry hydrocracking zone effluent to a separation zone to separate the slurry hydrocracking zone effluent into converted products and heavy residue bottoms containing the catalyst particles; c. recovering the converted products; d. preparing a flowable slurry of the heavy residue bottoms and catalyst particles; e. passing the slurry of heavy residue bottoms and catalyst particles as a pressurized feed into a membrane wall gasification reactor with a predetermined amount of oxygen and steam based on the carbon content of the feed; f. subjecting the heavy residue bottoms to partial oxidation to produce hydrogen, carbon monoxide and a slag material; g. recovering the hydrogen and carbon monoxide from the reactor in the form of a hot raw synthesis gas; h. passing the hot raw synthesis gas to a steam generating heat exchanger to cool the hot raw synthesis gas and produce steam; i. recovering steam from the heat exchanger and introducing the steam into a turbine to produce electricity; j. recovering the cooled synthesis gas; and k. recovering the slag material from step (f) and recycling it to the inlet of the membrane wall gasification reactor to increase the content of solid ash-forming materials in the membrane wall gasification reactor.