I think but can't be certain that you must deallocate the array when done by set the length to 0, but I can't be sure that it isn' t deallocated when the application shuts down when using the VCL. I remember, while using the API and a dynamic array that after a heavy afternoons compiling my machine filled up 256mb of memory because I hadn't been deallocating some hefty map array but that was without the VCL and they behave slightly differently when it come to destroying stuff. I wonder if AliMonster knows, he's down with all that.