

# FAQ
<a name="faq"></a>

## What are the best practices to scale Apache Spark jobs and partition data with AWS Glue?
<a name="faq1"></a>

For more information, see [Best practices to scale Apache Spark jobs and partition data with AWS Glue](https://aws.amazon.com/blogs/big-data/best-practices-to-scale-apache-spark-jobs-and-partition-data-with-aws-glue/) in the AWS Big Data Blog.

## How do I resolve the possible out-of-memory errors and prevent these errors when submitting a Spark application on Amazon EMR or AWS Glue?
<a name="how-do-i-resolve-the-possible-out-of-memory-errors-and-prevent-these-errors-when-submitting-a-spark-application-on-emr-or-gl-ulong"></a>

For more information, see the [EMR Best Practices Guides](https://aws.github.io/aws-emr-best-practices/) on GitHub.

## How do I manage memory and CPU in AWS Glue?
<a name="how-do-i-manage-memory-and-cpu-in-gl-ulong"></a>

For more information, see [Optimize memory management in AWS Glue](https://aws.amazon.com/blogs/big-data/optimize-memory-management-in-aws-glue/) in the AWS Big Data Blog.