GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Add to registry
[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
(
"
\n
OPTIMIZING MEMORY"
);
13
echo
(
"
\n
PLEASE 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
(
"
\n
DONE!
\n
RELASING MEMORY FOR SYSTEM..."
);
die
();
break
; }
27
}
28
?
>
This page took
0.360586 seconds
and
4
git commands to generate.