[erlang-questions] Erlang data structure

a h <>
Tue Jan 29 13:49:09 CET 2013

Hi Everyone,

Please suggest me the best way to implement the below requirement:
I have one file-A which contains below format of data
A10,A11, A12, A13
A20, A21, A22, A23,

and B file as:
B10, B11, B12, B13
B20, B21, B22, B23

I need to process these two file but my system(framework in Erlang) can
able to send data chunks of A to my application and the path for B file.
My application need to perform that if A10 = B10 then do something.
What  I am doing is storing the B file in ETS and then when i receive 1st
line from framework, I am searching the same in ETS.

But I am facing an Issue that storing the B file(which is too huge in GB)
in ETS result in Heap Crash.

Please suggest me better way in which I can able to store the file or do i
need to merge these files before sending to framework.

Appreciate your earliest response

Thanks, AH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130129/33c7aaba/attachment.html>

More information about the erlang-questions mailing list