Perhaps you can extract the DOS and save it to a new NC file, which will be much smaller in size. Example of reading the DOS from file "silicon.nc" and saving the DOS to a new file "dos.nc":
dos = nlread('silicon.nc', DensityOfStates)[-1]
nlsave('dos.nc', dos)