Memory Management Service for Container Heap Allocation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional data processing systems fail to optimize the use of physical resources such as memory and processing units across multiple applications running in containers, leading to inefficient allocation and utilization.

Innovation Solution

A data processing system with a memory management service that allocates nursery and tenured heap spaces to application containers and performs garbage collection using a shared pool of processing units, optimizing memory and processing unit usage by enabling parallel garbage collection operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If more physical resources are allocated to individual applications, then each application can operate independently and reliably, but the overall system fails to optimize usage of physical resources across all applications

Engineering Contradiction:
Improveapplication independenceVSAvoidsystem resource optimization
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent merges garbage collection operations from multiple application containers into a single shared process space. Instead of each container running its own garbage collection thread, the system combines these operations and executes them collectively, allowing multiple applications to share the same garbage collection resources and achieve system-wide optimization while maintaining individual application reliability through container isolation.

Inventive Principle:
Principle #5Merging (Combining)

2Ease of operation

If each application runs its own garbage collection process, then applications can manage their memory independently, but garbage collection operations consume excessive processing units and time

Engineering Contradiction:
Improvememory management independenceVSAvoidgarbage collection time
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The patent combines multiple individual garbage collection operations into a single shared process. By merging the garbage collection threads from different application containers into one unified process, the system reduces the total time required for garbage collection while maintaining the ability of each application to manage its memory independently through the container abstraction layer.

Inventive Principle:
Principle #5Merging (Combining)

3Reliability

If applications run in isolated containers, then applications are protected from each other, but they cannot cooperate to enable more efficient use of available physical resources

Engineering Contradiction:
Improveapplication isolationVSAvoidresource cooperation efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent introduces a shared process space as an intermediary between isolated application containers. This intermediary layer allows containers to maintain their isolation and protection while enabling cooperative garbage collection operations. The shared process acts as a mediator that facilitates resource cooperation without compromising the reliability and security benefits of container isolation.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Ease of operation

If conventional systems allocate resources to individual applications, then each application has dedicated resources, but the system cannot perform parallel garbage collection operations efficiently

Engineering Contradiction:
Improvededicated resource allocationVSAvoidparallel processing capability
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

The patent merges multiple dedicated resource allocations into a shared resource pool that enables parallel processing. By combining the garbage collection operations and resources from multiple applications into a unified process, the system maintains the benefit of dedicated resource allocation for each application while simultaneously enabling efficient parallel garbage collection operations across the entire system.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS11263130B2Data processing for allocating memory to application containers
Publication Date: 2022.03.01 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11263130B2 patent drawing
  • US11263130B2 patent drawing
  • US11263130B2 patent drawing

AI summary

A system and related method for managing memory in data processing comprises allocating each of a plurality of application containers a respective portion of a memory communicatively coupled to a plurality of processing units. The method further comprises allocating each of the plurality of application containers a respective group of the plurality of processing units and allocating, to each of the plurality of application containers, nursery and tenured heap spaced in the memory. The method then comprises performing, responsive to a request from an application container, garbage collection from the nursery and tenured heap spaces allocated to the application container.