user2840308
user2840308

Reputation: 1

how to set tomcat-java to handle large files

I am on Tomcat 6, using VM windows Server 8 64bit, 4gb ram, Xeon 2.6GHz. tomcat is run as a service.

Java Options:
    -Dcatalina.home=C:\Apache\Tomcat 6.0
    -Dcatalina.base=C:\Apache\Tomcat 6.0
    -Djava.endorsed.dirs=C:\Apache\Tomcat 6.0\endorsed
    -Djava.io.tmpdir=C:\Apache\Tomcat 6.0\temp
    -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
    -Djava.util.logging.config.file=C:\Apache\Tomcat 6.0\conf\logging.properties
    -Xms1024m
    -Xmx2048m
    -XX:CompileThreshold=8000
    -XX:PermSize=128m
    -XX:MaxPermSize=512m
    -XX:+CMSClassUnloadingEnabled
    -XX:+CMSPermGenSweepingEnabled

Init mem pool: 1024
Max mem pool: 2048

Problem: when retrieving a large amount of files, I get java heap space OutOfMemoryError.

I have read and tried alot of suggestion off post from multiple sites but none have helped. Any suggestions on to configure for large file transfers??

Just a bit more info may help. The application i'm using is Documentum Webtop 6.7 sp1.

Your assistance is greatly appreciated.

Upvotes: 0

Views: 475

Answers (0)

Related Questions