When you have a host file of 2617 KB, that makes a huge difference, it is reduced by ~44 %.
For a huge host file, take a look at http://sourceforge.net/projects/adzhosts/
WARNING
On some OS or OS specific versions:
a maximum of 9 hosts on one line are recognized, the following hosts on the line are ignored.
a single 0 does not work, use 0.0.0.0 instead, and some do not even support 0.0.0.0 and multiple hostnames on a line.
127.0.0.1 must be kept for "localhost", don't use 0.0.0.0 or 0 or some programs might encounter problems!
I have read several articles about reducing the host file, here is a summary.
Using 0 is
An additional way to reduce the host file size is by grouping several hostnames on one single line.
Obviously, removing duplicate hostnames, empty lines, useless spaces or tabs, and comments will also help.
An example:
This host file becomes, by using all these technics including the 9 limit:
The first file is reduced by almost 55 %.
When you have a host file of 2617 KB, that makes a huge difference, it is reduced by ~44 %. For a huge host file, take a look at http://sourceforge.net/projects/adzhosts/
WARNING
Have a nice day.