this script can delete dead body after 10 seconds ( you can change the time, open it and set 20000 means 20 second)
put it in your scripts folder like : C:\Games\Grand Theft Auto\scripts
even when you near the dead body.

.this can really help your CPU if you're dealing with many peds and rockstar editor and avoid crash
.
credits: chatGPT the GOAT