Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #738
| From | Robert van der Hulst <E-55525A53-4121-E@heliks.nl> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: ITEM API |
| Date | 2011-04-07 13:34 +0200 |
| Message-ID | <104173310.20110407133440@heliks.nl> (permalink) |
| References | (1 earlier) <4d9b9019$0$11193$c30e37c6@exi-reader.telstra.net> <de5de8ff-7f05-476f-ac17-19e10c0a0a7c@32g2000vbe.googlegroups.com> <5XVmp.27893$7u3.4399@newsfe04.ams2> <8110712419.20110407092705@heliks.nl> <g8fnp.5423$2o1.3559@newsfe18.ams2> |
Hi Martin, On Thu, 07 Apr 2011, at 09:06:20 [GMT UTC] (which was 11:06 where I live) you wrote about: 'ITEM API' > ItemRegister and ItemRelease are in use but the memory they are using > doesn't APPEAR to be released. > Currently we have a C expert testing our code trying to find the leak > and it seems that the Item API may be the culprit. > This may not be the case but we are investigating lots of avenues. ItemRelease does not really release the memory, but it unregister the ITEM with the GC. IremRegister and ItemRelease are not much more then wrappers around RegisterKID() and UnregisterKID(). Please not: - Call ItemRegister AFTER assigning a dynamic value (array, float, objects, string) to an Item. - ItemRelease check to see if the Item points to a string, object, float, array. If so it calls UnregisterKid. However the the pointer inside the item will not be cleared and will remain valid until the next GC run. -- Robert van der Hulst AKA Mr. Data www.heliks.nl
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
ITEM API Martin <spam@spam.spam> - 2011-04-05 12:27 +0100
Re: ITEM API "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-04-05 21:56 +0000
Re: ITEM API "richard.townsendrose" <richard.townsendrose@gmail.com> - 2011-04-06 01:38 -0700
Re: ITEM API Martin <spam@spam.spam> - 2011-04-06 09:58 +0100
Re: ITEM API Robert van der Hulst <E-55525A53-4121-E@heliks.nl> - 2011-04-07 09:27 +0200
Re: ITEM API Martin <spam@spam.spam> - 2011-04-07 10:06 +0100
Re: ITEM API Robert van der Hulst <E-55525A53-4121-E@heliks.nl> - 2011-04-07 13:34 +0200
Re: ITEM API Martin <spam@spam.spam> - 2011-04-07 13:07 +0100
csiph-web