数据量大就要优化你的数据查询程序啊~~~
换成weblogic,本身就已经很优化了,设置为发布模式。
换成weblogic,本身就已经很优化了,设置为发布模式。
解决方案 »
- java io操作,file stream转换
- 如何在Action获得url参数 在线等 急
- 如何使用hibernate将大于4k的文件插入数据库表中的blob字段中
- 求petstore(Struts+EJB3)的图片
- 读取Excel问题
- 请教如何在javamail中增加email服务器帐户
- 我下载的jboss-3.0.0RC1_tomcat-4.0.3 怎么整合
- 关于ejb打包的一点疑问??------------过来人帮忙!!:)
- 一个JavaEE项目如何实现登陆后不能回到登陆页的需求
- 求教是直接写HTML+AJAX好,还是写JSP好?
- Log4j,Hibernate,Struts是什么时候初始化的?
- tomcat5+axis部署webservices时出错
如果是在windows下,很简单,config tomcat里面就有选项。或者采用如下方法。
linux下,修改CATALINA.SH,加入如下启动参数:
-Xms128m -Xmx512m(你可以设置在CATALINA_OPTS里)参数的含义:
java -X
-Xmixed mixed mode execution (default)
-Xint interpreted mode execution only
-Xbootclasspath:<directories and zip/jar files separated by ;>
set search path for bootstrap classes and resources
-Xbootclasspath/a:<directories and zip/jar files separated by ;>
append to end of bootstrap class path
-Xbootclasspath/p:<directories and zip/jar files separated by ;>
prepend in front of bootstrap class path
-Xnoclassgc disable class garbage collection
-Xincgc enable incremental garbage collection
-Xloggc:<file> log GC status to a file with time stamps
-Xbatch disable background compilation
-Xms<size> set initial Java heap size
-Xmx<size> set maximum Java heap size
-Xss<size> set java thread stack size
-Xprof output cpu profiling data
-Xrunhprof[:help]|[:<option>=<value>, ...]
perform JVMPI heap, cpu, or monitor profiling
-Xdebug enable remote debugging
-Xfuture enable strictest checks, anticipating future default
-Xrs reduce use of OS signals by Java/VM (see documentation)
-Xcheck:jni perform additional checks for JNI functions