Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Out of memory on loStringBuilder.ToString()
Message
De
07/06/2011 00:52:36
 
 
À
06/06/2011 18:45:45
Information générale
Forum:
ASP.NET
Catégorie:
Problèmes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01513090
Message ID:
01513296
Vues:
57
J'aime (1)
>I was able to resolve the issue by streaming the entire content into the file. So, a 223 MB .xls file can then be created.

Can you post the code that solved your problem? I was going to suggest something along those lines, but didn't get far because, with the encoding you were doing with the StreamWriter, I didn't find an applicable overload with the FileStream ... and, unfortunately, I didn't have the time to investigate it further. Others might benefit from your solution.

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform