Disk space error by vim

If you Getting DISK SPACE error while openig your file by Vim Editter.

“There is not enough space in the file system.
[Press return to continue]
and you know that you have space in your home directory, than simply use this command
in vi, say
:set dir=</export/home/foobar>
then press:
:e .
Now you will be able to see the entire file and its data.