Posted on 2001-06-02
I wrote a kiosk application and some of my users have been asking me to add a feature to free memory after each user. I did a bit of reasearch and it seems the most that can be done is allocate lots of memory then releasing that memory, like that C++ code I found on the Internet:
while (((pMem = malloc(MemSize)) == NULL ) && MemSize (size_t)20))
MemSize = MemSize / (size_t)2;
if (pMem != NULL)
Is there any use to doing something like that and if so does is there any Delphi code I can use.