469,602 Members | 1,747 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,602 developers. It's quick & easy.

Out of String Space: 'Replace'


All of a sudden this morning my ASP files started generating the error:

Out of String Space: 'Replace'

These script files have been running just fine for several weeks with no
problems. I did review the code and yes the script is calling the
Replace function at the line specified in the error information.

I'm puzzled as to why the code would all of a sudden start generating
this error ?

Any ideas ?

Ed

Jul 19 '05 #1
3 9613
How large is this string? A string is limited to "approximately" 2 billion
characters. What's your code?

Ray at work
"Ed Swartz" <Ed*******@SandyPondConsulting.com> wrote in message
news:3F************@SandyPondConsulting.com...

All of a sudden this morning my ASP files started generating the error:

Out of String Space: 'Replace'

These script files have been running just fine for several weeks with no
problems. I did review the code and yes the script is calling the
Replace function at the line specified in the error information.

I'm puzzled as to why the code would all of a sudden start generating
this error ?

Any ideas ?

Ed

Jul 19 '05 #2
Here's a more narrowed-down search result: http://tinyurl.com/hoe5

Bob Barrows wrote:
Ed Swartz wrote:
All of a sudden this morning my ASP files started generating the
error:

Out of String Space: 'Replace'

These script files have been running just fine for several weeks with
no problems. I did review the code and yes the script is calling the
Replace function at the line specified in the error information.

I'm puzzled as to why the code would all of a sudden start generating
this error ?

Any ideas ?

Ed


I had never seen this either. so i did a Google search:
http://tinyurl.com/hoc3

HTH,
Bob Barrows


Jul 19 '05 #3
Ray: The string in question is about 11,398 characters in length. This
is much less than the 2 billion limit. So, from that viewpoint there
shouldn't be any problem with ASP handling a string of 11K characters.

The code is rather complicated so I'm not sure it's worth posting it here.

Aaron:

The code example in ASPFAQ shows working with a string of 32,000,000
characters. The string I'm working with is about 11K characters as noted
above.
The hosting firm reset the server, the errors have stopped and my web
pages are displaying just fine.
Ed
Ed Swartz wrote:

All of a sudden this morning my ASP files started generating the error:

Out of String Space: 'Replace'

These script files have been running just fine for several weeks with no
problems. I did review the code and yes the script is calling the
Replace function at the line specified in the error information.

I'm puzzled as to why the code would all of a sudden start generating
this error ?

Any ideas ?

Ed


Jul 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

20 posts views Thread by hagai26 | last post: by
32 posts views Thread by tshad | last post: by
2 posts views Thread by Carl Gilbert | last post: by
11 posts views Thread by jarod1701 | last post: by
2 posts views Thread by ce_dipak | last post: by
1 post views Thread by Gene Kelley | last post: by
2 posts views Thread by kevin.eugene08 | last post: by
reply views Thread by guiromero | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.