omegat: quits on ran out of memory
Thread poster: Mulyadi Subali
Mulyadi Subali
Mulyadi Subali  Identity Verified
Indonesia
Local time: 06:14
Member
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)
Marc P (X)  Identity Verified
Local time: 01:14
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, the
... See more
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
Collapse


 
Didier Briel
Didier Briel  Identity Verified
France
Local time: 01:14
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
Mulyadi Subali  Identity Verified
Indonesia
Local time: 06:14
Member
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)
Marc P (X)  Identity Verified
Local time: 01:14
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)
Sonja Tomaskovic (X)  Identity Verified
Germany
Local time: 01:14
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
Mulyadi Subali  Identity Verified
Indonesia
Local time: 06:14
Member
English to Indonesian
+ ...
TOPIC STARTER
thanks... Mar 9, 2007

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

 
Mulyadi Subali
Mulyadi Subali  Identity Verified
Indonesia
Local time: 06:14
Member
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
esperantisto  Identity Verified
Local time: 02:14
Member (2006)
English to Russian
+ ...
SITE LOCALIZER
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
... See more
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.
Collapse


 
Vito Smolej
Vito Smolej
Germany
Local time: 01:14
Member (2004)
English to Slovenian
+ ...
SITE LOCALIZER
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
Mulyadi Subali  Identity Verified
Indonesia
Local time: 06:14
Member
English to Indonesian
+ ...
TOPIC STARTER
thanks Mar 10, 2007

hi vito. thanks. will try it.

 
Matthieu Moroni
Matthieu Moroni  Identity Verified
France
Local time: 01:14
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
Didier Briel  Identity Verified
France
Local time: 01:14
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
Matthieu Moroni  Identity Verified
France
Local time: 01:14
Member (2008)
German to French
+ ...
Thanks Jul 23, 2009

Thank you Didier!
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






Trados Business Manager Lite
Create customer quotes and invoices from within Trados Studio

Trados Business Manager Lite helps to simplify and speed up some of the daily tasks, such as invoicing and reporting, associated with running your freelance translation business.

More info »
Trados Studio 2022 Freelance
The leading translation software used by over 270,000 translators.

Designed with your feedback in mind, Trados Studio 2022 delivers an unrivalled, powerful desktop and cloud solution, empowering you to work in the most efficient and cost-effective way.

More info »