Ask a Question related to ASP.NET General, Design and Development.
-
Maxim #1
Processing file input for large files[100+ MB] - Performance suggestions?
I am wondering if anyone could suggest come performance improvements for
processing a very large file[100+MB]. THe processing taking place here is
on 30-50MB chunks of the file.
Performance is extremely important here.
+ I initialise a StringBuilder object with the result of the function
System.Text.Encoding.GetString to convert the byte[] input to string.
[potentially gobbling up an extraordinary amount of RAM]
> myEncoding.getString(fileInput);
+ The StringBuilder is converted to a string, capitalisation taken
out[ToLower], and split[String.Split()] on the new line character '\n' which
is placed in a string array.
> fileLines = SB.ToString.ToLower().Split(newline);
At the moment this is taking up to 40-50% of the programs running time to
perform, I'd really like to get this down as low as possible.
Im guessing not converting to a Byte array would save quite a bit of time,
as well as finding a better way to split the string into lines. But I've had
no luck at all finding anything.
Thankyou.
Maxim Guest
-
Illustrator CS files with large linked files results in large file size
If I place a large linked Photoshop 7 file (.psd or.eps), say 36 MB, in Illustrator CS and save without embedding the file it takes ages to save and... -
#25722 [Opn->Csd]: Performance degrades on every page request when including a large .php file
ID: 25722 Updated by: sniper@php.net Reported By: j dot spit at uptime dot nl -Status: Open +Status: ... -
#25722 [Com]: Performance degrades on every page request when including a large .php file
ID: 25722 Comment by: rep at devdomain dot com Reported By: j dot spit at uptime dot nl Status: Open Bug Type:... -
#25722 [NEW]: Performance degrades on every page request when including a large .php file
From: j dot spit at uptime dot nl Operating system: Gentoo Linux 2.4.21 PHP version: 5CVS-2003-10-01 (dev) PHP Bug Type: ... -
Processing large number of xml files
With total disregard for any kind of safety measures "Magna" <dsalang@hotmail.com> leapt forth and uttered: PHP does not support threading...



Reply With Quote

