---
title: "Can be force the garbage collection?"  
description: "Can be force the garbage collection?"  
author: "Amit Singh"  
published: 2011-01-29  
updated: 2020-09-19  
canonical: https://www.mindstick.com/interview/342/can-be-force-the-garbage-collection  
category: "java"  
tags: ["java"]  
reading_time: 1 minute  

---

# Can be force the garbage collection?

Garbage collection automatic process so can't be forced it.

## Answers

### Answer by Anurag Chaurasia

Whenever an unrefrenced memory object is comes into the memory Garbage collecter calls and releases the memory of that object so we can't call forcefully garbage collecter.

### Answer by Amit Singh

Garbage collection automatic process so can't be forced it.


---

Original Source: https://www.mindstick.com/interview/342/can-be-force-the-garbage-collection

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
