Re: File Size Limit Exceeded - How to handle work around this?
- From: roberson@xxxxxxxxxxxxxxxxxx (Walter Roberson)
- Date: Wed, 13 Dec 2006 19:49:53 +0000 (UTC)
In article <1166037891.883289.95100@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
eastcoastguyz <eastcoastguyz@xxxxxxxxxxx> wrote:
I wrote a simple program to continue to create a very large file (on
purpose), and even though there is plenty of disk space on that device
the program aborted with the error message "File Size Limit Exceeded".
The file size was 2147483647. I checked ulimit -a and its set to
unlimited.
Is this a compiler issue?
Probably not.
I would like to see a C code example of how
to increase the limit or make it unlimited (if that is a wise thing to
do).
It is probably an operating system limitation (or a disk quota
limitation). ulimit (which is not part of C) with -a set to
unlimited, just means that the operating system will allow you to
write files as big as is supported by that particular file system.
Whether your operating system supports larger files at all would
be OS specific, as would be any special means to create such files.
This is a matter that should be taken to a resource that deals
with your specific OS. It is -possible- that they will tell you
there to change some flags to your compiles, but that would be
for deep OS implementation reasons, not for reasons directly related
to standard C.
--
If you lie to the compiler, it will get its revenge. -- Henry Spencer
.
- References:
- File Size Limit Exceeded - How to handle work around this?
- From: eastcoastguyz
- File Size Limit Exceeded - How to handle work around this?
- Prev by Date: Re: referring to struct members by number.
- Next by Date: Re: typedef func *func();
- Previous by thread: File Size Limit Exceeded - How to handle work around this?
- Next by thread: Re: File Size Limit Exceeded - How to handle work around this?
- Index(es):
Relevant Pages
|