Miguel,
I'm confident there's no problem at hb_vmQuit(), at least in this
regard. Again, please remember that STRING items are NOT manmaged by
GC at all!
I didn't check but it's very likely that symbols are created for
Aliases and are not released individually, until all symbols are
released by hb_vmQuit().
Ron
On Jun 17, 2008, at 10:06 AM, Miguel Angel Marchuet wrote:
> Ron Pinkas escribió:
>> Miguel,
>> Please try this reduced sample:
>> //-------------------------------------------------------------------
>> --- -------------------------//
>> #include "hbmemory.ch"
>> PROCEDURE Main()
>> LOCAL n
>> REQUEST HB_GT_WIN
>> DBCREATE( 'TEST', {{'TEST','C',1,0}} )
>> ? 'Used blocks 1 -> ' + AllTrim( Str( Memory
>> ( HB_MEM_BLOCKS ) ) )
>> FOR N := 1 TO 100
>> USE TEST NEW
>> NEXT
>> DbCloseAll()
>> HB_GCALL(.T.)
>> ? 'Used blocks 2 -> ' + AllTrim( Str( Memory
>> ( HB_MEM_BLOCKS ) ) )
>> RETURN
>> //-------------------------------------------------------------------
>> --- -------------------------//
>
> Yes at dynsym names we use 2 block for each alias.
>
> this is not the problem. almost is not a great problem.
>
> the problem resides at vm_quit, I don't localize where this alias
> will be destroyed.
> I suppose that a cross reference don't leave to free this items.
>
> Best regards,
> Miguel Angel Marchuet
>
>
>
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers