---
title: "WARN: Disk quota exceeded while copying files to CDEs"
date: "2022-02-24T17:01:02+00:00"
summary:
image:
type: "article"
url: "/acquia-cloud-platform/help/92866-warn-disk-quota-exceeded-while-copying-files-cdes"
id: "b732f3dc-88df-4e8e-8402-5d76f7ea2ea3"
---

Table of contents will be added

**Known Issue** 
----------------

If you are an Acquia Cloud Enterprise customer and are trying to copy files from your staging or production environments to one of your CDEs and you get an error like - 

    [07:23:27] [07:23:27] Started 
    [07:23:43] [2019-11-06 07:23:28] Measuring disk usage for site testsite-name... 
    [2019-10-16 07:23:28] Destination site quota is: 5242880 KB. 
    [2019-10-16 07:23:43] Disk usage for site testsite-name is 56450028 KB. 
    [2019-10-16 07:23:43] WARN: Disk quota exceeded 
    zlib(finalizer): the stream was freed prematurely.

This can be due to the task exceeding the fixed 5GB file storage for CDEs as described here - [https://docs.acquia.com/cloud-platform/cd/resource/](/node/56248)

If your files are less than the 5GB limit and this error is still occurring, it can be due to the task trying to copy the database backups from under filesystem along with the files.

**Affected Applications/Limitations**
-------------------------------------

CD environments

**Resolution -** 
-----------------

Some ways to work around this can be: 

*   Use the [Stage file proxy module](https://www.drupal.org/project/stage_file_proxy)
*   Manually import the files if they are less than 5GB