By default the upload size is 8Mb to increase the File Size limit in moodle (eg. increase limit to 50Megabytes) you will need to make the following changes:
In your php folder edit the php.ini file and change the following values:
post_max_size = 50M
upload_max_filesize = 50M
Note: On windows I had to restart IIS but I am not sure if you will need to restart apache on windows or linux.
Next go into Moodle (in this case it is version 1.9.5) as admin and change the drop down menu’s for the following to your required size:
Courses -> Course Default Settings -> Maximum Upload Size
Modules -> Activities -> Assignment -> Maximum Size
I got this error when trying to run a Virtual Machine on VMWare Server 1.0.5 under Windows 2003 Server.
The error started after a reboot of the host which coincided with the drive hosting the Virtual Machine running out of disk space. After clearing up some disk space and trying to start the VM again this error was persistent.
To fix this I deleted the files with .vmem and .vmem.lck file extensions (in this case one of each file).
When I tried to delete the .vmem.lck file the error “Cannot delete file because it’s being used by another person or program”. Even after stopping all the services titled VMWare within the services console I had to End Task a service starting with VMware from within Task Manager (not sure which one but there was only one task with all the services stopped). With the task killed and services stopped Windows allowed the deletion.
I started all the services again and the Virtual Machine started automatically.