[erlang-questions] Error with Making a Big File

Amir Almasi amir.fireflame@REDACTED
Thu Nov 24 14:20:41 CET 2011


Hi All,

I am trying to make a file in Erlang with 1-GB size.
This is a command:

{ok,Io} = file:open(FName,[write,raw,binary]),
             BitSize= 1000000000 * 8 ,
             Reply = file:write (Io,<< 0 : BitSize >> ),
             file:close(Io),

And the problem would be:
=ERROR REPORT==== 24-Nov-2011::13:53:24 ===
Error in process <0.37.0> with exit value:
{system_limit,[{erbitFile,loop,1},{erbitFile,init,0}]}

I should mention that the operating system is windows!

Please help me out with this matter,

Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20111124/4ae0e4c1/attachment.htm>


More information about the erlang-questions mailing list