thank you for your post.
Under regular circumstances, the only object you need to delete is the engine. The engine is responsible for deleting all the variables, rules, and objects allocated. A
delete engine should be enough to free your memory.
If you still have issues, please share the code you are using.