[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#503962: Program to reproduce



This sounds exacly like the problem reported in #503821.

This ugly test program should be able to reproduce the problem
even if you extend the memory on Dom0 to 256M or more.

#include <stdlib.h>

/* my amount of ram */
#define TESTSIZE 2048000

struct testchunk {
  char name[1048576];
};

main()
{
  int *p;
  int t;
  for (t=0;t<TESTSIZE;t++) {
    p = (int *) malloc(sizeof(struct testchunk));
  }
  sleep(15);
  exit(0);
}

Best Regards,
/LM



Reply to: