Since that used 1.7M, it seems that it wasn't using the 1024 limit (unless that code's broken). I'm just wondering where that other log message came from (note also that it's indicating a non-unique sort). -- Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461