Sponsored Links


Results 1 to 2 of 2

Thread: what is garbage collection

  1. #1
    Senior Member saneha's Avatar
    Join Date
    Apr 2011
    Posts
    266

    Icon16 what is garbage collection

    Sponsored Links1



  2. #2
    Administrator Vuhelper's Avatar
    Join Date
    Apr 2011
    Posts
    9,578

    29 what is garbage collection

    If a program continues to allocate memory for data buffers and eventually exceeds the physical memory capacity, the operating system then has to place parts of the program in virtual memory (on disk) in order to continue, which slows down processing. Writing the code to deallocate memory after a routine no longer needs it is a tedious task that programmers often forget to do. Java performs automatic garbage collection without programmer intervention, which eliminates this coding headache.
    Then there a method available in java to run Garbage collection forcefully. System.gc(); method to force the garbage collection on that object.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 08-03-2012, 05:30 PM
  2. Replies: 0
    Last Post: 08-02-2012, 06:29 PM
  3. Replies: 0
    Last Post: 08-02-2012, 05:57 PM
  4. Replies: 0
    Last Post: 08-02-2012, 04:11 PM
  5. Eid Collection - Mid Summer Collection - Mehdi Prints 2012 Eid Collection
    By saadhassaninvincible in forum Eid Celebration
    Replies: 0
    Last Post: 07-14-2012, 02:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft | Jobs