[erlang-questions] error in file processing
ayman abolfadl
ayman_abolfadl@REDACTED
Mon Apr 7 07:58:03 CEST 2008
I have created a module that parses a file and returns it's lines using io:get_line/2 and
string:tokens/2 functions then i recieve this error when i get to process a 63MB file which has 1 million lines.
Could anyone suggest a proper way to open the file and process it so not to receive the following report.
./file_token_server.erl:none: internal error in parse_module;
crash reason: {system_limit,[{erlang,spawn,
[erlang,
apply,
[#Fun<epp.0.124065107>,[]]]},
{erlang,spawn,1},
{epp,open,3},
{epp,parse_file,4},
{compile,parse_module,1},
{compile,'-internal_comp/4-anonymous-1-',2},
{compile,fold_comp,3},
{compile,internal_comp,4}]}
=ERROR REPORT==== 7-Apr-2008::07:52:09 ===
Too many processes
error
Thanks,
Ayman Abolfadl
---------------------------------
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080406/31b0a567/attachment.htm>
More information about the erlang-questions
mailing list