Is it possible to force garbage collection and how?
Answers
Answered by
0
Answer:
Your best option is to call System. gc() which simply is a hint to the garbage collector that you want it to do a collection. There is no way to force and immediate collection though as the garbage collector is non-deterministic
Answered by
2
Answer:
it is not possible to force garbage
Explanation:
hope it's help you
please make me as brilliant
Similar questions
Social Sciences,
1 month ago
Math,
1 month ago
English,
9 months ago
Physics,
9 months ago
Math,
9 months ago