Fixed the problem that the web application allocates very much memory over time.