Laravel Windows high memory usage on new install? I have a brand new laravel install with just debugbar installed and it shows 17mb being used. Is this normal? PHP 8.1.6, Laravel latest, Windows 10 (direct install -i.e. XAMPP and no sail).
I am trying to follow the new "Eloquent Performance Patterns" series on laracasts and noticed that this is considered "high" in that. Just trying to gauge what is the baseline on Windows?
Probably higher with debug bar.
@jlrdw Is there a way to measure without it?
@CLab Set ‘’APP_DEBUG=false’’ in your env file.
@RayC how can you measure the amount of ram used then?
That sounds very strange to me, I just created a fresh Laravel 9 project with Debugbar and it uses 1Mb for the welcome view on my iMac.
Have you made any code changes at all?
@Tray2 no changes. Brand new install + debugbar. I think this is Windows/Xampp related.
Maybe try installing wsl2 and then Ubuntu. Then add a new project on there and run it with php artisan serve
@CLab ok so a windows or xampp bug. Try php artisan serve in windows with xampp php
@CLab oh thought you used xampp as webserver.
Seems you need to make a choice then. Live with it or switch to wsl2 + Ubuntu
@Sinnbeck I am fine living with it - as long as this is normal for Windows with XAMPP. Just want to know what others see.
@CLab I don't own a windows pc so I cannot test it myself. Maybe someone else can :)
May be also check if Xdebug is enabled?
@Niush Xdebug is not enabled as checked by phpinfo(). If any other way to check - please let me know.
@CLab just run php -v and it will tell you
@Sinnbeck here is what I see:
PHP 8.1.6 (cli) (built: May 11 2022 08:55:59) (ZTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.1.6, Copyright (c) Zend Technologies
Please sign in or create an account to participate in this conversation.