What are the specs of your Macbook (# cores + memory) ?
Maybe you're burning through your host OS's memory?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi there,
Randomly I am experiencing kernel panics on my macbook when I run 'heavy' tasks on my local dev machine. The local dev environment is running with vagrant (latest 2.1.1), virtualbox (latest 5.2.12) and homestead (ubuntu 16.04, 1 cpu, 2gb memory). It happened with and without the 'nfs' setting.
Yesterday it happened so I updated to the latest vagrant and virtualbox versions but today it happened again.
Most of the time it is during the process of running PHPUnit which runs the tests on a mysql database. But it also happened once during the process of running an artisan command that did a lot of database migrations.
Also after each crash my mysql is corrupt. So after each crash I simply run vagrant destroy and vagrant up and we are ready to go. But it costing me time everytime.
I can't figure out what the cause is. And I can't reproduce it because it ain't happening all the time.
I am starting to think my macbook is the problem. My last resort is to do a fresh install of my macbook and see if that helps.
Anybody experienced the same problems?
Please or to participate in this conversation.