On Mon, 28 Apr 2014 21:14:14 +0200 Petr Kristan <petr.kris...@epos.cz> wrote:
>[...] > > Others would be better positioned for more detailed comparison among > > various heap managers with regard to speed in different use cases, overall > > memory requirements achieved by reuse of previously allocated memory, etc. > Reuse of previously allocated memory - it really can be my problem. > Here is about 200x call ReAllocMem increasing buffer from 4kB to 80MB. Check if you are increasing buffers in constant steps. Change the increment to exponentially. > It looks like as buffer is increasing ReAllocMem is slowing. > But I must verify this feeling. Mattias _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel