php - Laravel artisan script memory footprint -


in application (laravel 5.1) have different commands simple:

  • get ip rabbitmq
  • attempt establish connection ip
  • update db entry

since can take while connect ip (up 30sec). forced launch multiple instances of script. i've created console commands launched systemd.

once went in production quite surprised amount of memory these scripts consuming. each script (as reported memory_get_usage) using 21mb on startup. considering ideally need run 50-70 on scripts on same time it's quiet big issue me.

just test i've installed clean laravel 5.1 project , launched default artisan inspire command, php reported 19mb.

is normal laravel or missing crucial here?


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -