PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By

Solved

Where can i change the memory limit?

Solved
lucciano

Sep 7th, 2022 06:32 PM

Allowed memory size of 134217728 bytes exhausted (tried to allocate 44678024 bytes)

thats happen when i try to make a CRUD/BREAD of a table

i already try on php.ini memory_limit = 1024M

bobbyiliev

Sep 8th, 2022 12:20 AM

Best Answer

Hi there,

It sounds like that the change that you've made to your php.ini file has not taken any effect, as 134217728 bytes equals to 128M.

If you create a info.php file with the following content:

<?php

phpinfo();

And then visit it in your browser you will be able to verify if this is the case. On that page you will also find the correct php.ini file that you need to make the change to.

Alternatively, for your BREAD, you could enable Server-side Pagination so that way Voyager does not have to load all of the records in that table but instead would use server-side pagination and only load a small amount depending on which page you are viewing.

Let me know how it goes!

Best,

Bobby