Torque
  1. Torque
  2. TORQUE-14

huge ids in idbroker using cleverquantity

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1, 3.1.1
    • Fix Version/s: 4.0-beta1
    • Component/s: Runtime
    • Labels:
      None
    • Old Scarab Id:
      TRQS314

      Description

      Reported by Dave Newton:

      Using a fairly recent Torque (3.1, maybe 3.1.1) for some reason I started getting HUGE values for one of my NEXT_ID columns and the QUANTITY column.

      While saving new objects to that table I got OutOfMemory exceptions. When I made the NEXT_ID and QUANTITY values saner the OOM exception went away.

      I have since turned off cleverquantity...

        Activity

        Hide
        Thomas Fox added a comment -

        One can now configure a maximum cleverquantity. The configuration key is torque.idbroker.clever.quantity.max (default is 10000 if this configuration not set)

        Show
        Thomas Fox added a comment - One can now configure a maximum cleverquantity. The configuration key is torque.idbroker.clever.quantity.max (default is 10000 if this configuration not set)
        Hide
        Thomas Fox added a comment -

        I believe this can happen if a lot ids are fetched in a short time.
        There should be a configurable maximum quantity.

        Show
        Thomas Fox added a comment - I believe this can happen if a lot ids are fetched in a short time. There should be a configurable maximum quantity.

          People

          • Assignee:
            Thomas Fox
            Reporter:
            Thomas Fox
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development