|
@@ -1,26 +0,0 @@
|
|
|
-#!/usr/bin/env python
|
|
|
-##############################################################################
|
|
|
-#
|
|
|
-# Copyright (c) 2007 Agendaless Consulting and Contributors.
|
|
|
-# All Rights Reserved.
|
|
|
-#
|
|
|
-# This software is subject to the provisions of the BSD-like license at
|
|
|
-# http://www.repoze.org/LICENSE.txt. A copy of the license should accompany
|
|
|
-# this distribution. THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL
|
|
|
-# EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO,
|
|
|
-# THE IMPLIED WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND
|
|
|
-# FITNESS FOR A PARTICULAR PURPOSE
|
|
|
-#
|
|
|
-##############################################################################
|
|
|
-
|
|
|
-# A process which leaks 1MB per second on purpose so we can test the
|
|
|
-# memmon killer
|
|
|
-
|
|
|
-import time
|
|
|
-L = []
|
|
|
-M = pow(2, 20)
|
|
|
-
|
|
|
-while 1:
|
|
|
- L.append('x'*M)
|
|
|
- time.sleep(1)
|
|
|
-
|