Skip to content

Conversation

@Nutickets
Copy link
Contributor

@Nutickets Nutickets commented Sep 5, 2025

Fetch translations in chunks to avoid early memory exhaustion when exporting large volumes of translations from the DB.

For reference, our ltm_translations table has over 300K records from the same group (1 excessively large app.php lang file serving dozens of locales) - chunking unblocks php artisan translations:export app, though I do appreciate we do have an unusually large lang file.

There are probably more memory efficient solutions than this that may or may not require a slightly smarter approach, but we can cross that bridge when it's necessary, this fix has been working well for us for some time now.

…porting large volumes of translations from the DB
@barryvdh barryvdh merged commit e715857 into barryvdh:master Sep 8, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants