#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>

int main(int argc, char **argv)
{
  size_t size=200*1024*1024, offs;
  char *buffer;
  unsigned short pagesize=sysconf(_SC_PAGE_SIZE);
  time_t t0, d_t=20;

  buffer=(char *)malloc(size);
  if(!buffer){
    perror("Error en malloc()");
    exit(EXIT_FAILURE);
  }

  offs=0;
  t0=time(NULL);
  while(time(NULL)<t0+d_t){
    buffer[offs]=0;
    offs=(offs+pagesize)%size;
  }

  free(buffer);

  exit(EXIT_SUCCESS);
}
