After reading several articles, it became clear that the Garbage Collector , independently determines which objects have become 'garbage' and independently clears the memory of these objects.
Calling the method for garbage collection will not bring any results, as the garbage collector takes care of all the operations on its own and so that nothing breaks it will ignore the compulsory garbage collection commands.
The question is: is it possible to force the garbage collector not to delete an object from memory and subsequently receive it?