Jeff-Lewis / vosao

Automatically exported from code.google.com/p/vosao
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Can not update template #516

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After deploying vosao 0.9.9, I cannot update page template.
When I press save button to update a template, it gets stuck at there with 
"Loading" message and after sum time it throws below mentioned error.

"Alert! Can't connect to server. java.lang.OutOfMemoryError 490 Java heap space"

I was able to update template with previous versions.

App engine logs.

java.lang.OutOfMemoryError: Java heap space
    at org.apache.velocity.runtime.parser.VelocityCharStream.<init>(VelocityCharStream.java:334)
    at org.apache.velocity.runtime.parser.VelocityCharStream.<init>(VelocityCharStream.java:392)
    at org.apache.velocity.runtime.parser.VelocityCharStream.<init>(VelocityCharStream.java:403)
    at org.apache.velocity.runtime.parser.Parser.<init>(Parser.java:56)
    at org.apache.velocity.runtime.RuntimeInstance.createNewParser(RuntimeInstance.java:1034)
    at org.apache.velocity.runtime.ParserPoolImpl.initialize(ParserPoolImpl.java:50)
    at org.apache.velocity.runtime.RuntimeInstance.initializeParserPool(RuntimeInstance.java:1007)
    at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:254)
    at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:615)
    at org.apache.velocity.app.VelocityEngine.<init>(VelocityEngine.java:82)
    at org.vosao.global.impl.SystemServiceImpl.getVelocityEngine(SystemServiceImpl.java:84)
    at org.vosao.global.impl.SystemServiceImpl.render(SystemServiceImpl.java:98)
    at org.vosao.business.page.impl.StructurePageRenderDecorator.prepareVelocityContent(StructurePageRenderDecorator.java:153)
    at org.vosao.business.page.impl.StructurePageRenderDecorator.prepareContent(StructurePageRenderDecorator.java:101)
    at org.vosao.business.page.impl.StructurePageRenderDecorator.<init>(StructurePageRenderDecorator.java:77)
    at org.vosao.business.impl.PageBusinessImpl.createPageRenderDecorator(PageBusinessImpl.java:179)
    at org.vosao.business.impl.PageBusinessImpl.render(PageBusinessImpl.java:152)
    at org.vosao.business.impl.PageBusinessImpl.render(PageBusinessImpl.java:163)
    at org.vosao.filter.SiteFilter.renderPage(SiteFilter.java:194)
    at org.vosao.filter.SiteFilter.doFilter(SiteFilter.java:128)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    at org.vosao.filter.RewriteFilter.doFilter(RewriteFilter.java:79)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    at org.vosao.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:87)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    at org.vosao.filter.PluginCronFilter.doFilter(PluginCronFilter.java:85)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    at org.vosao.filter.LanguageFilter.doFilter(LanguageFilter.java:71)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    at org.vosao.filter.UpdateFilter.doFilter(UpdateFilter.java:78)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    at org.vosao.filter.InitFilter.doFilter(InitFilter.java:80)

Original issue reported on code.google.com by ad...@nilambar.com on 28 Aug 2011 at 10:13

GoogleCodeExporter commented 9 years ago
Can't reproduce on 0.9.13

Original comment by kinyelo@gmail.com on 21 Jan 2012 at 2:08