Tommaso Teofili created JOSHUA-336:
--------------------------------------

             Summary: Reduce memory footprint when loading language packs
                 Key: JOSHUA-336
                 URL: https://issues.apache.org/jira/browse/JOSHUA-336
             Project: Joshua
          Issue Type: Improvement
          Components: core
    Affects Versions: 6.1
            Reporter: Tommaso Teofili


Loading an existing language pack currently has a quite high memory footprint. 

This is due to the fact that many resources are loaded into main memory, like 
language models, grammars, etc.

It would be nice if we could reduce memory footprint so that not all of the 
resources need to be allocated (e.g. by lazy loading some of them on demand) 
all the time.

An example use case to support is you have an application in which you want to 
use multiple language packs (e.g. en->de , it->de) at a time (e.g. CLIR 
applications), it'd be good if the amount of memory required by the application 
wouldn't *linearly* grow with the size of each loaded language packs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to