# Large File Upload / Download via Drive Redirection

In some cases bandwidth and other factors can cause a memory error when transferring large files between remote applications and local drives.

![Out of memory](https://613892766-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSGIfQeytC3ndYZhR73Ly%2Fuploads%2F9z53aMHwC6SESQkCJPH4%2Foutofmemory.jpg?alt=media\&token=3308f6fa-cc31-45d9-9983-a3a6215da1ab)

For large file transfer optimization, the following settings should be made on both the server and client side.

## **RDS/TS Server Settings**

Referencing the **Remote Desktop/Terminal Server Performance Settings** section at the beginning of this document:

* Set Visual Effects to "Best Performance".
* Set the Windows Paging file to three times the physical RAM.

Disable Desktop Composition under Group Policy (on Windows Server 2008 R2 only).

Under Local Computer Policy > Computer Configurations > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Remote Session Environment, set Desktop Composition to "Not Configured."

## **Client Settings**

Client settings can be changed on a per client basis using Connection Properties or centrally from the Parallels RAS management console using Policies.

1.  For an individual client, under Connection Properties, go the Experience tab and set the Connection Optimization to WAN (10 Mbps or higher with high latency):

    ![Experience tab](https://613892766-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSGIfQeytC3ndYZhR73Ly%2Fuploads%2F7mw6swDUsuGgXEhF4rdZ%2Fexperiencetab.png?alt=media\&token=e54ee4fd-42ef-4107-ae6d-732d06c82d4e)
2.  To change this setting centrally for multiple clients, in the Parallels RAS Console, select the **Policies** category. Add a policy for a group of users and under **Session** > **Experience**, set the connection speed to WAN.



    <figure><img src="https://613892766-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSGIfQeytC3ndYZhR73Ly%2Fuploads%2FldLnldnk5D2STLubHgiw%2Fpoicy-user-experience-wan.png?alt=media&#x26;token=ef70e652-74fb-4a96-a814-de1333104ede" alt=""><figcaption></figcaption></figure>
