Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-2952

Out of memory serialise the LTI mapper

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 12.0
    • Fix Version/s: 12.0.1
    • Component/s: Framework
    • Labels:
      None

      Description

      The serialisation of the PackageTranslator has a link to managers and modules. This part need to beed transient.

      2017-08-19 17:35:34,842 [ajp-nio2-8058-exec-2] ERROR OLATRuntimeException - OLAT::ERROR ^%^ N58-E4
      org.olat.core.logging ^%^ 429a5350-591b-4695-8ffa-c4387e06ada5
      https://elearning.xyz.com/auth/RepositoryEntry/35323931/CourseNode/88278671202829
      Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
      **RedScreen** Java heap space
      
      <dispatchinfo>
      	<componentinfo>
      		<compname>start</compname>
      		<compclass>org.olat.core.gui.components.link.Link</compclass>
      		<extendedinfo>n/a</extendedinfo>
      		<event>
      			<class&gt;org.olat.core.gui.control.Event</class&gt;
      			<command>start</command>
      			<tostring>com:start,org.olat.core.gui.control.Event@68ac481</tostring>
      		</event>
      	</componentinfo>
      	<controllerinfo>
      		<controllername>org.olat.course.nodes.basiclti.LTIRunController</controllername>
      		<controllername>org.olat.course.run.RunMainController</controllername>
      		<controllername>org.olat.course.run.CourseRuntimeController</controllername>
      		<controllername>org.olat.core.commons.fullWebApp.BaseFullWebappController</controllername>
      	</controllerinfo>
      </dispatchinfo>
      
      
      >>> stack of 1.cause::org.olat.core.logging.OLATRuntimeException: Java heap space
      -> at org.olat.core.gui.exception.ExceptionWindowController.<init>(ExceptionWindowController.java:116)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:57)
         at org.olat.core.gui.exception.MsgFactory.createMessageChiefController(MsgFactory.java:46)
         at org.olat.core.gui.components.Window.dispatchRequest(Window.java:549)
         at org.olat.core.gui.components.Window.doDispatchRequest(Window.java:242)
         at org.olat.core.gui.components.AbstractComponent.dispatchRequest(AbstractComponent.java:193)
         at org.olat.dispatcher.AuthenticatedDispatcher.processValidDispatchURI(AuthenticatedDispatcher.java:273)
         at org.olat.dispatcher.AuthenticatedDispatcher.execute(AuthenticatedDispatcher.java:190)
         at org.olat.core.servlets.OpenOLATServlet.executeUserRequest(OpenOLATServlet.java:289)
         at org.olat.core.servlets.OpenOLATServlet.doPost(OpenOLATServlet.java:232)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
      >>> stack of 2.cause::java.lang.OutOfMemoryError: Java heap space
      -> at java.util.Arrays.copyOf(Arrays.java:3332)
         at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124)
         at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:596)
         at java.lang.StringBuffer.append(StringBuffer.java:367)
         at java.io.StringWriter.write(StringWriter.java:94)
         at com.thoughtworks.xstream.core.util.QuickWriter.flush(QuickWriter.java:73)
         at com.thoughtworks.xstream.io.xml.PrettyPrintWriter.flush(PrettyPrintWriter.java:346)
         at com.thoughtworks.xstream.XStream.toXML(XStream.java:1283)
         at com.thoughtworks.xstream.XStream.toXML(XStream.java:1268)
         at org.olat.core.dispatcher.mapper.manager.MapperDAO.persistMapper(MapperDAO.java:69)
         at org.olat.core.dispatcher.mapper.manager.MapperServiceImpl.register(MapperServiceImpl.java:120)
      

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m