Uploaded image for project: 'Apache MADlib'
  1. Apache MADlib
  2. MADLIB-994

RF - improve docs for describing memory usage

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • v1.9.1
    • Module: Random Forest
    • None

    Description

      Some users are hitting VMEM limits, so docs need to give more guidance on what params affect memory.

      e.g.,
      Not that many rows, but a large number of features (500 - 800).

      ERROR: plpy.SPIError: Out of memory (seg46 slice4 awsaiuirl1179:40006 pid=449659) (plpython.c:4648)
      DETAIL: VM Protect failed to allocate 1028374648 bytes, 690 MB available
      CONTEXT: Traceback (most recent call last):
      PL/Python function "forest_train", line 39, in <module>
      sample_ratio
      PL/Python function "forest_train", line 565, in forest_train
      PL/Python function "forest_train", line 2248, in _tree_train_grps_using_bins
      PL/Python function "forest_train", line 1324, in _one_step_for_grps
      PL/Python function "forest_train"

                        • Error **********

      ERROR: plpy.SPIError: Out of memory (seg46 slice4 awsaiuirl1179:40006 pid=449659) (plpython.c:4648)
      SQL state: XX000
      Detail: VM Protect failed to allocate 1028374648 bytes, 690 MB available
      Context: Traceback (most recent call last):
      PL/Python function "forest_train", line 39, in <module>
      sample_ratio
      PL/Python function "forest_train", line 565, in forest_train
      PL/Python function "forest_train", line 2248, in _tree_train_grps_using_bins
      PL/Python function "forest_train", line 1324, in _one_step_for_grps
      PL/Python function "forest_train"

      Attachments

        Activity

          People

            Unassigned Unassigned
            fmcquillan Frank McQuillan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: