Sep-20-2016, 08:47 AM
Another solution:
Create many subprocesses:
Create many subprocesses:
- All subprocesses will try to grab a visible chunk of memory (say 50M).
- You start the processes at regular intervals, and each process exits after some delay, that is specific to it, with processes started first having longer lifespans.
- So the first process grabs memory for 20 seconds, the seconds starts one second later but has a lifespan of 18 secs, and the third has a life span of 16 seconds, etc.
- Once you detect the end of the first process, do it again.
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Your one-stop place for all your GIMP needs: gimp-forum.net