Answer Posted / nilesh bhil
Garbage collector is automatically called by JVM.
But can make the request by calling gc() method on System class as follows.
System.gc();
Note that we are making only request Garbage Collector may
called or may not called.
Garbage Collector is automatically called at two conditions.
1)When CPU is ideal.
2)When huge amount of memory is required.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Why use a datasource when you can directly specify a connection details? (in a J2EE application)
What is chat area? Explain.
How to pass parameters in RMI?
Explain how will the struts know which action class to call when you submit a form?
How messaging services are done, before release of JMS?
What are the different methods of identifying an object?
Describe responsibilities of Activator?
What is the purpose of the notify() method?
whats is statement and procedure
What is TL and its use?
What must a class do to implement an interface?
When is the best time to validate input?
To identify IDL language what mapping mechanism is used?
what are memory considerations of jsp compares to other web components?
How will you pass parameters in RMI? Why do you serialize?