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

Samuel Murray  Identity Verified
Netherlands
Local time: 17:34
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: 18:34
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: 11:34
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: 18:34
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 MultiTerm 2017
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

SDL MultiTerm 2017 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2017 you can automatically create term lists from your existing documentation to save time.

More info »



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