Wireframe Rendering - what is the best solution for complex scene?

have anyone tried to render Wireframe with Subdivision Modifier on multiple objects in complex scene? My total scene with subdivision lvl 2 can rise to 3+ mln polygons (quads).

When I use Freestyle and mark edges and then trying to render scene I get significant memory ussage, that makes using Freestyle for Wireframe rendering useless. It’s a problem since 2013 as I see by google searching…

But at the same moment showing wireframes in Viewport cost nothing.
I would use it, if it have no overlay problem with thin surface, like this

if it could only show what I see …