Greetings!
Welcome to Microsoft Q&A forum.
If your elastic pool is experiencing issues, you can start with the Query Data Store and built in monitoring tools in the portal to determine which types of waits you are experiencing. If those tools indicate that you are experiencing memory related waits, the sys.dm_os_out_of_memory_events can help you with the memory issue.
Monitor performance by using the Query Store
In addition to the Memory Percent Instance Metric and the 'sys.dm_os_out_of_memory_events' table, the troubleshooting documentation is a great reference point. This document gives you details on troubleshooting using Extended Events and the Query store as well.
Troubleshoot out of memory errors with Azure SQL Database
Thank You!