[Opa] Error with a 32bits opa compiler. - Matthieu Guffroy
Rudy Sicard
rudy.sicard at mlstate.com
Thu Apr 12 10:50:49 UTC 2012
Hi
First, sorry for this late reply.
Given the stack dump (calls String.escaped in OcamlPrint) and what the
caml doc says:
val create :|int -> string|
|String.create n| returns a fresh string of length |n|. The string
initially contains arbitrary characters.
Raise |Invalid_argument| if |n < 0| or |n > ||Sys.max_string_length|
<http://caml.inria.fr/pub/docs/manual-ocaml/libref/Sys.html#VALmax_string_length>.
and that max_string_length is probably smaller on 32bits system than on 64.
("the maximal length of a string is slightly less than 16 MB" says
http://www.southampton.ac.uk/~fangohr/software/ocamltutorial/lecture1.html)
Your error looks like you are statically embedding a big string. (>16Mo)
You should check all your @static_include_XXX, starting by
@static_include_directory.
Rudy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.owasp.org/pipermail/opa/attachments/20120412/7bcfe5cc/attachment.html>
More information about the Opa
mailing list