You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by clinton lopez <sl...@yahoo.com> on 2004/12/03 12:49:22 UTC
java.lang.OutOfMemoryError
Hi!
One of the features of the project i am working on is
uploading data from file and saving them to database.
After saving, the contents of the database are shown
to the user.
My problem is that after i upload two files(after the
second), i encounter a java.lang.OutOfMemoryError.
Could this be fixed by a configuration somewhere? If
so, could anyone pls tell me where and what are the
suggested settings?
Another thing, in the upload service of turbine, what
are the suggested settings for
services.UploadService.size.max and
services.UploadService.size.threshold (maybe in terms
of percentages).
Is there a how-to regarding optimization for turbine?
Thank you!
Clinton Lopez
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
Re: java.lang.OutOfMemoryError
Posted by Ben Gidley <bg...@gmail.com>.
You need to add -Xmx512M to your JVM options.
If using tomcat you can set
JAVA_OPTS=-Xmx512M
as an environment variable.
Ben
On Fri, 3 Dec 2004 03:49:22 -0800 (PST), clinton lopez
<sl...@yahoo.com> wrote:
> Hi!
>
> One of the features of the project i am working on is
> uploading data from file and saving them to database.
> After saving, the contents of the database are shown
> to the user.
>
> My problem is that after i upload two files(after the
> second), i encounter a java.lang.OutOfMemoryError.
>
> Could this be fixed by a configuration somewhere? If
> so, could anyone pls tell me where and what are the
> suggested settings?
>
> Another thing, in the upload service of turbine, what
> are the suggested settings for
> services.UploadService.size.max and
> services.UploadService.size.threshold (maybe in terms
> of percentages).
>
> Is there a how-to regarding optimization for turbine?
>
> Thank you!
> Clinton Lopez
>
> __________________________________
> Do you Yahoo!?
> Meet the all-new My Yahoo! - Try it today!
> http://my.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
>
--
Thanks
Ben
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org