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?
to your account
Original bug ID: 7003
Assigned to: @damiendoligez
Status: closed (set by @damiendoligez on 2015-10-19T15:48:39Z)
OS Version: 13.1
Target version: 4.03.0+dev / +beta1
Fixed in version: 4.03.0+dev / +beta1
Category: standard library
Monitored by: @gasche
let _ =
let b = Buffer.create 7000_000_000 in
for i = 1 to 2500_000_000 do
Buffer.add_string b "a"
let _ = Buffer.contents b in
on my machine (I have 13.5 GB of free memory, 16 GB total, 18 GB total with swap).
Constants 7000_000_000 and 2500_000_000 depend on the size of memory and they must be sufficiently large otherwise the program doesn't crash.
The text was updated successfully, but these errors were encountered:
Comment author: @damiendoligez
Reproduced on Mac OS X.
Sorry, something went wrong.
Fixed in rev 16525.
No branches or pull requests