Thanks guys.
If I preface my arrayname dim(0) statements with undim arrayname(0) statements, there is no improvement.
I am working with user-defined type structures with about 40 "fields". They are a mix of integers, floats, and strings. The array "A" index goes up to about 2500. I'll try the task manager thing.
I have timed various segments of my code and have isolated two still large segments with the "longer and longer" problem. The problem is not the 3D object generation - DBPro shines there. 6000 objects no problem.
I did a re-write of one of the problem segments. Faster, yes, and it does not seem to be in the "longer and longer" mode any longer. Part of the re-write was to use another "permanent" UDT to hold some of my interim variables. My thinking was to force them to have a memory "home" that wouldn't move (as a hobbyist that is about as technical as I get) and it seems to work. Not sure if I can do the same for the other segment.
[edit]
The one qualitative before and after difference in the code block I was able to improve (get rid of the longer and longer characteristic) is that the before code used thousands of exits from a while-endwhile loop but the after code does not. The remaining problem block of code also has a lot of whle-endwhile exits. If I can re-write this to eliminate the do while exits and the "longer and longer" goes away, I may be onto something.
[edit]
That's it! (I think) Repeated exits from while-endwhiles are bad mojo. I guess it remains for me to post some code demonstrating this. I'll try later. If someone beats me to it, great.
[edit] Spend an hour trying to mimic the code and structures with this problem, but unable to reproduce the effect. I may have to gradually de-construct 9,000+ lines of code to see exactly what is doing this.