WFP: OutOfMemoryError: Java heap space
Thread poster: Samuel Murray
Samuel Murray
Samuel Murray  Identity Verified
Netherlands
Local time: 04:48
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:48
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:48
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:48
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







Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

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