URL parameter for a memory limit

You can use the memoryLimit parameter to specify or override the container memory limit when starting a new workspace from a devfile URL. This is useful when you want to ensure that the workspace has enough memory allocated for your development tasks.

The URL parameter for the memory limit is memoryLimit=:

https://<che_fqdn>#<git_repository_url>?memoryLimit=<container_memory_limit>

You can specify the memory limit in bytes, or use a suffix such as Mi for mebibytes or Gi for gibibytes.

Example 1. Example

https://<che_fqdn>#https://github.com/eclipse-che/che-docs?memoryLimit=4Gi

When you specify the memoryLimit parameter, it overrides the memory limit defined for the first container of the devfile.

The sum of the limits from the target devfile and from the editor definition will be applied to the workspace pod spec.containers[0].resources.limits.memory.