Added lot of junk laying around on harvie.cz
[mirrors/Programs.git] / php / skripty / mem_kill.php
1 <?php
2 $time = 10; //9
3
4 /*
5 $i = 0;
6 while(1) {
7 $x[$i] = "1";
8 $i++;
9 }
10 */
11
12 echo("\nOPTIMIZING MEMORY");
13 echo("\nPLEASE WAIT...");
14
15 $i = 0;
16 $y = 0;
17 $t = time();
18 while(1) {
19 while ( $y < 10 ) {
20 $x[$i] = "KILL";
21 $i++;
22 $y++;
23 }
24 $y = 0;
25 if ( time() > ($t + $time) )
26 { echo("\nDONE!\nRELASING MEMORY FOR SYSTEM..."); die(); break; }
27 }
28 ?>
This page took 0.262305 seconds and 4 git commands to generate.