Re: Exception in thread "ORBacus:Client:ReceiverThread" java.lang.OutOfMemoryError: Java heap space

Darren Middleman <[email protected]> Tue, 7 Mar 2006 21:43:17 -0330
Newsgroups gmane.comp.corba.orbacus
Organization IONA | Making Software Work Together TM
Message-ID <[email protected]>
Hi Julien,

>     
>    I have some problems with my Server who request data from a mysql's server
>    and send it to my Client in object sequence (I don't use the naming
>    service).
>     
>    I receive this error :
> 
>    Exception in thread "ORBacus:Client:ReceiverThread"
>    java.lang.OutOfMemoryError: Java heap space
> 
>    I don't know where is the problem...
> 

It seems like the data that is being returned from your server is using up
all of the heap space allocated by the JVM.  By default, I believe this is
set to 64MB.  You may want to try using the option -Xmx<size> to increase
the maximum heap size for the JVM and see if this clears up your problem.  
For example, to set it to 256MB, pass the option -Xmx256m when you run your
application.

Regards,
Darren

-- 
Darren Middleman, Software Engineer
Team Orbacus - Your CORBA Source
Email: mailto:[email protected]
WWW: http://www.orbacus.com/
_______________________________________________
OB-Users Mailing List - [email protected]
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html