Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnrolledBuffer crashes with OutOfMemoryError when using ++ with a non-tiny amount of elements #5867

Closed
scabug opened this Issue Jun 2, 2012 · 3 comments

Comments

Projects
None yet
2 participants
@scabug
Copy link

scabug commented Jun 2, 2012

import collection.mutable.UnrolledBuffer

val buf = UnrolledBuffer(1 to 50: _*)
buf ++ buf
Exception in thread "main" 
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"
/home/soc/Entwicklung/lib/scala-current/bin/scala  33,13s user 0,64s system 85% cpu 39,496 total
@scabug

This comment has been minimized.

Copy link
Author

scabug commented Jun 2, 2012

Imported From: https://issues.scala-lang.org/browse/SI-5867?orig=1
Reporter: @soc
Affected Versions: 2.10.0

@scabug

This comment has been minimized.

Copy link
Author

scabug commented Jun 2, 2012

@paulp said:
It is likely to be a variation on #3088.

@scabug

This comment has been minimized.

Copy link
Author

scabug commented Jun 2, 2012

@soc said:
Mhh, not sure. The thing is, that it works with a smaller amount of elements just fine.

@scabug scabug closed this Jun 6, 2012

@scabug scabug added the minimized label Apr 7, 2017

@scabug scabug added this to the 2.10.0-M3 milestone Apr 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.