You have to increase the memory limit of PHP. You have many ways to do this.
First if you want to check the actual memory limit you need to create a PHP file (we can name it as php.php) or put it in an action inside any controller, and put following code in it:
<?php phpinfo(); exit;?>
First way to change memory_limit, this way modify the momeoty_limit for all proyects running in PHP:
Firstly you need find your php.ini, this data is in the phpinfo();

Edit php.ini .Search "memory_limit" in your php.ini, and change the value of it. If no "memory_limit" found, add the following line at the end of php.ini
memory_limit = 128M ; /* Change the 128M to your needs */
Save file.
Reset apache.
sudo service apache2 restart
Second option is to put it in the index.php inside your laravel proyect as @Giri Annamalai M tell you above.
ini_set('memory_limit', '-1');
This option will modify the memory limit to all proyect... If you put -1, this means that there is no limit.(dependes in compute memory)
Other option is to indicate the memory limit in the controller, inside the action indicete the memory limit:
ini_set('memory_limit', '-1');
Remember that -1 is always NO LIMIT. Maybe this is no the best secure and performance way to indicate the memory limit. You have other ways to edit the memory like the .htaccess... But i think that the 3rd is one of the best in this ocation.