Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Scala 2.10.0
    • Fix Version/s: Scala 2.11.0-M3
    • Component/s: Collections
    • Labels:
      None

      Description

      Try:
      scala> val b = new mutable.BitSet
      scala> b+= 2000000000
      you will get either:
      res0: b.type = BitSet()
      or
      java.lang.OutOfMemoryError: Java heap space
      depending on how much memory you set.

        Activity

        Show
        Jason Zaugg added a comment - https://github.com/scala/scala/pull/2360

          People

          • Assignee:
            Heejong Lee
            Reporter:
            Vinicius Miana Bezerra
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development