Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

Does garbage collection guarantee that a program will not run out of memory?

5 like 0 dislike
Hello
Does garbage collection guarantee that a program will not run out of memory?
please reply me. i am waiting for your reply.
Thanx
asked 1 year ago by eagles11 (179,830 points)

1 Answer

1 like 0 dislike
 
Best answer
Garbage collection does not guarantee that a program will not run out of memory. It is possible for programs to use up memory resources faster than they are garbage collected. It is also possible for programs to create objects that are not subject to garbage collection.
answered 1 year ago by DBA-boss (120,990 points)

Related questions

4 like 0 dislike
0 answers
4 like 0 dislike
0 answers
7 like 0 dislike
1 answer
7 like 0 dislike
1 answer
asked 1 year ago by eagles11 (179,830 points)