Loading ...
Sorry, an error occurred while loading the content.

13766what limits Sys.max_string_length and can it be increased ?

Expand Messages
  • Sergei Steshenko
    Feb 20, 2013
    • 0 Attachment
      Hello,

      I've checked Sys.max_string_length:

      "
      # Sys.max_string_length;;
      - : int = 16777211
      ".

      By my standards it's a small value. For example, in Perl strings can have whatever length - of course, limited by available memory.

      Why in OCaml (or in the module) the value is limited by approximately 16M and can it be increased ?

      Thanks,
      Sergei.
    • Show all 6 messages in this topic