Tony,
I do not use c_object - however...
since they are passed by reference, i would think that it would be 
possible to create object(s) in long lasting  process (run time), which 
unless explicitly disposed of (not sure how you do that - clear 
contents?)
would hang around until the client (or server if they created on the 
server) quits.

I would think - that loops which can create objects would be the place 
to look for/find object memory leaks.
something like this: Deamon process (stored procedure), runs on Server 
start

Repeat
  create object
  do something
  sleep
until (Quit)

otherwise - i would assume the 4D does cleanup when the process which 
spawned the object exits, the object(s) are cleared. 
Of course you could always make sure of this (I do with arrays, and 
sets) by explicitly clearing the object.


On Fri, 28 Jul 2017 13:53:33 -0500, Tony Ringsmuth via 4D_Tech wrote:
>> v16
> 
> Is it possible to create memory leaks using 4D Objects?
> 
>  
> 
> If so, how?
> 
>  
> 
> (I’m wanting to make sure that I’m NOT creating leaks)
> 
>  
> 
> TIA,
> 
>  
> 
> --
> 
> Tony Ringsmuth
> 
> Business Brothers Inc.
> 
> 763-420-8686
> 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************
---------------
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to