--| Copyright (c) 1993-2006 University of Southern California and contributors. --| All rights reserved. --| Your use of this work is governed under the terms of the GNU General --| Public License version 2. -- This is a test control file test_name multithreaded-memory-leak test_description A system repeatedly creates one thread (which has an empty `execute' procedure) and then calls join_all to wait for it to terminate. As the number of threads which have been created increases, the memory used by the executing system keeps growing, apparently without limit. After 4000 threads have been created, system memory usage is about 90 MB. copy_sub Ace $TEST Ace copy_raw test.e $CLUSTER test.e copy_raw worker.e $CLUSTER worker.e compile_frozen compile_result ok c_compile_work c_compile_result ok execute_work NONE exec_output1 50000 execute_result ok compare exec_output1 output compile_final compile_result ok c_compile_final c_compile_result ok execute_final NONE exec_output2 50000 execute_result ok compare exec_output2 output test_end