omegat: quits on ran out of memory
Thread poster: Mulyadi Subali

Mulyadi Subali  Identity Verified
Indonesia
Local time: 03:12
English to Indonesian
+ ...
Mar 8, 2007

i'm trying out omegat. i can use my trados tm, exported into tmx, which is cool. however, it frequently quits while i'm doing the translation.
it says that it ran out of memory etc, and one of the solution is for me to increase amount of memory for omegat.
my questions are:
- how can i increase the memory for omegat?
- is there any other way?
tia


 

Marc P (X)  Identity Verified
Local time: 22:12
German to English
+ ...
OmegaT: quits on ran out of memory Mar 8, 2007

Assign more memory to OmegaT when you launch it using the -XmX option.

For example:

java -Xmx260M -jar OmegaT.jar

This would assign 260 MB of memory to OmegaT. (I think the default is 128 MB.)

The memory load in OmegaT is a product of the source file(s) and the TM(s), so if you reduce one or the other you should see an improvement in performance. Try splitting up your source text(s): if you have several, place one in /source, translate it, then remove it, place the second in /source, translate it, etc. Or divide your text into chapters and do the same thing. If you have lots of TMs, only use those that you know are relevant (a good reason not to use a single, large TM).

HTH,
Marc


 

Didier Briel  Identity Verified
France
Local time: 22:12
Member (2007)
English to French
+ ...
Default is 256 Mar 8, 2007

Marc P wrote:

This would assign 260 MB of memory to OmegaT. (I think the default is 128 MB.)


Default is 256 MB in recent versions.

Didier


 

Mulyadi Subali  Identity Verified
Indonesia
Local time: 03:12
English to Indonesian
+ ...
TOPIC STARTER
more info please Mar 8, 2007

thanks for the reply, but how do i actually run the command? and it can also be written in the script, cmiiw? how do i do that?

 

Marc P (X)  Identity Verified
Local time: 22:12
German to English
+ ...
omegat: quits on ran out of memory Mar 8, 2007

Mulyadi Subali wrote:

thanks for the reply, but how do i actually run the command? and it can also be written in the script, cmiiw? how do i do that?


You can run the command from the command line, but it is easier simply to edit the script. You may want to experiment with different values.

Marc


 

Sonja Tomaskovic (X)  Identity Verified
Germany
Local time: 22:12
English to German
+ ...
Windows? Mar 8, 2007

Are you on Windows? Then search for the omegat.bat file, open it, replace java -jar Omegat.jar with the sentence Marc suggested.

 

Mulyadi Subali  Identity Verified
Indonesia
Local time: 03:12
English to Indonesian
+ ...
TOPIC STARTER
thanks... Mar 9, 2007

great! will try to change the script and will let you guys know.

 

Mulyadi Subali  Identity Verified
Indonesia
Local time: 03:12
English to Indonesian
+ ...
TOPIC STARTER
the little engine that could Mar 9, 2007

i edited the script, allocated 512mb, and it worked like a charm. in fact, i'm using it right now. i will have to say that this is a very nice program! it can use my huge trados tm (converted to tmx) very fast.
i have other questions, though. they're a bit off topic:
- how can i edit the tm in omegat?
- i'd like to help localizing the program into indonesian, where should i go?


 

esperantisto  Identity Verified
Local time: 23:12
Member (2006)
English to Russian
+ ...
Indeed, the questions deserve separate topics, but here are the answers: Mar 9, 2007

1) You can't edit a TM from within OmegaT. You have to:
a) close your project;
b) edit project_save.tmx with any text editor;
c) reopen the project.

2) You should go to the OmegaT's SourceForge site http://sourceforge.net/projects/omegat and download the localization package for the current version.

There are a minimal package (GUI and readme) and a full one (minimal + help documentation). So, choose what you can afford.

It is also advisable to join the omegat-l10n list (there, on the SF site), dedicated to localization issues.


 

Vito Smolej
Germany
Local time: 22:12
Member (2004)
English to Slovenian
+ ...
on "how can I edit tm" Mar 10, 2007

I found PlusToyz.doc an absolute charm for this kind of jobs - it's a collection of tools to convert between tmx, ttx, double-column word tables etc etc.


© Arkadij Visotski, 2001-2006


http://www.textnart.de/VitosCorner/PlusToyz.doc

(my private copy)


 

Mulyadi Subali  Identity Verified
Indonesia
Local time: 03:12
English to Indonesian
+ ...
TOPIC STARTER
thanks Mar 10, 2007

hi vito. thanks. will try it.

 

Matthieu Moroni  Identity Verified
France
Local time: 22:12
Member (2008)
German to French
+ ...
How to assign more memory Jul 23, 2009

Sonja Tomaskovic wrote:

Are you on Windows? Then search for the omegat.bat file, open it, replace java -jar Omegat.jar with the sentence Marc suggested.


Hello,
I'd like to use a huge .tmx (~100MB) but I can't find this "omegat.bat" file.
Can someone give more details on how to assign more memory to OmegaT?
Splitting the .tmx didn't work. Any other suggestion?

Thanks


 

Didier Briel  Identity Verified
France
Local time: 22:12
Member (2007)
English to French
+ ...
Edit OmegaT.l4J.ini Jul 23, 2009

Matthieu Moroni wrote:

Sonja Tomaskovic wrote:

Are you on Windows? Then search for the omegat.bat file, open it, replace java -jar Omegat.jar with the sentence Marc suggested.


Hello,
I'd like to use a huge .tmx (~100MB) but I can't find this "omegat.bat" file.
Can someone give more details on how to assign more memory to OmegaT?
Splitting the .tmx didn't work. Any other suggestion?


In recent versions of OmegaT, under Windows, there is no need to use a batch file.

Just edit OmegaT.l4J.ini, in the folder where OmegaT is installed, to add the memory you need.

This is documented in installingAndRunning.html, in the English documentation.

Didier


 

Matthieu Moroni  Identity Verified
France
Local time: 22:12
Member (2008)
German to French
+ ...
Thanks Jul 23, 2009

Thank you Didier!icon_smile.gif
Now it works fine with the values:

# Memory
-Xmx1024M

Have a nice day


 


There is no moderator assigned specifically to this forum.
To report site rules violations or get help, please contact site staff »


omegat: quits on ran out of memory

Advanced search






SDL Trados Studio 2019 Freelance
The leading translation software used by over 250,000 translators.

SDL Trados Studio 2019 has evolved to bring translators a brand new experience. Designed with user experience at its core, Studio 2019 transforms how new users get up and running and helps experienced users make the most of the powerful features.

More info »
PerfectIt consistency checker
Faster Checking, Greater Accuracy

PerfectIt helps deliver error-free documents. It improves consistency, ensures quality and helps to enforce style guides. It’s a powerful tool for pro users, and comes with the assurance of a 30-day money back guarantee.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search