473,466 Members | 1,646 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Out of string space

Hi there!

Sometimes I am getting the errormessage "Out of string space ". The error
occurs on this code:

sBrf = sBrf & sBodyTmp & "\par \page \par "

When this occurs len(sBrf)<100.000 and len(sBodyTmp)<10.000.

Also there is about 1,5gb fysical memory free.

I am using Windows 2000 IIS5.

I tried isolating the proces in IIS to make sure no other scripts are
involved, but it doesn't help.

Does anyone has any ideas of what is wrong here?

Regards,

Ronald

Jul 22 '05 #1
8 3352
100.000 do you mean 100000
and 10000 or 100,000 ??
"Ronald" <ro****@no-spam.nl> schreef in bericht
news:cu**********@reader13.wxs.nl...
Hi there!

Sometimes I am getting the errormessage "Out of string space ". The error
occurs on this code:

sBrf = sBrf & sBodyTmp & "\par \page \par "

When this occurs len(sBrf)<100.000 and len(sBodyTmp)<10.000.

Also there is about 1,5gb fysical memory free.

I am using Windows 2000 IIS5.

I tried isolating the proces in IIS to make sure no other scripts are
involved, but it doesn't help.

Does anyone has any ideas of what is wrong here?

Regards,

Ronald

Jul 22 '05 #2
yes.

100000 and 10000

"Gérard Leclercq" <ge*************@pas-de-mail.fr> wrote in message
news:fp********************@phobos.telenet-ops.be...
100.000 do you mean 100000
and 10000 or 100,000 ??
"Ronald" <ro****@no-spam.nl> schreef in bericht
news:cu**********@reader13.wxs.nl...
Hi there!

Sometimes I am getting the errormessage "Out of string space ". The error occurs on this code:

sBrf = sBrf & sBodyTmp & "\par \page \par "

When this occurs len(sBrf)<100.000 and len(sBodyTmp)<10.000.

Also there is about 1,5gb fysical memory free.

I am using Windows 2000 IIS5.

I tried isolating the proces in IIS to make sure no other scripts are
involved, but it doesn't help.

Does anyone has any ideas of what is wrong here?

Regards,

Ronald


Jul 22 '05 #3

I believe string are ltd to 64 KB. Not Sure
Jul 22 '05 #4
Gérard Leclercq wrote:
I believe string are ltd to 64 KB. Not Sure


That is definitely wrong. A string " ... can be up to approximately 2
billion characters in length." (from the vbscript Usre's guide in the online
documentation).

To the OP, we need a little more context to figure out what is going on. Can
you post a small repro script to allow us to see the problem occurring? We
don't want to see ALL of your code, just enough to allow us to reproduce
your symptoms.

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 22 '05 #5
Ronald wrote:
Hi there!

Sometimes I am getting the errormessage "Out of string space ". The
error occurs on this code:

sBrf = sBrf & sBodyTmp & "\par \page \par "

When this occurs len(sBrf)<100.000 and len(sBodyTmp)<10.000.

Also there is about 1,5gb fysical memory free.

I am using Windows 2000 IIS5.

I tried isolating the proces in IIS to make sure no other scripts are
involved, but it doesn't help.

Does anyone has any ideas of what is wrong here?

Regards,

Ronald

Here are some google results that may help:
http://msdn.microsoft.com/library/de...tringspace.asp
http://www.google.com/search?sourcei...tring+space%22
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 22 '05 #6
IMO should work from the fragment of code you gave here. Don't you have an
array or something in some other part ?

As a side note you could likely optimize by editing "in place" using a big
pre allocated string or by using a temporary file...

Patrice

--

"Ronald" <ro****@no-spam.nl> a écrit dans le message de
news:cu**********@reader13.wxs.nl...
Hi there!

Sometimes I am getting the errormessage "Out of string space ". The error
occurs on this code:

sBrf = sBrf & sBodyTmp & "\par \page \par "

When this occurs len(sBrf)<100.000 and len(sBodyTmp)<10.000.

Also there is about 1,5gb fysical memory free.

I am using Windows 2000 IIS5.

I tried isolating the proces in IIS to make sure no other scripts are
involved, but it doesn't help.

Does anyone has any ideas of what is wrong here?

Regards,

Ronald

Jul 22 '05 #7
There is no single array in the scripfile at all.
"Patrice" <no****@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
IMO should work from the fragment of code you gave here. Don't you have an
array or something in some other part ?

As a side note you could likely optimize by editing "in place" using a big
pre allocated string or by using a temporary file...

Patrice

--

"Ronald" <ro****@no-spam.nl> a écrit dans le message de
news:cu**********@reader13.wxs.nl...
Hi there!

Sometimes I am getting the errormessage "Out of string space ". The error occurs on this code:

sBrf = sBrf & sBodyTmp & "\par \page \par "

When this occurs len(sBrf)<100.000 and len(sBodyTmp)<10.000.

Also there is about 1,5gb fysical memory free.

I am using Windows 2000 IIS5.

I tried isolating the proces in IIS to make sure no other scripts are
involved, but it doesn't help.

Does anyone has any ideas of what is wrong here?

Regards,

Ronald


Jul 22 '05 #8
And you are not using other strings in the other parts of your script ?
Posting the minimal amount of code that exhibits the problem may help.
Patrice
--

"Ronald" <ro****@no-spam.nl> a écrit dans le message de
news:cu**********@reader13.wxs.nl...
There is no single array in the scripfile at all.
"Patrice" <no****@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
IMO should work from the fragment of code you gave here. Don't you have an
array or something in some other part ?

As a side note you could likely optimize by editing "in place" using a big pre allocated string or by using a temporary file...

Patrice

--

"Ronald" <ro****@no-spam.nl> a écrit dans le message de
news:cu**********@reader13.wxs.nl...
Hi there!

Sometimes I am getting the errormessage "Out of string space ". The

error occurs on this code:

sBrf = sBrf & sBodyTmp & "\par \page \par "

When this occurs len(sBrf)<100.000 and len(sBodyTmp)<10.000.

Also there is about 1,5gb fysical memory free.

I am using Windows 2000 IIS5.

I tried isolating the proces in IIS to make sure no other scripts are
involved, but it doesn't help.

Does anyone has any ideas of what is wrong here?

Regards,

Ronald



Jul 22 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Mark | last post by:
Hi, My page has a table with many columns such that the right-side of the table gets chopped off when printed. I specify a table width of 100%, but otherwise no cell dimensions are specified. ...
4
by: Simon Schaap | last post by:
Hello, I have encountered a strange problem and I hope you can help me to understand it. What I want to do is to pass an array of chars to a function that will split it up (on every location where...
19
by: linzhenhua1205 | last post by:
I want to parse a string like C program parse the command line into argc & argv. I hope don't use the array the allocate a fix memory first, and don't use the memory allocate function like malloc....
32
by: tshad | last post by:
Can you do a search for more that one string in another string? Something like: someString.IndexOf("something1","something2","something3",0) or would you have to do something like: if...
11
by: Darren Anderson | last post by:
I have a function that I've tried using in an if then statement and I've found that no matter how much reworking I do with the code, the expected result is incorrect. the code: If Not...
3
by: stathisgotsis | last post by:
Hello everyone, Trusting K&R2 i thought until recently that spaces are ignored in scanf's format string. Reading arguments to the contrary confused me a little. So i now ask: Is...
15
by: DanielJohnson | last post by:
I am writing a program in which I am removing all the spaces from the string. I thought that I could do it two ways. One was parsing the string character by character and copying onto another...
2
by: csrocker101 | last post by:
Ok basically I've got two programs. A client and a server application. In the client you can either send one string with just use the username which will tell the server not to update the database...
11
by: ramu | last post by:
Hi, Suppose I have a string like this: "I have a string \"and a inner string\\\" I want to remove space in this string but not in the inner string" In the above string I have to remove...
8
by: drjay1627 | last post by:
hello, This is my 1st post here! *welcome drjay* Thanks! I look answering questions and getting answers to other! Now that we got that out of the way. I'm trying to read in a string and...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.