Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-1718

Memory exhausted with list larger than 4994 items

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.4
    • Component/s: Parsing
    • Labels:
      None
    • Platform:
      Any
    • Steps to reproduce:
      Acceptance/unit test attached

      Description

      When trying to define a list with more than 4994 items, cf-promises fails with the following error message
      cf-agent -KIf ./test.cf
      ./test.cf:5001:6: error: memory exhausted
      4993 ,

      (corresponding cf file attached)
      This is an issue into the autogenerated parsing code, but my understanding of it is too low to be able to fix it

      Please note that concatening two lists works

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                a10038 jimis (Dimitrios Apostolou)
                Reporter:
                ncharles Nicolas Charles
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel

                    Time Tracking

                    Estimated:
                    Original Estimate - 5 hours
                    5h
                    Remaining:
                    Not Specified
                    Logged:
                    Time Not Required
                    Not Specified