---
url: /en/workspaces/workspace-recycling.md
description: >
  Explains the automatic recycling mechanism for Workspaces development
  environments, including inactivity-based recycling after 10 minutes, maximum
  18-hour active duration, and forced overnight recycling between 4-6 AM.
---
To improve development environment utilization and avoid resource waste,
Cloud Native Development implements the following recycling mechanisms:

* **Auto recycle**:
  * After creating a development environment, if the VS Code page is not
    entered within 10 minutes, the environment is automatically recycled.
  * After opening and closing the page, the environment is recycled if there is no activity for 10 minutes.
* **Maximum retention time**: Default 18 hours, maintainable with continuous heartbeat.
  Also affected by cluster configuration.
  For details, please refer to [Build Nodes](/en/build/build-node.md).
* **No overnight workspaces**: If usage exceeds 8 hours and falls within the 4-6 AM window,
  the workspace is forcibly recycled.
