This is the error I get when trying to run a fairly complicated SQL query:
Msg 1101, Level 17, State 10, Line 8
Could not allocate a new page for database 'TEMPDB' because of insufficient disk space in filegroup 'DEFAULT'.Create the necessary space by dropping objects in the filegroup, adding additional files to the filegroup,or setting autogrowth on for existing files in the filegroup.
I have the autogrowth set to on.