very slow when using machine translation plugin in Studio

we found a bug in api Sdl.LanguagePlatform.TranslationMemoryApi, here is the detail as below, and Romulus has confirmed about it, please kindly esclate it in JIRA:

 

For question about “Did we used api Sdl.LanguagePlatform.TranslationMemoryApi?”.

Yes, we are using it, our translation service are based on the api above.

 

But the limitation about translation batch size seems not come from our source code.

 

I tracked the stack trace, and the last call is from namespace Sdl.ProjectApi.AutomaticTasks.TranslationMemoryLookupContentProcessor.

This namespace comes from dll: Sdl.ProjectApi.AutomaticTasks, which is the built-in dll in Trados itself, not from any SDK.

 

I decompiled this dll, and searched in file Sdl.ProjectApi.AutomaticTasks.TranslationMemoryLookupContentProcessor, a MaxBufferSize is hard coded.

 

Code snippet:

public TranslationMemoryLookupContentProcessor(ProjectCascadeFactory cascadeFactory, ProjectCascadeSettings cascadeSettings, ILanguageObjectsCache languageObjectsCache, ISettingsBundle settings)

                                : this()

                {

                ...

                                MaxBufferSize = 10;

                                _settings = settings;

                                ...

                }

 

I have note MaxBufferSize is public, but I didn’t find any API to change it.

Could you please let us know if we can bypass this limitation?