When using VS2010 to build a C + + solution, a solutionname.sdf and a folder called ipch are generated, and the two files, along with files such as *.PCH, make the project very large and a simple program consumes dozens of m of hard disk capacity. Unfortunately, after all, the hard drive is not cheap to the point of free.
So, how to solve it? can actually close it. Method:
Tools->options->text editor->c/c++->advanced->disable Database, set to True
However, this approach creates additional problems that may result in other functions being disabled. An exception is a workaround:
Tools->options->text editor->c/c++->advanced, in the attribute group of Fallback location, set "Always use Fallback location" to True, set the Warn If Fallback location used to true, then delete the SDF file and ipch directory under the solution directory and open the solution again and find that these annoying things are gone.
So where are those files placed? See "Fallback Location" Property Description: This is the second place to store the browse information database and the IntelliSense file, and if not specified, it is placed in a temporary directory; to the temporary directory, there is a VC + + directory, all in that directory.
In the "Fallback Location" property, set a fixed path to store these files, such as D:\VS2010Temp, it is also better to manage these huge bloated files, you can regularly clean them off, free up hard disk space!
Bloated ipch and SDF files in vs2010