Mike Carroll
Member
I've not done very much with MEMPTR's before. Can anyone tell me whether Progress automatically deallocates memory when the MEMPTR variable goes out of scope, or do you have to deallocate manually with SET-SIZE(0).
I know which is the safest bet, but we have a bug in our program so I'm just trying to identify the real cause. I think the program is running out of memory (there are no explict deallocations) but looking at the help for SET-SIZE, there doesn't seem to be a way to detect whether the allocation was successful or not. Anyone know the correct way?
Thanks.
I know which is the safest bet, but we have a bug in our program so I'm just trying to identify the real cause. I think the program is running out of memory (there are no explict deallocations) but looking at the help for SET-SIZE, there doesn't seem to be a way to detect whether the allocation was successful or not. Anyone know the correct way?
Thanks.