Problem loading BeamMP

Hi, I have a problem loading BeamMP. I have a server where I have some mods. When I try to connect to the server, the mods start loading and near the end (about 43/49 mods) the game freezes and then crashes. This also happened on my last server. Without mods it loads fine. I don’t know if a mod is the problem, or maybe not enough RAM? But I have 16GB of RAM (free is usually around 10GB). Does anyone know what the problem is?