Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Printf.printf "%.0f\n%!" (Gc.allocated_bytes ());;
- Printf.printf "%.0f\n%!" (Gc.allocated_bytes ());;
- Printf.printf "%.0f\n%!" (Gc.allocated_bytes ());;
- Printf.printf "%.0f\n%!" (Gc.allocated_bytes ());;
- Gc.compact ();;
- Printf.printf "%.0f\n%!" (Gc.allocated_bytes ());;
- Printf.printf "%.0f\n%!" (Gc.allocated_bytes ());;
- $ ./gc_test
- 11272
- 12752
- 14232
- 15712
- 24088
- 25568
Advertisement
Add Comment
Please, Sign In to add comment