Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Out of memory on loStringBuilder.ToString()
Message
From
07/06/2011 12:16:31
 
 
To
07/06/2011 11:29:40
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:
01513370
Views:
44
>Oh ... I thought you meant you found a way to use StringBuilder directly. Actually, I *did* find a way to do it this morning, but don't know if you'd still have the memory problem.
>
>Instead of using the .ToString(), pass the StringBuilder itself:
>
>
>'loStreamWriter.Write(toStringBuilder.ToString()) 'do not use this one
>
>' use this instead
>loStreamWriter.Write(toStringBuilder)
>
>
>Did you try this variation and still run into memory problems?

Yes, I tried that last night and ended up in the same problem.
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