Performances & Storage

Performances

We sometimes have issues where the workstation is unresponsive (timeout issue)

In this case, a working solution is to "re-start" your workstation, you can read more on this page: Start / Stop / Restart a workstation

If after re-testing the workstation it does not solve the issue please contact us and include as much information as possible (the hour of the issue, what you were working on, if the javascript was compiling, etc...)

Available Storage

The default sandboxes have 5Go of storage. Some special special workstations, such as the preprod (platform with many themes for testing) have more resources allocated.

Everything inside your sandbox is always persisted, even when stopping your workstation or updating it.

5Go is the storage for the whole sandbox and if you install too many themes you could have an error "No space left on device"

Your sandbox is not an infinite space, and here are some good practices to do regularly to free up some space:

Remove node_modules of unused projects

Each theme node_modules folder can easily take a lot of space

If you don't plan to work on a project, you can remove the node_modules folder, and when you will work on it again re-install dependencies.

We have seen some themes with node_modules folders taking 220M. With several themes like this, you easily use up the 5Go available

If you use VS Code, try cleaning up ~/.vscode-server/bin

When using VS Code remotely, VS Code creates a .vscode-server folder in your sandbox

From our research, the folder bin can be removed without risks

  1. close VSC if it is open

  2. remove the folder bin rm -r ~/.vscode-server/bin/

  3. you can reopen VSC

Why you can safely remove this folder:

"bin/UUID - these are the actual binaries. In theory, you can remove old ones but I'm not sure how to find out which one is current. If you remove them all, VSCode will install the current version for you the next time it connects." Source (comment on stackoverflow)

NVM - delete unused node versions installed with nvm

To list all installed versions of node with nvm, you can use nvm ls

// list installed versions of node with nvm
nvm list node

// uninstall a version if you don't use it anymore
nvm uninstall <version>

Last updated