Mobile menu

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

Mulyadi Subali  Identity Verified
Indonesia
Local time: 05:18
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


Direct link Reply with quote
 
xxxMarc P  Identity Verified
Local time: 23:18
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


Direct link Reply with quote
 

Didier Briel  Identity Verified
France
Local time: 23:18
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


Direct link Reply with quote
 

Mulyadi Subali  Identity Verified
Indonesia
Local time: 05:18
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?

Direct link Reply with quote
 
xxxMarc P  Identity Verified
Local time: 23:18
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


Direct link Reply with quote
 
Sonja Tomaskovic  Identity Verified
Germany
Local time: 23:18
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.

Direct link Reply with quote
 

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

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

Direct link Reply with quote
 

Mulyadi Subali  Identity Verified
Indonesia
Local time: 05:18
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?


Direct link Reply with quote
 
esperantisto  Identity Verified
Local time: 01:18
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.


Direct link Reply with quote
 

Vito Smolej
Germany
Local time: 23:18
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)


Direct link Reply with quote
 

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

hi vito. thanks. will try it.

Direct link Reply with quote
 

Matthieu Moroni  Identity Verified
France
Local time: 23:18
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


Direct link Reply with quote
 

Didier Briel  Identity Verified
France
Local time: 23:18
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


Direct link Reply with quote
 

Matthieu Moroni  Identity Verified
France
Local time: 23:18
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


Direct link Reply with quote
 


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






LSP.expert
You’re a freelance translator? LSP.expert helps you manage your daily translation jobs. It’s easy, fast and secure.

How about you start tracking translation jobs and sending invoices in minutes? You can also manage your clients and generate reports about your business activities. So you always keep a clear view on your planning, AND you get a free 30 day trial period!

More info »
WordFinder
The words you want Anywhere, Anytime

WordFinder is the market's fastest and easiest way of finding the right word, term, translation or synonym in one or more dictionaries. In our assortment you can choose among more than 120 dictionaries in 15 languages from leading publishers.

More info »



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