java.lang.OutOfMemoryError: Java heap space in Rich Client

Questions, answers, tips and ideas on Servoy Client

java.lang.OutOfMemoryError: Java heap space in Rich Client

Postby ars » Fri Oct 23, 2009 5:21 pm

Hi All,

I am getting, "java.lang.OutOfMemoryError: Java heap space", in the Java Console, while running the Solution in Rich Client. I suppose, It may be due to the Image loading in the Media Field as the Image is coming from the database.

To address the issue, I have changed the property "servoy.maxClientHeap" from 64(Default) to 500. I am just concern about increasing the Heap Size to 500. Does it impact the memory at client/server's end?

Thanks,
Arup.
Arup Sahoo

Servoy Developer and Consultant

Find me @ arup.sahooATgmail.com
Skype me @ arup.sahoo
GTalk me @ arup.sahoo
User avatar
ars
 
Posts: 213
Joined: Thu Jun 28, 2007 2:04 pm
Location: India

Re: java.lang.OutOfMemoryError: Java heap space in Rich Client

Postby IT2Be » Fri Oct 23, 2009 5:23 pm

It does not impact your server memory usage, but isn't going from 64 to 500 a bit drastic?
Marcel J.G. Trapman (IT2BE)
SAN partner - Freelance Java and Servoy
Servoy Components - IT2BE Plug-ins and Beans for Servoy
ServoyForge - Open Source Components for Servoy
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Re: java.lang.OutOfMemoryError: Java heap space in Rich Client

Postby ars » Mon Oct 26, 2009 12:33 pm

Thanks Marcel for your response.

I just tried by setting a large number, so that we won't fail. However, 128 is a good fit for us.
Arup Sahoo

Servoy Developer and Consultant

Find me @ arup.sahooATgmail.com
Skype me @ arup.sahoo
GTalk me @ arup.sahoo
User avatar
ars
 
Posts: 213
Joined: Thu Jun 28, 2007 2:04 pm
Location: India


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 11 guests