question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how to set more memory to `theia-ide` container?

See original GitHub issue

Summary

while running mvn clean install command , the theia-ide container shows 477 /512 in memory. sometimes it increases to 499/512 . How to increase the memory for theia-ide to 800mb?

The cpu metric for some reason is a 10digit number. For theia-ide it shows 9632217000m/1500m . what does 9632217000m and 1500m represent ?

image

i have installed below version of eclipse-che in k8s cluster image

below is my devfile.yaml

schemaVersion: 2.1.0
metadata:
  name: cbfsel-repo7
projects:
  - name: cbfsel-project7
    git:
      remotes:
        origin: https://gitlab.eng.com/cbf-sel.git
components:
  - container:
      image: 'artfact-prd.com:5001/eclipseche/customopenjdk8:v10'
      memoryLimit: 4G
      volumeMounts:
        - name: m2volume
          path: /home/user/.m2
    name: javacontainer
  - name: m2volume
    volume:
      size: 4G

please help me on this

Relevant information

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
azatsarynnyycommented, Sep 7, 2022

i want to know the contents of the Theia definition devfile.yaml.

@Divine1 see the latest comment by Mario, above https://github.com/eclipse/che/issues/21683#issuecomment-1236677041 There’s a link to Che-Theia Devfile. You can copy and modify it as you need.

And should i add the link to the Theia definition devfile.yaml in che-operator-cr-patch.yaml?

no. As it’s said in Mario’s comment, the editor’s Devfile link should be provided to the ?che-editor= parameter in URL

1reaction
l0rdcommented, Sep 5, 2022

To complement @azatsarynnyy suggestion: you need to publish your customized Theia definition as a devfile.yaml somewhere accessible from your browser and point it from the URL to start your workspace like https://<che_fqdn>#<git_repository_url>?che-editor=<editor_devfile_yaml_url>. As a reference here is the current definition of Theia (https://eclipse-che.github.io/che-plugin-registry/main/v3/plugins/eclipse/che-theia/latest/devfile.yaml).

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Set Docker Memory and CPU Usage Limit - phoenixNAP
Within the command, specify how much memory you want to dedicate to that specific container. The command should follow the syntax: sudo docker ......
Read more >
How to assign more memory to docker container
Restart the docker and double check that ram limit did increased. This can be one of the factor you not see the ram...
Read more >
Chapter 2. Che-Theia IDE basics - Red Hat Customer Portal
To fix this problem, increase the amount of memory for the Che-Theia IDE container: Navigate to the CodeReady Workspaces Dashboard. Select the workspace...
Read more >
Assign Memory Resources to Containers and Pods - Kubernetes
This page shows how to assign a memory request and a memory limit to a Container. A Container is guaranteed to have as...
Read more >
How To Set Up the Eclipse Theia Cloud IDE Platform on ...
In this config, you define a single service called eclipse-theia with restart set to always and theiaide/theia:next as the container image.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found