Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Out of memory on loStringBuilder.ToString()
Message
From
06/06/2011 16:51:03
 
 
To
06/06/2011 16:49:49
General information
Forum:
ASP.NET
Category:
Troubleshooting
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01513090
Message ID:
01513215
Views:
29
>I have no idea how big your string is, but I can see how a large enough string might eat up memory. Perhaps you can have an overloaded CreateFileEncoding() method that takes a StringBuilder instead of a string. That way, you don't utilize .ToString() until you're in the process of actually writing it out to a file
>
>
>loStreamWriter.Write(tcStringBuilder.ToString())
>
>
>Would that work ok for you?

This is a great idea. I will work on it and let you know.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform