# Freeing up storage space on build machines

If you need additional disk space on Bitrise build machines, you can always delete tools and resources that you do not use. You just need to use a **Script** Step at the start of your build.

:::note[java.io.IOException: No space left on device]

If you get the `java.io.IOException: No space left on device` error during a build, you can try to free up additional space with the below method - the error indicates there's no more space available on the build machine.

:::

1. Check your stack's [System Report on GitHub](http://stacks.bitrise.io/).

   The System Report includes the list of [pre-installed tools](/bitrise-platform/infrastructure/build-stacks/preinstalled-tools-on-bitrise-stacks) and their version on the stack.
1. Find the tools you don't need in your build.
1. 1. Log in to Bitrise and select **Bitrise CI** on the left, then select your project.
1. Click the **Workflows** button on the main page.
1. Add a [**Script**](https://github.com/bitrise-io/steps-script) Step to the beginning of your Workflow.
1. In the **Script content** input of the Step, add the necessary commands to uninstall the tools.

**Uninstalling unneeded tools**

If your app doesn't need Android SDK tools, you can remove them with the following commands in your [**Script**](https://github.com/bitrise-io/steps-script) Step:

```bash
sudo rm -rf /usr/local/share/android-sdk 
sudo rm -rf /opt/android-ndk
```

You can delete iOS simulators that you don't use:

```bash
sudo rm -rf ~/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS\\ 26.simruntime/
```
