asachanfbd

Experience

70

0 Best Reply Awards

  • Member Since 2 Months Ago
  • 0 Lessons Completed
  • 0 Favorites

15th September, 2017

asachanfbd left a reply on Laravel Keep Eating Memory With Every Request • 2 months ago

I had already tested with DB::disableQueryLog(); but this is not the issue.

My issue is memory is not released even after completion of request.

13th September, 2017

asachanfbd left a reply on Laravel Keep Eating Memory With Every Request • 2 months ago

  1. No Queries are not returning huge result sets only required data.
  2. No JS is loaded requests are web services. JSON response only.

asachanfbd started a new conversation Laravel Keep Eating Memory With Every Request • 2 months ago

I was working to improve performance of my Laravel application and got below stats -

Request 1(db interactions) - 1238(Ram Used) R2(db interactions) - 1250 R3(db intr.) - 1275 R4(db intr) - 1289 R4 - again(db intr) - 1295 R5(db intr) - 1313 R5 - again(db intr) - 1313 Rn - 1873(out of 2004MB total memory)

On performing tests on DB - No memory leak found.( I tried inserts in look and checked memory after every 10000th insert. memory was stable).

Extensions used - "laravelcollective/html": "^5.2", "gbrock/laravel-table": "^0.3.4", "guzzlehttp/guzzle": "^6.1", "lavary/laravel-menu": "^1.6", "intervention/image": "^2.3", "maatwebsite/excel": "^2.1", "aws/aws-sdk-php-laravel": "^3.1", "barryvdh/laravel-dompdf": "^0.7.0", "yajra/laravel-datatables-oracle": "^6.0", "rap2hpoutre/laravel-log-viewer": "^0.7.1", "brozot/laravel-fcm": "^1.2"

Please suggest why Laravel is using all the RAM and not releasing it. It starts crashing at the end.

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.