错误代码:
java.lang.OutOfMemoryError: PermGen space
原因分析:
myeclipse或tomcat的内容分配的不够用,启动失败
解决方法:
1.找到tomcat安装目录的这个文件\apache-tomcat-7.0.41\bin\catalina.bat,打开,在里面找到这句:rem ----- Execute The Requested Command 。在这句下面添加:set JAVA_OPTS=%JAVA_OPTS% -Xms256m -Xmx1024m ...
分类:
编程语言 时间:
2014-10-09 20:48:47
阅读次数:
212
1、安装相关组建yuminstallmailxsendmail*chkconfigsendmailonservicesendmailstart2、测试邮件echo"HelloWorld"|mailabc@abc.com3、编辑command.cfg#‘notify-host-by-email‘commanddefinitiondefinecommand{ command_name notify-host-by-email command_line /usr/bin/printf"..
分类:
移动开发 时间:
2014-10-09 20:13:28
阅读次数:
214
不能原谅自己的错误。。还怀#pragma comment(linker, "/STACK:1024000000,1024000000")
#include
#include
#include
#define lson id << 1
#define rson id << 1|1
#include
using namespace std;
const int M = 100008;
int fath...
分类:
其他好文 时间:
2014-10-09 20:11:27
阅读次数:
127
# Make command to use for dependenciesRM=rmMKDIR=mkdirOUTDIR=_objSODIR=./binLIBNAME=pdk_ai.soOUTFILE=$(SODIR)/$(LIBNAME)INC=-I../../../../lib/svrlib/i...
分类:
其他好文 时间:
2014-10-09 18:34:57
阅读次数:
271
http://www.oschina.net/translate/command-line-tools-to-monitor-linux-performance?cmp&p=1#1.Top-Linux进程监控Linux下的Top命令是一个性能监控程序,许多系统管理员常常用它来监控Linux性能,在许...
分类:
系统相关 时间:
2014-10-09 16:54:07
阅读次数:
490
Linux:-bash: ***: command not found,系统很多命令都用不了,均提示没有此命令。突然之间linux很多命令都用不了,均提示没有此命令。这应该是系统环境变量出现了问题导致的。解决办法:先用:echo $PATH 查看path是否含有:/usr/local/sbin:/u...
分类:
系统相关 时间:
2014-10-09 15:47:34
阅读次数:
199
Source:http://www.samdmarshall.com/blog/blocking_code_injection_on_ios_and_os_x.htmlYesterday I posted (twitter) a set of linker flags that can be set...
分类:
移动开发 时间:
2014-10-09 15:26:23
阅读次数:
239
#! /bin/sh
# chkconfig: 2345 55 25
# Description: Startup script for nginx webserver on Debian. Place in /etc/init.d and
# run 'update-rc.d -f nginx defaults', or use the appropriate command on your
#...
分类:
其他好文 时间:
2014-10-09 14:36:04
阅读次数:
322
近日由于在U3D项目中要使用到数据传递(C++ DLL的数据传递给U3D中的C#),其中涉及到需要使用C#的指针。直接编译会出现以下错误Unsafecode requires the 'unsafe' command line option to be specified。 下面是我总结的解决办法:...
分类:
其他好文 时间:
2014-10-09 13:53:43
阅读次数:
359
1、从XCode6开始,苹果不再提供自动生成的pch文件了,想使用的就要自己添加了,苹果的模板里有提供2、在工程里Command + N, 新建文件,选择iOS模板下的Other中的PCH File3、命名pch文件的时候我选择了跟XCode5中相同的命名方式,其中AnalyzerHD是我的项目名称...
分类:
其他好文 时间:
2014-10-09 12:36:03
阅读次数:
249