1. In the Apache Tomcat-7.0.70-\ bin \ the catalina.bat (in the Linux system is the catalina.sh) the file echo Using CATALINA_BASE: "% CATALINA_BASE% " The above insert the following code
1 set JAVA_OPTS=%JAVA_OPTS% -server -XX:PermSize=256M -XX:MaxPermSize=512m
2. eclispe the window -> Preferences -> java - > Installed JRES -> Edit -> Defalut VM arguments add the next: -Xms64m -Xmx256m
3. Under the eclispe run -> Debug Configurations -> Apache Tomcat -> Arguments added: -XX: 128M PermSize = -XX: MaxPermSize = 256M
4. In the eclispe Run -> Configurations Debug shown in FIG added: Xms256m -Xmx512m -XX: 256M MaxNewSize = -XX: MaxPermSize = 256M