Changeset 4425
- Timestamp:
- Dec 4, 2009, 10:57:50 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/ws_functions.inc.php
r4367 r4425 973 973 sort($chunks); 974 974 975 ws_logfile('[merge_chunks] memory_get_usage before loading chunks: '.memory_get_usage()); 975 if (function_exists('memory_get_usage')) { 976 ws_logfile('[merge_chunks] memory_get_usage before loading chunks: '.memory_get_usage()); 977 } 976 978 977 979 $i = 0; … … 981 983 $string = file_get_contents($chunk); 982 984 983 ws_logfile('[merge_chunks] memory_get_usage on chunk '.++$i.': '.memory_get_usage()); 985 if (function_exists('memory_get_usage')) { 986 ws_logfile('[merge_chunks] memory_get_usage on chunk '.++$i.': '.memory_get_usage()); 987 } 984 988 985 989 if (!file_put_contents($output_filepath, $string, FILE_APPEND)) … … 992 996 } 993 997 994 ws_logfile('[merge_chunks] memory_get_usage after loading chunks: '.memory_get_usage()); 998 if (function_exists('memory_get_usage')) { 999 ws_logfile('[merge_chunks] memory_get_usage after loading chunks: '.memory_get_usage()); 1000 } 995 1001 } 996 1002
Note: See TracChangeset
for help on using the changeset viewer.