Max. filesize/component size

General APL language issues

Max. filesize/component size

Postby MBaas on Thu Mar 11, 2010 1:51 pm

I did search the site for the info, but if it's there, it's too hard to find ;)
So what's the maximum size for a ⎕F-File and a single component (32bis vs 64, and possible also v11 (and onwards) vs. 10 - if there is a diff)?
User avatar
MBaas
 
Posts: 156
Joined: Thu Oct 16, 2008 1:17 am
Location: Gründau / Germany

Re: Max. filesize/component size

Postby Richard|Dyalog on Fri Mar 12, 2010 4:23 pm

The limit on the total size of a component file, and for each individual component within it, is 2*32 bytes (4GB) for 32 bit files and 2*64 bytes (18EB) for 64 bit files, filesystem permitting. Each component consists of array data plus some overhead, and each component file consists of components plus some overhead, so eg a 32 bit file cannot contain as much as 4GB of APL data. The overheads are included in the size limits. The component overhead is typically a few dozen bytes per component (the exact amount depends on whether the file is 32/64 bit and whether the file is journaled/checksummed). The file overhead depends on how many components are on the file and how fragmented it is.

Both 32 and 64 bit files can contain up to 2*32 - 2 components.

These limits have remained the same from 10.0 onwards (64-bit component files were not introduced until 10.1).
User avatar
Richard|Dyalog
 
Posts: 41
Joined: Thu Oct 02, 2008 11:11 am


Return to Language

Who is online

Users browsing this forum: No registered users and 0 guests