I have tested the Lock/Unlock variables and that works fine, all of the
writing to the globals are protected by the above, so I was going to get
around to testing the reading. I believe it is related to the number of
globals present, since removing this exact set of 5 array with 4000
elements causes things to be a lot better. The strange thing is that the
code that we removed is almost identical to other caching code that I wrote,
so I was very baffled.

In my case it was only an Text array with about 40 elements. And not every time
but mostly crashed. I think it is not the size of the array. Maybe what is inside the
array. I had only tested it with Text arrays. in the text array was japanese char,
and I thought maybe it didn`t like the double byte chars....


Ken Ishimoto





Reply via email to