Action RAM limits

Do action’s have limits on RAM? I see in the documentation that there are published limits on action code and cache size, but don’t see anything on memory.

Hi @daniel33

Welcome to the Auth0 Community!

I understand you are asking about the Memory/Ram limit of an Auth0 Action.

Official Information

Under typical circumstances, executing standard lightweight JavaScript authentication tasks (like updating metadata, adding claims, or making quick API calls) consumes very little RAM.
While an upper memory limit is not mentioned in our official documentation on Actions Limitations, other stated limitations will stop the execution of an Action before any restriction related to actual memory size can overcome, such as 20 seconds execution time: if the execution of your Action takes longer than 20 seconds, this will trigger an error message and stop the Action.

If you need to perform heavy memory actions—such as processing large PDF documents, handling media-rich payloads, or running complex data transformations—it is best to use Redirect Actions. You can redirect the user to an externally hosted serverless function where you have complete control over the allocated memory and timeout thresholds, and then seamlessly return them to the Auth0 authentication flow.

We hope this information helped with your implementation!

Have a great one,
Gerald