[CWB] Ooops.. Cannot allocate memory :)

Alberto Simões ambs at di.uminho.pt
Fri Dec 10 17:27:30 CET 2010


Hello

I was trying to import a.. erm.. big corpus.
7258905 translation units

These ones did not complain:

Running [cwb-encode -c utf8 -d /home/corpora/eurlex_pt_en_tmx_pt -f 
source.cqp -R /usr/local/share/cwb/registry/eurlex_pt_en_tmx_pt -S tu+id]
Running [cwb-make -v EURLEX_PT_EN_TMX_PT]
Running [cwb-encode -c utf8 -d /home/corpora/eurlex_pt_en_tmx_en -f 
target.cqp -R /usr/local/share/cwb/registry/eurlex_pt_en_tmx_en -S tu+id]
Running [cwb-make -v EURLEX_PT_EN_TMX_EN]

So, hopefully, CWB imported the corpora.
But, then...

Running [cwb-align-import -v align.txt]
CWB::OpenFile: Can't open file/pipe '/tmp/imported_alignment.16716.gz' 
in mode '>': Cannot allocate memory at /usr/local/share/perl5/CWB.pm 
line 371

I did not look into the code yet, but if someone knows if there is no 
solution to this problem, let me know before I kill all my neurons :)

Alberto
-- 
Alberto Simões


More information about the CWB mailing list