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
<[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Thanks

Ben

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

Reply via email to