Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Changing maximum java heap size

Avatar

Level 4
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
1 Reply

Avatar

Level 4
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.