Unused materials /objects not deleted

Hi,

My blendfile is to big (5GB) because already deleted objects that still excist. I also get extreem render times, 4 minutes for 10 sample render from bright simple interiour. I get the feeling this also is because of the excees data in the file.
In the beginning I imported some objects to see what looks nice. After this I deleted all objects that were not needed anymore.

I have done:
file > clean up > all the options
object > clean up > remove unused data
outliner > orphan data > purge
ofcourse save and reload

The materials present from objects that I already deleted (greyed-out in list). What to do to get these removed completely?

When I look into the data I come across objects that I already deleted (greyed out but still in list).

At this point just make a new file and bring in what you need, only what you need. Try splitting your scenes into local and linked data too : the assets live in individual files, your main scene contains only references (links) to them.

A new blend for the removal of the deleted objects > that works great! I opened a new file and appended the scene. Saved, it went from 4 GB to 1,8 GB. Thank you for this, great help! Will remember to do this in the future.

I will close this topic and ask the duplicate material question in another.