[WEBINAR] The New Normal: Dealing with the Reality of an Unsecure World

Automatic Memory Management (AMM)

Definition - What does Automatic Memory Management (AMM) mean?

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.

Techopedia explains Automatic Memory Management (AMM)

Oracle has proprietary AMM parameters, such as PGA_AGGREGATE_TARGET and SGA_TARGET. Oracle uses two initialization parameters to configure AMM, as follows:

  • MEMORY_TARGET: Set at zero by default. Dynamically facilitates the adjustment of Oracle's total memory availability up to MEMORY_MAX_TARGET limitations.
  • MEMORY_MAX_TARGET: Defines the maximum size of MEMORY_TARGET, which may be increased without restarting an instance.

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:

  • AMM reserves the address space's adjacent area at run time, which is known as the managed heap.
  • This address space has an address pointer, which is used to allocate subsequent objects.
  • The pointer is initially set to manage the heap’s base address, where each reference type is also allocated.

Managed heap memory allocation is more efficient than unmanaged memory allocation.

Techopedia Deals

Connect with us

Techopedia on Linkedin
Techopedia on Linkedin
"Techopedia" on Twitter

Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Free Whitepaper: The Path to Hybrid Cloud
Free Whitepaper: The Path to Hybrid Cloud:
The Path to Hybrid Cloud: Intelligent Bursting To Amazon Web Services & Microsoft Azure
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.