diff -r 15fcdfc4cd4a -r 0ea04469967d statistics/src/main/java/cz/xelfi/quoridor/statistics/resources/Statistics.java --- a/statistics/src/main/java/cz/xelfi/quoridor/statistics/resources/Statistics.java Tue Sep 14 09:46:43 2010 +0200 +++ b/statistics/src/main/java/cz/xelfi/quoridor/statistics/resources/Statistics.java Sun May 01 21:10:07 2011 +0200 @@ -78,6 +78,8 @@ HttpServer s = start(port); System.out.println("Statistics started at port " + port); Object monitor = new Object(); +/* + * Disabled until OutOfMemory is solved // Wait until begining of next period. If timeout is one day, then next // processing will be done after midnight synchronized (monitor) { @@ -89,6 +91,11 @@ monitor.wait(timeout); } } + * + */ + synchronized (monitor) { + monitor.wait(timeout); + } } public static HttpServer start(int port) throws IOException {