Edge Specs slowness

we are facing extreme slowness and site breaking on swagger loading and opening specs sites. can you tell how memory limit on swagger docs to upload?