Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with files

Status
Not open for further replies.

revit

Programmer
Oct 27, 2001
36
IL
I wrote an "heavy" program which writes its memory contant into the disk once in a while. the file on the disk can reach to 14 giga if the input file is very big. the problem is that in that case (when input file is very big) the program stops when the file size is about 14 giga. i am not sure the file size is the problem. what is the maximum file size i can use? is there a preffered way (spliting the huge file into 2 smaller files and work with them?)

Thanks.
 
Dear revit:

Theoretically file size on disk is unlimited in UNIX. In reality, each current implementation of UNIX might have their own limitations, i.e. SunOs is slightly different from AIX, etc.

Having file sizes that big is generally not a good idea. We had similar problems (although the write process did not stop). What we did - we run our C++ program from the shell script which before calling the program went along and break large input file into number of smaller, more manageble ones.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top