I was testing the robustness of Alfresco and I got the same error several times. I got a "javax.servlet.ServletException: PermGen space". In alfresco.sh, I did increase Xmx to 1024m . Is there a reason why I get this error? Could it be a memory leak?