CREATE DATABASE failed. Could not allocate enough disk space for a new database on the disks named in the command. Total space allocated must be at least %d Mbytes (%ld 2048-byte pages) to accommodate copy of Model Database.
This error occurs when there is not enough space on the device or in RAM (depending on the current setting of the tempdb_in_ram configuration option) to create the tempdb database.
The procedure for handling this error depends on whether the error occurred on a user database or on tempdb.
Or
If you moved tempdb from the device to RAM and you don't have enough memory on the server computer to create the IN_RAM device for tempdb, SQL Server will not start. Correct the problem by starting SQL Server with minimum configuration (using the -f option). For details, see Microsoft SQL Server Setup.
If you moved tempdb from RAM back to any default device and you don't have enough space on the device (2 MB), SQL Server will attempt to create tempdb on another device. If you do not have a device with at least 2 MB free, SQL Server will not start. Start SQL Server using the -f minimum configuration option.
You can create a new device with at least 2 MB or free at least 2 MB on the device. If you create a new device, make sure it is specified as a default device, as in this example:
sp_diskdefault new_device_name, defaulton
If no default is specified, SQL Server sends an "out of memory" message (you can ignore this message) and then automatically moves tempdb to RAM.