# 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://content.gitbook.com/content/67XJQcLeoBbGgfLRZ60X/blobs/ZH0BH8JW1zWIAVjzFrj5/outofmemory.jpg)

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://content.gitbook.com/content/67XJQcLeoBbGgfLRZ60X/blobs/FGGp5S5oQW5D78kg6fYV/experiencetab.png)
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://content.gitbook.com/content/67XJQcLeoBbGgfLRZ60X/blobs/Er6uCSAEubyjYNgUb8I6/poicy-user-experience-wan.png" alt=""><figcaption></figcaption></figure>


---

# 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.parallels.com/landing/ras-best-practices-guide/miscellaneous/large-file-upload-download-via-drive-redirection.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.
