Re: "ocaml_beginners":: Why is Sys.max_array_length so small?
- On Wed, Jul 03, 2013 at 07:10:19AM -0000, w_a_x_man wrote:
> I'm using OCaml 4.00.1 on a 32-bit Windows machine.[...]
> # Sys.max_array_length;;
> - : int = 4194303
> This indicates that arrays can only be 16 megabytes in size.
> Considering that my computer can have 4 gigabytes of RAM,
> this seems needlessly small.
> Is there any way around this short of using a 64-bit
Yes, 64 Bit machines are better here.
32 Bits is technology from the 1980's
And AFAIK, OCaml was developed with 64 Bit machines in mind;
the developers of OCaml thought, they will spread much faster.