[hts-users:02628] Re: Issues with OpenFst
As a quick fix, just turn the global variance off from your config.pm file.
br,
Nicholas
> Hi,
>
> I followed below instruction. But, there was no success.
>
> I have allocated around 3GB of swap space. Still facing the same problem.
> Is
> there a way to fix this in OpenFst package.
>
> --Ping.
>
> On Thu, Oct 21, 2010 at 3:45 PM, ZhuFengyun <zhufengyun@xxxxxxxxxx> wrote:
>
>> 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 £¨¹ØµôËû£©
>>
>> ------------------------------
>> ZhuFengyun
>> 2010-10-21
>> ------------------------------
>> *·¢¼þÈË£º* 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.
>>
>>
>
- References
-
- [hts-users:02626] Re: [hts-users:02625] Issues with OpenFst, ZhuFengyun
- [hts-users:02627] Re: Issues with OpenFst, huang ping