# Common Errors

## Error "no space left on device" shuts the server down

### What happens

* The console prints:

  ```
  [jfr,system] Failed to write to jfr stream because no space left on device
  ```
* Java is trying to save **Java Flight Recorder (JFR)** files inside the container’s temporary directory. That tmp filesystem is very small; once it fills up, the JVM exits for safety.

### The 30‑second fix

1. Go to **Startup → JVM Startup Flags / Arguments** in your panel.
2. Add this flag exactly as shown, anywhere in the list:

   ```
   -XX:-FlightRecorder -Djdk.jfr.disabled=true

   For versions prior to Java 11:

   -XX:+UnlockCommercialFeatures -XX:-FlightRecorder -Djdk.jfr.disabled=true

   If it still doesn't work then add this:

   -XX:-FlightRecorder -Djava.io.tmpdir=/home/container/tmp_jfr
   ```
3. Save the changes and restart the server.

Disabling JFR stops the `.jfr` files from being written, so the "no space left on device" error disappears.

{% hint style="info" %}
Usually the cause of this is the Spark plugin/mod, if the problem persists, simply remove it.
{% endhint %}

***

#### Do I lose anything by turning JFR off?

No. Gameplay and mods continue exactly the same; you only lose an advanced diagnostic recording that most people never use.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hidencloud.com/minecraft/common-errors.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
