When building enclosed things like ships and space stations, fill up the empty spaces in-between your hull and interior with bricks to reduce lag. It causes all the inside and unshown faces of your interior and hull bricks to be hidden, therefore there's less to render and less lag. As a plus, it also makes your build stronger against attack!