Changing maximum java heap size

Avatar

Avatar
Boost 1
Level 4
aoatak
Level 4

Like

1 like

Total Posts

105 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 4
aoatak
Level 4

Like

1 like

Total Posts

105 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
aoatak
Level 4

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

Avatar

Avatar
Level 4
Jayan_Kandathil
Level 4

Likes

0 likes

Total Posts

140 posts

Correct reply

0 solutions
View profile

Avatar
Level 4
Jayan_Kandathil
Level 4

Likes

0 likes

Total Posts

140 posts

Correct reply

0 solutions
View profile
Jayan_Kandathil
Level 4

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.