I god-moded the bridge to smithereenes, and only registered about 8000 broken links, but I venture to guess that there were a great deal more.
At any rate, after adding a couple more pieces of cable, I went back into test mode, and my level appeared to have only a couple cables dangling in midair!
I can only guess that whatever data structure was keeping track of my links got filled up and cycled back round. Deleting the links that I could see in the editor and then going back into test mode made my whole bridge reappear.
Hmmm....
In case you think this is my fault, keep in mind that I have 256 MB of RAM and a 1.5 GB pagefile. I don't think I'm running out of memory.
I have observered in the mean time, that while the links may be gone, the verticies are still there. What I mean is, in the edit screen, move the sun until it is night. Then when you test the "bridge" you will see the verticies suspended where links used to be.
The second thing I noticed that removing extranious cable, that wasn't really providing any support was not providing me with additional beams of steel. For that reason, I suspect that the limit may be on verticies, and not beams.
I hope this is a limitation that Alex lifts soon. If I don't have the building completed soon, I'll begin to owe the city money, and the workers are being paid, even if there aren't building materials. I had to pay them time and a half yesterday, it being halloween and all.
My theory is that links are allocated dynamically, but that there's an array of pointers to link objects which overflows at around 16,000. Interestingly, pointers are 4 bytes, and 4x16,000 is roughly the size of a 'segment' in memory. The stack used to be typically limited to a single segment due to interesting issues with x86. So that's why I thought it might have something to do with running out of stack space. But it may have nothing at all to do with the stack, and just be a freak behavior of segments and such. I don't think the array of links would be statically allocated.
Anyone remember any programs that used Dos4gw?