Ping,
it seems that you dont have enough memory, please try to allocate more swap
on you disk. hope the following article could help.
======sorry for the chinese characters======
# dd if=/dev/zero of=/tmp/swap bs=4k count=16382
16382+0 records in
16382+0 records out
# dd 这个指令是用来转换文件并且 copy 用的;if 指的是要被转换的输入文件格式 /dev/zero ,of 指的是输出的文件,输出到 /tmp/swap 这个文件;bs 指的是一个扇区占用几个 kb ;count 指的是要使用多少个 bs 。相乘就是容量。
# mkswap /tmp/swap (格式化,务必注意书写正确,否则后果很严重)
Setting up swapspace version 1, size = 67096576 bytes
# swapon /tmp /swap (启动他)这样就已经将虚拟内存增加64 MB了 !如果每次都想启动该文件,那么将 swapon /tmp/swap 写入/etc/rc.d/rc.local 中。
# free (查看下swap)
。。。。中间省略
Swap: 192524 2620 189904
# swapoff /tmp/swap (关掉他)
发件人: huang
ping
发送时间:
2010-10-21 17:06:15
收件人:
hts-users
抄送:
主题: [hts-users:02625]
Issues with OpenFst
Dear All,
While Forced alignment using
OpenFst, I am facing following error. "Memory allocation failed".
This
problem accord while doing 37 word sentence.
Please suggest me how to
allocate more memory.
--Ping.