Hello Przemek

Przemyslaw Czerpak-2 wrote:
> 
> 2008-09-18 01:17 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
>   * harbour/source/vm/fm.c
>   + harbour/source/vm/dlmalloc.c
>     + added alternative memory manager written by Doug Lea
>       It can be activated by recompiling Harbour with HB_FM_DL_ALLOC
> macro.
>       Please make test on different platforms with different C compilers.
>       Linux users will not benefit from it because the default GLIBC MM
>       is derived from a version of code.
>       NOTE: the results may strongly depend on total memory allocation
>       and will be different then in simple memory tests.
> 

It has solved mem problem as I had reported earlier.

Function Main() 
   Local i 
   Local aRecs := {} 

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

   Return nil 

Now if it is like

   for i := 1 to 1000000  // 1 million
      aadd( aRecs, {} ) 
      ? i 
   next 

application does not crash. I could probably FEEL application
has become more fast, though I have no benchmarks.

Regards
Pritpal Bedi

-- 
View this message in context: 
http://www.nabble.com/2008-09-18-01%3A17-UTC%2B0200-Przemyslaw-Czerpak-%28druzus-at-priv.onet.pl%29-tp19543179p19546034.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

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

Reply via email to