Optimize che-server ram usage on Docker Proposal is to set container limit to 750M for both Docker and OpenShift and tune a bit GC -XX:MaxRAMFraction=2 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Dsun.zip.disableMemoryMapping=true -Xms20m Important parts -XX:MaxRAMFraction=2 -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap - tels jvm to use ~ CHE_MASTER_CONTAINER_RAM/MaxRAMFraction for heap We need some space for off-heap activity. During test I saw VmRSS of jvm ~330_000k - 350_000k. -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 ask GC to keep heap compact in cost of some CPU. You can see changes in heap usage pattern in images below. |
||
|---|---|---|
| .. | ||
| action | ||
| base | ||
| bats | ||
| che | ||
| cli | ||
| dev | ||
| dir | ||
| init | ||
| ip | ||
| lib | ||
| mount | ||
| test | ||
| README.md | ||
| build.include | ||
| build.sh | ||
README.md
Eclipse Che - Dockerfiles
This che-dockerfiles repository is where all dockerfiles for Che Launcher, Che's CLI and Che's Stacks are hosted.
Eclipse Che
https://www.eclipse.org/che/. Next-generation Eclipse platform, developer workspace server and cloud IDE. Che defines workspaces that include their dependencies including embedded containerized runtimes, Web IDE, and project code. This makes workspaces distributed, collaborative, and portable to run anywhere on a desktop or a server ... Read More
Getting Started
You can run Che in the public cloud, a private cloud, or install it on any OS. Che has been tested on Ubuntu, Linux, MacOS and Windows. The step by step guide will get you going.
The che repository is where we do development and there are many ways you can participate, for example:
- Submit bugs and feature requests and help us verify them
- Review source code changes
- Improve docs
Customizing
There are many ways to customize Che out-of-the-box including stacks, templates, commands, IDE extensions, server-side extensions plugins, assemblies, RESTful APIs, and editors.
Contributing
If you are interested in fixing issues and contributing directly to the code base, please see How to Contribute. It covers:
Feedback
- Support: You can ask questions, report bugs, and request features using GitHub issues.
- Roadmap: We maintain the roadmap on the wiki.
- Weekly Meetings: Join us on a hangout.
License
Che is open sourced under the Eclipse Public License 1.0.
