Automatic memory management (AMM) is a technique in which an operating system or application automatically manages the allocation and deallocation of memory. This means that a programmer does not have to write code to perform memory management tasks when developing an application. Automatic memory management can eliminate common problems such as forgetting to free memory allocated to an object and causing a memory leak, or attempting to access memory for an object that has already been freed. Garbage collection is a form of automatic memory management.
Oracle has proprietary AMM parameters, such as PGA_AGGREGATE_TARGET and SGA_TARGET. Oracle uses two initialization parameters to configure AMM, as follows:
The .NET common language run time's garbage collector manages the allocation and release of memory for an application. The following occurs during new .NET framework process initialization:
Managed heap memory allocation is more efficient than unmanaged memory allocation.
Read More »
Get Techopedia delivered to your inbox!