How can PHP's memory limit be adjusted at runtime to accommodate larger file sizes for processing?

To adjust PHP's memory limit at runtime to accommodate larger file sizes for processing, you can use the `ini_set()` function to increase the `memory_limit` value. This can be done at the beginning of your PHP script before processing the large file.

// Set memory limit to 512MB
ini_set('memory_limit', '512M');

// Code for processing large file goes here