You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 1656 Reporter: administrator Status: closed Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
[This bug probably goes in the 'harmless oddities' section, but nonetheless]
I noticed in the toplevel that after having run out of file descriptors, I
couldn't declare a new class.
[henri@ffnet: ~/newwork/caml] ocaml bug.ml
I/O error: /usr/lib/ocaml/camlinternalOO.cmi: Too many open files
However, if i compile this snippet with ocamlc and run the binary, the class
declaration works fine.
bug.ml:
let _ =
begin
try
for i = 1 to 3000 do
ignore (open_in "/home/henri/work/150th/coordinates.txt")
done
with _ -> ();
end;
class t1 = object method id = 3 end;;
The text was updated successfully, but these errors were encountered:
Original bug ID: 1656
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
[This bug probably goes in the 'harmless oddities' section, but nonetheless]
I noticed in the toplevel that after having run out of file descriptors, I
couldn't declare a new class.
[henri@ffnet: ~/newwork/caml] ocaml bug.ml
I/O error: /usr/lib/ocaml/camlinternalOO.cmi: Too many open files
However, if i compile this snippet with ocamlc and run the binary, the class
declaration works fine.
bug.ml:
let _ =
begin
try
for i = 1 to 3000 do
ignore (open_in "/home/henri/work/150th/coordinates.txt")
done
with _ -> ();
end;
class t1 = object method id = 3 end;;
The text was updated successfully, but these errors were encountered: