Re: [MRBS-general] Questions about ics import // Re: import/export csv format
Brought to you by:
jberanek
From: Campbell M. <cam...@gm...> - 2014-02-19 07:47:23
|
How did it fail? There are no explicit limits imposed by MRBS, but there are some system limits that you'll run into. The first two are php.ini settings, 'upload_max_filesize', typically 2MByte and 'max_execution_time', typically 30 seconds. Beyond that there will be memory and disk space limits. At the moment the implementation is fairly basic and the entire file is read before it is processed. A better implementation would be to process the file as it is read in, for example by using PHP streams. It's not an entirely trivial change as there are in fact two stages to the processing: first the file has to be "unfolded" and then it has to parsed and processed. But not too difficult either. For the moment you'll probably need to split the file into smaller chunks. Campbell -----Original Message----- From: Ralf GESELLENSETTER [mailto:rg...@gm...] Sent: 18 February 2014 18:51 To: ma...@ca...; General purpose list (support/developers/users) Subject: Re: [MRBS-general] Questions about ics import // Re: import/export csv format Hi Campbell, thanks for your answers. Am 18.02.2014 10:52, schrieb Campbell Morrison: > I reckon that was four questions, not two Well, how about a fifth question just coming up: Is there a physical/hard limit for the size of imported ics files? I just failed to import one file with 33,050 events, 230,666 lines, 6,554,798 bytes. I will try to chop this file into pieces, just wondering if some maxint of 2^15-1 limits the amount of lines... Cheers Ralf -- PGP/GnuPG: pub 1024D/E6DE0971 |