Programmer's Heaven - For C C++ Pascal Delphi Visual Basic Assembler C# .Net java JSP ASP ASP.NET Javascript developers!

Members
Username:

Password:

Auto-login

Register
Why register?
Forgot Password?
Blogs new Blog section
Jobs
Webtools
Message Boards
FAQ
CodePedia
Free Magazines
User search
What's New
Top lists
RSS Feeds RSS Feed

Submit content
Contact Us
Link To Us
Help



Advanced Search
Newsletter
E-mail:


More information
Current area: HOME -> C / C++ -> Memory management Articles Adds this page to your personal favorites
  Memory management
A Simple Garbage Collector for C++
The use of dynamically allocated memory must be managed, because it has a tremendous effect on the performance of your programs. The current trend in handling dynamic memory seems to be shifting toward an automated approach. While C++ uses the manual approach for managing dynamic memory, this does not mean that it can't be automated in that language -- thus giving the C++ programmer the best of both worlds. This article explains how to do it.
Visits: 1558 Updated: 2005-11-13  Rating: (Not Rated)  More info & Ratings
C++ Without Memory Errors
A set of slides from a recent talk that describe how C++ programs can be written without _any_ memory errors.
Visits: 11322 Updated: 2001-1-15  Rating: (Not Rated)  More info & Ratings
Advertisment
Heap Memory Manager
ANSI C code and HTML description of a portable, public-domain heap memory manager (dynamic memory allocator). Uses best-fit with maximal coalescing of adjacent free blocks. My testing with GCC and VC++ .NET indicates that this heap memory manager is slower than malloc/free from the standard library when the average allocation size is small. But, as the average allocation size gets bigger, the speed of this heap manager exceeds that of malloc/free.
Visits: 5096 Updated: 2003-4-25  Rating: (Not Rated)  More info & Ratings
How To Find Memory Leaks
This article describes the methods a project team used to clean up the code (especially finding memory leaks) before the alpha testing started.
Visits: 13325 Updated: 2000-8-15  Rating: 
Inside Memory Management
Memory management is one of the most fundamental areas of computer programming. In many scripting languages, you don't have to worry about how memory is managed, but that doesn't make memory management any less important. Knowing the abilities and limitations of your memory manager is critical for effective programming. Get an overview of the memory management techniques that are available to Linux programmers, focusing on the C language but applicable to other languages as well.
Visits: 1903 Updated: 2004-11-18  Rating: (Not Rated)  More info & Ratings
Memory management in C++
This term paper aims to illustrate the memory management in C++ with the detailed study of problems of memory management and ways to handle them properly. To provide a better view figures are used where needed. For the new reader of memory management a brief introduction is give, which introduces with memory management, it’s need and its important terminologies. Then problems of memory management are discussed. In the next section different techniques used in memory management are described with its methods commonly used like sequential and non-sequential techniques to handle memory. Then the next section briefly describes the Garbage Collection, which include mark and sweep, space reclamation, compaction, copy method and incremental garbage collection is discussed. In the end a brief history is given about memory management.
Visits: 5233 Updated: 2003-7-8  Rating: 
Modern Memory Management, Part 2
There's a real drive toward testing these days. If you develop any sort of application seriously, you've likely heard recommendations to write comprehensive automated tests. Is that really useful? Michele Simionato explores the arguments for and against automated testing, and shows how to automate web app testing using Python and the twill utility.
Visits: 764 Updated: 2005-11-30  Rating: (Not Rated)  More info & Ratings
Properly Managing Memory Returned by transcode() in the Xerces XML Library
One developer's experience with using refactoring to approach an ideal solution to a memory management problem in C++.
Visits: 1223 Updated: 2003-2-22  Rating: 
Restrict Object Allocation to Specific Memory Types
While C++'s three memory storage types provide an unparalleled degree of flexibility with respect to memory management, this diversity can sometimes make things more difficult like when you need to allocate objects of a certain class exclusively on the free-store. Find out how to enforce memory allocation policies by controlling the access type of a class's member functions.
Visits: 686 Updated: 2005-11-3  Rating: (Not Rated)  More info & Ratings
Self-manage data buffer memory
The C programming language defines two standard memory management functions: malloc() and free(). C programmers frequently use those functions to allocate buffers at run time to pass data between functions. In many situations, however, you cannot predetermine the actual sizes required for the buffers, which may cause several fundamental problems for constructing complex C programs. In this article, Xiaoming Zhang advocates a self-managing, abstract data buffer. He outlines a pseudo-C implementation of the abstract buffer and details the advantages of adopting this mechanism.
Visits: 1617 Updated: 2004-1-13  Rating: (Not Rated)  More info & Ratings
Self-Managed Data Buffer Memory
The C programming language defines two standard memory management functions: malloc() and free(). C programmers frequently use those functions to allocate buffers at run time to pass data between functions. In many situations, however, you cannot predetermine the actual sizes required for the buffers, which may cause several fundamental problems for constructing complex C programs. In this article, Xiaoming Zhang advocates a self-managing, abstract data buffer. He outlines a pseudo-C implementation of the abstract buffer and details the advantages of adopting this mechanism.
Visits: 920 Updated: 2005-1-9  Rating: (Not Rated)  More info & Ratings


Found a broken link? Please report it to us.

  See also  
 Files
   C Sourcecode
    Memory handling
   C++ Articles & Tutorials
    Textfiles & Tutorials
   C++ Sourcecode
    Data Structures
 Articles
   C/C++ Articles & Tutorials
    Data structures & Algorithms
   C++ Articles & Tutorials
    C++ Tutorials
   Hardware Articles
    Memory
 

Sponsored Links 
Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.
Check Out IT Certification Preparation Materials
Sign Up With SkillSoft & Get Access to Training Materials for Over 50 Professional Certifications.
SFTP components for .NET
Add complete SSH and SFTP support to your .NET framework application
Virtual File System SDK
Create your own file systems in Windows and .NET applications
PureCM Software Configuration Management
Version control and integrated issue tracking - powerful and easy to use. Get your FREE trial now!
Buy a link now

Advertisement

  Free Magazine  
Free Magazines
Computer Graphics World Computer graphics professionals turn to Computer Graphics World to them decide which computer graphics products to purchase to make their job more cost effective! ...
subscribe now


Newsletter Submit Content About Advertising Awards Contact Us Link to us    
© 1996-2008 Community Networks Ltd All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by ASP.NET Konsult - Synchron Data.