Avatar ·

PHP Fatal Error: Allowed Memory Size of 134217728 Bytes Exhausted (128 MB)

Hello everyone! I'm a beginner PHP developer, and when running a script on a local server (OpenServer), I keep getting this error: ``` Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in D:\projects\parser\index.php on line 45 ``` I have a simple news parser from another site — I'm collecting titles and links using Simple HTML DOM Parser. The script processes about 5000 pages. Here's an example of my code: ```php find('h2.news-title a') as $link) { $title = $link->plaintext; $href = $link->href; echo "$title - $href\n"; } }