Highlighted

Changing maximum java heap size

aoatak

02-08-2008

Hi,

I am trying to proceess big files (app. 400 MB) using Assembler service, but I get OutofMemory error. What is the suitable maximum java heap size and how can I change it?

Thanks

Replies

Highlighted

Jayan_Kandathil

12-08-2008

On JBoss/Windows, set min (-Xms) and max (-Xmx) to 1.2 GB. If that does not work, consider Solaris where heaps can be as big as 3 GB for 32-bit JDKs. It that is not an option, and if you're using LiveCycle version 8.2.1 (latest), install on a 64-bit OS, use a 64-bit JDK and set the heap to a large enough number that takes care of OutOfMemory exceptions.