Posted On: Feb 22, 2018
Garbage collection is the collection or gaining the memory back from the objects. The memory collected are not in use at the moment in any part of the program where the object is used. This process frees up the memory space that is no longer used by the objects and such. This process is implemented differently in different languages. Most of the high-level programming languages have garbage collection process built into it. Low-level programming languages add garbage collection processes through external libraries. For eg: In C programming language, the garbage collection is taken care of by the user by using the malloc() and dealloc() functions. In C# programming language, the garbage collection is taken care of automatically. Users don’t need to do anything.
Never Miss an Articles from us.
The iNode in Linux is an entry table containing information about the regular file and directory. It can be viewed as a data structure that contains the metadata about the files. The following are the...
There are a number of ways to check for physical memory size on Linux. The popular ways are, Free command: Type the free command to check the physical memory size. free -b //gives the size in bytes ...
The fs put command is used to copy or upload a file from the local filesystem to the specific HDFS. Syntax fs put --from source_path_and_file --to dest_path_and_file ...