This reduced example give pretty much the same effect:
---
Function Main()
  Local i
  Local aRecs := {}

  for i := 1 to 100000
     aadd( aRecs, {} )
     ? i
  next

  Return nil
---

It goes wild after a little more while.
(400MB @ i = 40000, 900MB @ i = 5000).

Strangely, replacing {} with "1234567890123456"
seems to make it work okay.

Brgds,
Viktor

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to