@samdark I used Table (as in ListRoutes, retrieve data from database, render php file to html and build PDF files. After all is done, the table is rendered, then I Return Console::OK and get memory error. If I simply exit there is no error, the table is rendered and all PDF files are present