Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-10304

Statistics do not count all responses

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.2, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.3.0, 2.3.1, 2.3.2, 2.4.0, 2.4.1
    • Fix Version/s: 2.3.x, 2.4.x, 2.5.0
    • Labels:
      None

      Description

      Date: Thu, 24 May 2007 08:05:14 +0200
      From: "Gregory Doyle" <Gregory.Doyle@uct.ac.za>

      Hi
      Not sure if anyone has come across this before.
      Published a quiz (7 parts, no question pools involve, every question 0
      marks, anonymous grading, not send to gradebook, 1 submission only etc)

      On the Statistics page, (Viewing All Submissions) number of submissions
      = 348 but the responses for the MCQ and Short Answer questions add up to
      around 238 only. So what happened to the other 110 responses?

      Went to the questions page and checked individual questions, there are
      348 responses (copy and pasted to Excel to make sure its correct, and it
      is)

      Any ideas?

      Thanks
      greg

      Date: Sat, 02 Jun 2007 09:40:54 +0200
      From: Stephen Marquard <stephen.marquard@uct.ac.za>

      Karen Tsao wrote:
      Hi Stephen,
      Thanks for providing these information. I think I know where it goes wrong.
      In AssessmentGradingFacadeQueries.java, there is a line:
      criteria.setMaxResults(10000)
      It restricts/truncate the returning data. Lydia said this is added by Indiana U in 2.1.
      There is one comment explains the reason to set the max results:
      //large list cause out of memory error (java heap space)
      However, we don't even know if we will still get this error for later version
      because Sakai requires larger the heap size now. Could you please help me to
      try it out? Just change
      return criteria.setMaxResults(10000).list();
      to
      return criteria.list();
      Please let me know if you get out of memory error. If not, please let me know if the
      statistics page looks fine..

      Hi Karen

      That seems to fix it, and we didn't get any out of memory errors in catalina.out. Our JAVA_OPTS are

      -server -Xmx1200m -XX:MaxPermSize=256m -XX:+UseAdaptiveSizePolicy -XX:GCTimeRatio=49 -XX:ThreadStackSize=256

      Could you get this fix into the 2-4-x branch as well as trunk?

      Cheers
      Stephen

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  hquinn Huong Nguyen (Inactive)
                  Reporter:
                  lydial@stanford.edu Lydia Li
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration