# Tutorial: Maximum Box Sizes for Refinement

## Maximum box sizes for various amounts of GPU memory

The most important factors influencing memory usage for the 3D refinement jobs are the box size of the volume and particles used, as well as the computational batch size. Below is a tabulation of the approximate maximum volume box sizes that are supported by various GPU RAM sizes, valid for the following job types.

* Homogeneous Refinement
* Helical Refinement (BETA)
* Local Refinement (BETA)

Note that non-uniform regularization incurs additional memory cost that has not been benchmarked. The box sizes below are tabulated in the case where non-uniform regularization is disabled.

| GPU VRAM (GB) | Approximate Max Volume Box Size (px) |
| ------------- | ------------------------------------ |
| 4             | 682                                  |
| 8             | 872                                  |
| 11            | 976                                  |
| 12            | 1004                                 |
| 16            | 1110                                 |
| 24 and above  | 1126                                 |

{% hint style="info" %}
In most 3D refinement and reconstruction jobs, the computational batch size can be changed by setting the "GPU batch size of images" or "Computational minibatch size" parameter. Decreasing this may alleviate GPU out-of-memory issues.
{% endhint %}

You can also use the [Downsample Particles](/processing-data/all-job-types-in-cryosparc/extraction/job-downsample-particles.md) job to reduce the box size (and maximum resolution) of particles before refinement in order to reduce memory usage during refinement.


---

# 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://guide.cryosparc.com/processing-data/tutorials-and-case-studies/performance-metrics.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.
