We are having a new problem (described below) with our app running as application server in VA 5.5.2 which was not there for the last 4 years. I am not sure if it is related to all the patches we are applying to the windows 2000 server. If any of the smalltalk guru's can help us out or point to where we can find help, we really appreciate your help
Thanks in advance,
ykc
Problem:
While running some scripts, the application hangs for 10-15 seconds and becomes unresponsive too often. Not sure if it is doing garbage collection during that time, but this problem was not there for the last 4 years. Below is a sample code that illustrates this problem. I run the parsing script on a collection of xml strings and you can see that times when it hangs randomly for the same set of input xml strings.
|count|
count := 0.
XmlResults do:[:eXml |
|time|
time := Time millisecondsToRun:[IdXMLReader parseDocumentInString: eXml].
count := count+1.
Transcript cr; show: count printString, ') Parsing Time:', time printString].
First Run:
1) Parsing Time:281
2) Parsing Time:468
3) Parsing Time:516
4) Parsing Time:547
5) Parsing Time:172
6) Parsing Time:500
7) Parsing Time:672
8) Parsing Time:10328
9) Parsing Time:312
10) Parsing Time:187
11) Parsing Time:313
12) Parsing Time:187
13) Parsing Time:188
Second Run:
1) Parsing Time:203
2) Parsing Time:422
3) Parsing Time:484
4) Parsing Time:10547
5) Parsing Time:156
6) Parsing Time:484
7) Parsing Time:547
8) Parsing Time:266
9) Parsing Time:296
10) Parsing Time:204
11) Parsing Time:296
12) Parsing Time:10125
13) Parsing Time:188
Third Run:
1) Parsing Time:203
2) Parsing Time:406
3) Parsing Time:469
4) Parsing Time:500
5) Parsing Time:157
6) Parsing Time:468
7) Parsing Time:10469
8) Parsing Time:266
9) Parsing Time:312
10) Parsing Time:188
11) Parsing Time:297
12) Parsing Time:172
13) Parsing Time:203