Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
You can change memory assignement by providing the following setting as an app setting - CONTAINER_MEMORY. It is defined in MB and must be <= to the total physical memory of the host.
Regards
Konrad