clong / DetectionLab

Automate the creation of a lab environment complete with security tooling and logging best practices
MIT License
4.6k stars 980 forks source link

Can i minimize RAM setting of DectectionLab #784

Closed tuedenn closed 2 years ago

tuedenn commented 2 years ago

Please verify that you are building from an updated Master branch before filing an issue.

Description of the issue:

My computer has more than 90% RAM workload, so i wanna know can i minimize RAM setting of DetectionLAB. Ex: logger from 4GB to 3GB and more. And how can i do it, edit the VM manually or change Vagrantfile file?

Thanks!

0xv1n commented 2 years ago

You're gonna be in for a bad time if logger runs out of RAM and needs to page to disk (from personal experience). But if you want to change the RAM usage, you can modify the VM without having to re-provision the whole box. If anything, I'd lower the RAM usage on the other machines that get spun up or just halt them depending on what you're doing at the time.

clong commented 2 years ago

Like @n0leptr said, you can, but the lab was already designed with minimum RAM requirements in mind. Lowering RAM on any of these machines is likely to cause some significant slowdowns or issues, but yeah, all you have to do is modify the Vagrantfile