Skip to content

Document maximum memory allocation in job options #468

@JeroenVerstraelen

Description

@JeroenVerstraelen

Problem

The maximum amount of memory that can be allocated through job options is not documented and varies by backend instance:

Currently, users only discover the limit when they exceed it and receive an error like:

OpenEoApiError: [400] Internal: Requested too much executor memory: 8G + 500m, the max for this instance is: 24G (ref: r-2602131154304261886cfd5934217136)

Proposed Solution

The maximum memory limit should be exposed and documented in the processing_parameters endpoint.

Example: https://openeo.dataspace.copernicus.eu/openeo/1.2/processing_parameters

This would allow users to:

  1. Discover the limit programmatically before submitting jobs
  2. Understand the constraints of their backend instance
  3. Adjust their job options accordingly

Additional Context

The backend already validates and reports the limit in error messages, so the information is available - it just needs to be exposed through the API in a standardized way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions