Yes, I am querying a database, but not with large amounts of data.
Such exception will go away after I restart the tomcat server.

-----Original Message-----
From: AFrieze [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 18, 2006 5:11 PM
To: Turbine Users List
Subject: Re: java.lang.OutOfMemoryError

jill han wrote:
> What could cause java.lang.OutOfMemoryError ?
> The application is built on turbine/torque/velocity.
>
> Thanks in advance
>
> Jill
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>   
Jill

I have encountered this problem in several different situations. Are you

querying a database and/or dealing with large amounts of XML data?
If the problem is space related, you should probably increase the amount

of memory java can use.

Example) If you are using linux as your O/S and tomcat as your server, 
you could add this line to your Catalina.sh file.

export JAVA_OPTS=${JAVA_OPTS}'-Xmx512m -Xms128m'

Hope this helps
AFrieze

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to