A big InDesign Export file makes TagEditor fold
Thread poster: Vito Smolej
Vito Smolej
Vito Smolej
Germany
Local time: 19:40
Member (2004)
English to Slovenian
+ ...
SITE LOCALIZER
May 22, 2006

The INX file in question is 60 MB, which is not THAT much, but after 10 minutes of mulling over it, TagEditor burps a message about "Java stack overflow"or something of this kind and gives up.

The file is OK: I had a look at it in InDesign. It has a number of unsatisfied links, which is not nice but otoh should be no bother.

Any suggestions?


 
RWSTranslation
RWSTranslation
Germany
Local time: 19:40
German to English
+ ...
Delete generated contents May 22, 2006

Hello,

try to delete the gererated parts of your file, use the save as function and save the file again as inx file.

Maybe it helps

Hans


 
Vito Smolej
Vito Smolej
Germany
Local time: 19:40
Member (2004)
English to Slovenian
+ ...
TOPIC STARTER
SITE LOCALIZER
"delete the generated parts..." May 23, 2006

I did that before posting, with negative outcome.

Thanks anyway!

[Edited at 2006-05-23 04:14]


 
tectranslate ITS GmbH
tectranslate ITS GmbH
Local time: 19:40
German
+ ...
Well-documented May 23, 2006

The Java stack error is well-documented and a workaround available, afaik. Check SDL's online help pages for more info.

Regards,
Benjamin


 
Vito Smolej
Vito Smolej
Germany
Local time: 19:40
Member (2004)
English to Slovenian
+ ...
TOPIC STARTER
SITE LOCALIZER
for others coming down the same trail... May 23, 2006

http://sdl.custhelp.com/cgi-bin/sdl.cfg/php/enduser/std_alp.php

ask for java fault and there's a dozen of cases, including the followiing:

HowTo: java.lang.OutOfMemory error when cleaning big *.inx.ttx files or saving as target
Applies to: TagEditor 7, Translator's Workbench 7
Environment: Adobe InDesign

SYMPTOMS
Whe
... See more
http://sdl.custhelp.com/cgi-bin/sdl.cfg/php/enduser/std_alp.php

ask for java fault and there's a dozen of cases, including the followiing:

HowTo: java.lang.OutOfMemory error when cleaning big *.inx.ttx files or saving as target
Applies to: TagEditor 7, Translator's Workbench 7
Environment: Adobe InDesign

SYMPTOMS
When you attempt to Clean or Save Target As a large inx.ttx file you receive a java.lang.OutOfMemory error.
Error String: java.lang.OutOfMemory

EXPLANATION
This happens because the Heap Size of the Java Virtual Machine is set too low by default.
Follow the steps below to increase the Heap Size.

STEPS
1. Open the PluginFileFilterDefinitions.xml file in an Editor. The default location for the xml file is: C:\Program Files\TRADOS\T7\TT.
2. Insert the following lines below the first tag:

{JavaSettings}
{JvmOptions}
{JvmOption}-Xms128m{/JvmOption}
{JvmOption}-Xmx256m{/JvmOption}
{/JvmOptions}
{/JavaSettings}

(note: using curly brackets to indicate Bigger-than and smaller-than chars)
3. Save the file.
4. Run Clean or Save Target As now.

NOTE
You can also further increase the values e.g. by setting -Xms256m and -Xmx512m. Please note however that this is dependent on your RAM. E.g. if you only have 512 MB RAM you should not set the maximum value to 512.

STATUS: Partly Solved
Trados Article ID: 1630
Created: Wednesday, February 15, 2006 7:31:44 AM
Last updated: Thursday, May 11, 2006 5:57:00 AM

[EDIT]
It works


[Edited at 2006-05-23 16:37]
Collapse


 
Vito Smolej
Vito Smolej
Germany
Local time: 19:40
Member (2004)
English to Slovenian
+ ...
TOPIC STARTER
SITE LOCALIZER
Another big InDesign Export file makes pretranslation fold Jun 5, 2006

This happens because the Heap Size of the Java Virtual
Machine is set too low by default.


I got another InDesign file (3 MB on the HD, but that probably does not tell the whole story) and I can not pretranslate it without getting the red message in the bottom status line

Failed to Create java Virtual Machine

and a comment about d:/program files .... (then the usual problem of the error message getting cut off, but I would assume the culprit to be again the PluginFileFilterDefinitions.xml file. I increased the memory some more to no avail.

[EDIT] This time the error does not seem to be connected to the stack problem. Even the name of the error is different ("...if it says red, it's RED and not green..") and the same "Failed_to_create..." error happens in TagEditor. TagEditor works on other ttx files, and so does pretranslation.

So I suspect the ttx file is not entirely kosher.

[Edited at 2006-06-05 17:27]


 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

A big InDesign Export file makes TagEditor fold







TM-Town
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »
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 »