WFP: OutOfMemoryError: Java heap space
دھاگا پوسٹ کرنے والے: Samuel Murray
Samuel Murray
Samuel Murray  Identity Verified
نیدر لینڈ
Local time: 10:28
رکن (2006)
افریکانسسےانگریزی
+ ...
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: 11:28
رکن (2006)
روسیسےانگریزی
+ ...
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
امریکہ
Local time: 04:28
فرانسیسیسےانگریزی
+ ...
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: 11:28
رکن (2006)
روسیسےانگریزی
+ ...
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







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 »