Re: memory not freed up?
- From: Rich Townsend <rhdt@xxxxxxxxxxxxxxxxxxx>
- Date: Sat, 29 Oct 2005 19:47:48 -0400
Brooks Moses wrote:
Rich Townsend wrote:
Can I suggest a much-simpler strategy to avoid memory fragmentation: always try to deallocate arrays in the order in which they were created. As far as I'm concerned, any approach more sophisticated than that will be highly platform-dependent, and therefore may have sub-optimal performance on platforms for which it was not 'tuned'.
My naive impression would be that the appropriate strategy would be to deallocate arrays in the _reverse_ order from the order in which they were created.
Am I missing something obvious, or was this a typo?
Typo. Too little coffee!
cheers,
Rich .
- References:
- memory not freed up?
- From: cluenewbieblue
- Re: memory not freed up?
- From: fj
- Re: memory not freed up?
- From: Rich Townsend
- Re: memory not freed up?
- From: Brooks Moses
- memory not freed up?
- Prev by Date: Re: RANDOM
- Next by Date: Re: ordinate a sequences of number
- Previous by thread: Re: memory not freed up?
- Next by thread: Re: memory not freed up?
- Index(es):