How to Render Wireframe for car model?


I modeled a car and I need to render wireframes.
I used Freestyle (Cycles), make all as in youtube tutorials, but on finale where render is complete and it start to apply freestale, it drained all my 16Gb ram and stuck…

How to make wireframe renders for high density multi objects?

Also I used Eevee viewport render with wireframe, it more quickly and seems ok except one thing
lines transitions if mesh is thin or objects is close to each other.