Update Job Memory | Dadosfera Maestro Platform API

Configure memory allocation for a specific job

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Overview

Update the memory allocation for a specific job. This endpoint allows you to increase memory for jobs that process large data volumes or complex transformations.

Memory Limits

LimitValue
MinimumNo minimum (use default)
Maximum12,000 MB (12 GB)
DefaultSystem default based on connector type

Job ID Format

The jobId follows the format: {pipeline_id}_{job_index}

Example: 1b33ad2f_33d3_4837_9eeb_83c82c8b909d_0 (first job in pipeline 1b33ad2f_33d3_4837_9eeb_83c82c8b909d)

Request Body

FieldTypeRequiredDescription
amountintegerYesMemory allocation in MB

Examples

Set Memory to 4GB

PUT /platform/jobs/1b33ad2f_33d3_4837_9eeb_83c82c8b909d_0/memory

{
  "amount": 4096
}

Response (200 OK):

The endpoint triggers an internal DAG update to propagate the memory configuration.

Set Memory to 16GB for Large Tables

PUT /platform/jobs/a9f82c14_7e21_4b5a_8c9d_12345abcdef0_0/memory

{
  "amount": 12288
}

Error Responses

400 Bad Request - Memory Exceeds Maximum

{
  "detail": "The amount of memory provided is greatner than the max memory supported!!"
}

404 Not Found

{
  "detail": "job_id invalid_job_id not found"
}

When to Increase Memory

Consider increasing memory allocation when:

ScenarioRecommended Memory
Small tables (< 1M rows)Default (no change)
Medium tables (1-10M rows)4,096 - 8,192 MB
Large tables (10-100M rows)8,192 - 12,288 MB
Complex transformations+50% of base recommendation

Notes

  • Memory changes take effect on the next pipeline execution
  • The memory allocation is stored in the job's input.memory_allocation_mb field
  • After updating memory, the pipeline DAG is automatically refreshed
  • To update memory for all jobs in a pipeline at once, use PUT /platform/pipeline/:pipelineId/memory
  • Monitor job execution to determine optimal memory allocation
Path Params
string
required
Body Params
integer
required

Memory in MB (max 30720)

Response
200

Job memory updated

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!