I have write a simple query which will fetch maximum 5 records,My query structure is like $userSettingsTable->find()->where(['user_id' => 2])->first()->toArray();
This is showing as Memory limit exhausted
I have also set ini_set('memory_limit', '-1'); Still issue is not resolved. Please help me