WFP: OutOfMemoryError: Java heap space
Thread poster: Samuel Murray

Samuel Murray  Identity Verified
Netherlands
Local time: 16:04
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  Identity Verified
Local time: 17:04
Member (2006)
English to Russian
+ ...
As I remember… May 21, 2015

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


 

Jean Lachaud  Identity Verified
United States
Local time: 10:04
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. 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.)


 

esperantisto  Identity Verified
Local time: 17:04
Member (2006)
English to Russian
+ ...
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

Advanced search


Translation news related to Wordfast





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

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



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