Course Catalog
Curriculum Guides
  .NET
  Java/J2EE
  XML
Downloads
Buy Courseware
Customization
News
Authors
Technical Library
FAQ
About Object Innovations
Opportunities
Contact Us
Home

 

 

   
www.objectinnovations.com
info@objectinnovations.com
877-558-7246 (toll free)  
781-466-8012  


Resource Deallocation in COM and Java

by Robert J. Oberg

A significant issue in programming is proper deallocation of resources. A common example is deallocating memory which has previously been allocated dynamically. If the program does not deallocate such memory, there will be a "memory leak."

There are various ways in which a failure to deallocate resources can manifest. In an application that runs for only a limited time, some memory leaks may be benign, as the system may automatically reclaim memory when the system is shut down. For a long-running program, such as on a server, the damage may build over time, and performance may begin to suffer and the system eventually crash.

Robert Oberg's "Resource Deallocation in COM and Java" article explains the steps that you can take to avoid writing code that causes memory leaks.

Click here to download the article.