# Limit


[API catalog](/reference/api/) · [Docker Engine overview](/reference/api/engine/version/v1.57/) · [Product manual](https://docs.docker.com/engine/) · [OpenAPI specification](/reference/api/engine/version/v1.57.yaml)

API version: 1.57





Schema constraints and annotations:

```json
{
  "description": "An object describing a limit on resources which can be requested by a task.\n",
  "properties": {
    "MemoryBytes": {
      "example": 8272408576,
      "format": "int64",
      "type": "integer"
    },
    "NanoCPUs": {
      "example": 4000000000,
      "format": "int64",
      "type": "integer"
    },
    "Pids": {
      "default": 0,
      "description": "Limits the maximum number of PIDs in the container. Set `0` for unlimited.\n",
      "example": 100,
      "format": "int64",
      "type": "integer"
    }
  },
  "type": "object"
}
```



