Skip to content

fail on large tables  #194

Open
Open
@mehdi-zarrin

Description

@mehdi-zarrin

Hi,

i have the below code in my controller :

$users = User::select(['id' , 'username', 'first_name', 'last_name', 'email']);
return Datatables::of($users)->make(true);

it's works fine for 5 records :) but when i insert 100000 records with faker i'm geeting memory PHP Fatal error: Allowed memory size of 134217728 bytes exhausted.

thanks .

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions