The SIO2 project
  1. The SIO2 project
  2. SIO-1882

Make sure that SIO2 has correct MAX_MEMORY_LIMIT_FOR_TEST in settings.py

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: Current Version
    • Fix Version/s: For the OI Team
    • Component/s: OIOIOI
    • Labels:
      None

      Issue Links

        Activity

        Hide
        Przemysław Jakub Kozłowski added a comment -
        I set this variable in settings.py on sio2.mimuw.edu.pl a few months ago: MAX_MEMORY_LIMIT_FOR_TEST = 520 * 1024. This causes that the memory limit 515MB is accepted, but 516 MB is not.

        The memory limit is automatically detected from the content of the task using the formula:
        "return (value + (value + 31) / 32) * 1000".

        Could I ask for a more detailed explanation of the problem?
        Show
        Przemysław Jakub Kozłowski added a comment - I set this variable in settings.py on sio2.mimuw.edu.pl a few months ago: MAX_MEMORY_LIMIT_FOR_TEST = 520 * 1024. This causes that the memory limit 515MB is accepted, but 516 MB is not. The memory limit is automatically detected from the content of the task using the formula: "return (value + (value + 31) / 32) * 1000". Could I ask for a more detailed explanation of the problem?
        Hide
        Szymon Acedański added a comment -
        Just check. :)
        Show
        Szymon Acedański added a comment - Just check. :)

          People

          • Assignee:
            Szymon Acedański
            Reporter:
            Szymon Acedański
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: