Przemyslaw,

Przemysław Czerpak wrote:
> If you have to keep existing OS then you can try to increase the memory
> used by Harbour RDD driver for buffers during indexing.
> In src/rdd/dbfcd/dbfcdx1.c[9191] I described how DBFCDX allocates memory.
> As you can see in the comment it should not allocate more then 35Mb memory.
> For modern computers such memory block seems to be quite small so you can
> try to increase it, i.e. to 256MB.
> In line 9167:
>    ulSize = ( 1L << 20 ) / ( iLen + 4 );
> change the default memory block size, i.e.:
>    ulSize = ( 1L << 27 ) / ( iLen + 4 );
> recompile DBFCDX (all whole Harbour) and make speed tests.

What about a runtime Set() option and/or have the default using more memory?
Todays pc should be able to handle 256Mb buffers without problems.

Best regards.

Maurilio

-- 
 __________
|  |  | |__| Maurilio Longo
|_|_|_|____| farmaconsult s.r.l.


_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to