WFP: OutOfMemoryError: Java heap space
Thread poster: Samuel Murray
Samuel Murray
Samuel Murray  Identity Verified
Netherlands
Local time: 04:06
Member (2006)
English to Afrikaans
+ ...
May 21, 2015

Hello everyone

I have a 14 MB TXML file with fewer than 1000 segments in total, and I'm trying to export it to bilingual review. WFP gives an error after a while: "OutOfMemoryError: Java heap space". I guess WFP has insufficient memory. How can I tell WFP to go ahead and use more memory (since I have enough... 6 GB)?

Thanks
Samuel


 
esperantisto
esperantisto  Identity Verified
Local time: 05:06
Member (2006)
English to Russian
+ ...
SITE LOCALIZER
As I remember… May 21, 2015

…you can add the respective setting to wordfast.ini as a separate line such as:
-Xmx1024M


 
Jean Lachaud
Jean Lachaud  Identity Verified
United States
Local time: 22:06
English to French
+ ...
Change usable memory May 21, 2015

The current version (In Preferences | General | Appearance | Memory Preference) allows users to select the amount of memory used by WFP. I stumbled on it one day, and found it set to the lowest (256 MB) amount, probably the default. The problem is that the biggest option is a mere 1470 MB.

Also, just yesterday, I googled "Run Garbage Collector" after noticing the little garbage can in the status bar. Clicking on it does reduce the heap size indicated in the window next to it. Howeve
... See more
The current version (In Preferences | General | Appearance | Memory Preference) allows users to select the amount of memory used by WFP. I stumbled on it one day, and found it set to the lowest (256 MB) amount, probably the default. The problem is that the biggest option is a mere 1470 MB.

Also, just yesterday, I googled "Run Garbage Collector" after noticing the little garbage can in the status bar. Clicking on it does reduce the heap size indicated in the window next to it. However, the references found by Google state that the only sure way to reduce the heap size is to close and restart WFP (Note: what I found was not recent.)
Collapse


 
esperantisto
esperantisto  Identity Verified
Local time: 05:06
Member (2006)
English to Russian
+ ...
SITE LOCALIZER
Won’t help May 21, 2015

JL01 wrote:

The current version (In Preferences | General | Appearance | Memory Preference) allows users to select the amount of memory used by WFP…


a) that setting has a limit: it cannot exceed the Java heap size;
b) most probably, it won’t solve the problem, as it does not change the very heap size.


 


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


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

WFP: OutOfMemoryError: Java heap space







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 »
Wordfast Pro
Translation Memory Software for Any Platform

Exclusive discount for ProZ.com users! Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value

Buy now! »