Menu

Memory footprint for JSGF grammars?

Help
Kristoffer
2016-10-16
2016-10-18
  • Kristoffer

    Kristoffer - 2016-10-16

    Is there a way of estimating the memory footprint for JSGF grammars? E.g. number of rules, number of words etc? Roughly how many kilobytes for a common JSGF?

     
    • Nickolay V. Shmyrev

      You can try valgrind with massif http://valgrind.org/docs/manual/ms-manual.html

      Rules do not consume much memory, few kilobytes for whole JSGF. Much more memory is consumed by a history structure containing decoding variants.

       
  • Kristoffer

    Kristoffer - 2016-10-18

    Thanks. Your help is greatly appreciated, as always!

    Is this history structure built during detection? Cleared when utterance is ended?

     

    Last edit: Nickolay V. Shmyrev 2016-10-18
    • Nickolay V. Shmyrev

      Is this history structure built during detection?

      Yes

      Cleared when utterance is ended?

      Yes

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.