Current Path : /opt/cpanel/ea-ruby27/src/passenger-release-6.0.23/test/support/ |
Current File : //opt/cpanel/ea-ruby27/src/passenger-release-6.0.23/test/support/allocate_memory.c |
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> int main(int argc, char *argv[]) { long size = atol(argv[1]) * 1024 * 1024; char *memory = (char *) malloc(size); memset(memory, 0, size); sleep(999999999); return 0; }