The only way stuff can get back on your computer after you deleted it is if you use system restore or a "go back" program to go back to a previous day in the history of the computer. Then all of your "trash" winds up back on the computer.
Are you saying your
macbook does not have a restore program or a motherboard?
Motherboards usually only last a few years. They control the whole thing.
P.S. Do you mean "losing" memory?