摘要: JVM内存的最大值跟操作系统有很大的关系。简单的说就32位处理器虽然 可控内存空间有4GB,但是具体的操作系统会给一个限制,这个限制一般是2GB-3GB(一般来说Windows系统下为1.5G-2G,Linux系统 下为2G-3G),而64bit以上的处理器就不会有限制了 阅读全文
posted @ 2017-08-25 16:03 11cnblogs 阅读(1156) 评论(0) 推荐(0) 编辑
摘要: 用系统管理员运行cmd,输入 netsh interface ip set address "本地连接 2" static 192.168.1.111 255.255.255.0 阅读全文
posted @ 2017-08-24 13:56 11cnblogs 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Oracle 清理监听日志 D:\myoracle\oracle\diag\tnslsnr\iZ95co2kfp7g26Z\listener\trace 关闭监听器日志:# su - oracle$ lsnrctlLSNRCTL> set log_status offLSNRCTL> save_co 阅读全文
posted @ 2017-08-08 11:19 11cnblogs 阅读(109) 评论(0) 推荐(0) 编辑
摘要: select tablespace_name,sum(bytes)/1024/1024 from dba_data_files group by tablespace_name;select tablespace_name,sum(bytes)/1024/1024 from dba_free_spa 阅读全文
posted @ 2017-08-05 12:05 11cnblogs 阅读(182) 评论(0) 推荐(0) 编辑
摘要: DateFormat format1 = new SimpleDateFormat("yyyy-MM-dd"); Date date=new Date(); date = format1.parse("2016-1-30"); Calendar ca=Calendar.getInstance(); 阅读全文
posted @ 2017-07-28 15:16 11cnblogs 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 新建表空间create tablespace whfxt datafile 'D:\whfxt.ora' size 500m; create user whfxt identified by whfxt default tablespace whfxt quota 200m on users; gr 阅读全文
posted @ 2017-07-28 09:24 11cnblogs 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 例:var name=json&xml; myjsp.jsp?username=name 这样的传递方式就不行,param.name取值的时候就只会取到json,后面的xml会自动去掉。怎么办呢? 解决办法:var newname=escape (encodeURIComponent(name)); 阅读全文
posted @ 2017-07-28 09:22 11cnblogs 阅读(1421) 评论(1) 推荐(1) 编辑
摘要: 需要使用URLEncoder 阅读全文
posted @ 2017-07-28 09:22 11cnblogs 阅读(1020) 评论(0) 推荐(0) 编辑
摘要: Scheduled 是异步起线程来处理你的逻辑的但你配置了 LogIntercept 这个拦截器, 里面的54行中, 会去调用RequestContextHolder.currentRequestAttributes, 但这个方法是需要有 http request 和 response 绑定到当前的 阅读全文
posted @ 2017-07-28 09:22 11cnblogs 阅读(700) 评论(0) 推荐(0) 编辑
摘要: 导入的数据超过了mysql默认单个字段最大容量 导入的数据超过了mysql默认单个字段最大容量 #查看数据库中最大的单个文件容量 SHOW VARIABLES LIKE '%max_allowed_packet%'; #设置最大单个文件容量为10M,单次有效 SET GLOBAL max_allow 阅读全文
posted @ 2017-07-28 09:21 11cnblogs 阅读(548) 评论(0) 推荐(0) 编辑