Hello Przemek,

I include in my compilation of the flow "set HB_USER_CFLAGS=-DHB_GC_AUTO",
down again harbour svn (10873) and generated again, but see the example
below: 

[CODE]
#include "hbmemory.ch"

#define CRLF chr(13) + chr(10)

function main

local a , b:= 0

cls

while .t. 
      b += 1
      VER_MEMO()
      @22 , 01 say b
      a:={nil} 
      a[1]:=a 
      tecla := inkey()
      if tecla = 27
         exit
      endif
*     hb_gcall()  && with the consumption of this memory is stabilized.
enddo 

return NIL


*****************
function VER_MEMO
*****************

@01, 01 say "   0 = Free Variable Space (KB)                   " + str(
memory( HB_MEM_CHAR        ) )
@02, 01 say "   1 = Largest String (KB)                        " + str(
memory( HB_MEM_BLOCK       ) )
@03, 01 say "   2 = RUN Memory (KB)                            " + str(
memory( HB_MEM_RUN         ) )
@04, 01 say "   3 = Virtual Memory (KB)                        " + str(
memory( HB_MEM_VM          ) )
@05, 01 say "   4 = Free Expanded Memory (KB) (?)              " + str(
memory( HB_MEM_EMS         ) )
@06, 01 say " 101 = Fixed Memory/Heap (KB) (?)                 " + str(
memory( HB_MEM_FM          ) )
@07, 01 say " 102 = Segments in Fixed Memory/Heap (?)          " + str(
memory( HB_MEM_FMSEGS      ) )
@08, 01 say " 103 = Free Swap Memory (KB)                      " + str(
memory( HB_MEM_SWAP        ) )
@09, 01 say " 104 = Free Conventional (KB)                     " + str(
memory( HB_MEM_CONV        ) )
@10, 01 say " 105 = Used Expanded Memory (KB) (?)              " + str(
memory( HB_MEM_EMSUSED     ) )
@11, 01 say "1001 = Memory used (bytes)                        " + str(
memory( HB_MEM_USED        ) )
@12, 01 say "1002 = Maximum memory used (bytes)                " + str(
memory( HB_MEM_USEDMAX     ) )
@13, 01 say "1003 = Total items on the stack                   " + str(
memory( HB_MEM_STACKITEMS  ) )
@14, 01 say "1004 = Total memory size used by the stack (bytes)" + str(
memory( HB_MEM_STACK       ) )
@15, 01 say "1005 = Total items currently on the stack         " + str(
memory( HB_MEM_STACK_TOP   ) )

return NIL

[ENDCODE]

...still consuming memory in these lines:

[CODE]
@11, 01 say "1001 = Memory used (bytes)                        " + str(
memory( HB_MEM_USED        ) )
@12, 01 say "1002 = Maximum memory used (bytes)                " + str(
memory( HB_MEM_USEDMAX     ) )
[ENDCODE]

Harbor me when I'm compiling this line appears. She is right?

[CODE]
bcc32.exe -I. -I../../../../include -q -tWM -d -6 -O2 -OS -Ov -Oi -Oc 
-DHB_GC_AUTO  -I../../source/hbzlib  -I../../external/libpng
-I../../../../source/hbzlib
[ENDCODE]

Best Regards,

Rossine.

-- 
View this message in context: 
http://www.nabble.com/SF.net-SVN%3A-harbour-project%3A-10873--trunk-harbour-tp23080803p23084925.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to