java.lang.OutOfMemoryError: PermGen space解决办法:Eclipse--》window--》Tomcat --》JVM setting --》Append To JVM Parameters --》add 弹出框填写:-Xmx256M -Xms256M -XX:...
分类:
编程语言 时间:
2014-07-14 23:41:54
阅读次数:
322
Overcommits KVM allows for both memory and disk space overcommit. However, hard errors resulting from exceeding available resources will result in gue...
分类:
其他好文 时间:
2014-07-14 23:36:34
阅读次数:
385
How do I insert a space to a NSString.I need to add a space at index 5 into:NString * dir = @"abcdefghijklmno";To get this result:abcde fghijklmnowith...
分类:
其他好文 时间:
2014-07-14 21:12:21
阅读次数:
175
Sort a linked list inO(nlogn) time using constant space complexity.题解:实现一个链表的归并排序即可。主要分为三部分:1.找到中点并返回的函数findMiddle;2.归并函数merge;3.排序函数sortList。数组的findM...
分类:
其他好文 时间:
2014-07-14 20:00:56
阅读次数:
182
(1)Ctrl+Space
说明:内容助理。提供对方法,变量,参数,javadoc等得提示,
应运在多种场合,总之需要提示的时候可先按此快捷键。
注:避免输入法的切换设置与此设置冲突
(2)Ctrl+Shift+Space
说明:变量提示
(3)Ctrl+/
说明:添加/消除//注释,在eclipse2.0中,消除注释为Ctrl+\
(4)Ctrl+Sh...
分类:
系统相关 时间:
2014-07-14 17:41:40
阅读次数:
297
描述
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.
Do not allocate extra space for another array, you must do this in ...
分类:
其他好文 时间:
2014-07-14 13:46:43
阅读次数:
229
Given two sorted integer arrays A and B, merge B into A as one sorted array.
Note:
You may assume that A has enough space (size that is greater or equal to m + n) to hold additional elements from ...
分类:
其他好文 时间:
2014-07-13 17:21:40
阅读次数:
208
Given a linked list, determine if it has a cycle in it.
Follow up:
Can you solve it without using extra space?
/**
* Definition for singly-linked list.
* class ListNode {
* int val;
* ...
分类:
其他好文 时间:
2014-07-13 16:32:04
阅读次数:
152
Exception in thread "HSQLDB Connection @429be9" java.lang.OutOfMemoryError: Java heap space
在服务器下的data/xxxx也就是数据库路径下,我的在F:\tomcat7\bin\data下删掉关于xxxx的文件及文件夹。...
分类:
数据库 时间:
2014-07-12 22:08:20
阅读次数:
338
1、问题:原来将源码放在根目录下面
编译过程中出现了 no space left on device
利用df -h 命令查看 根目录空间占用完毕
2、将源码改在其他空间很足的地方编译
在make module_install 还是出现no space left on device
但是该目录下面的空间很足
,继续df -h
根目录满了
3解决方法
将根目录中的不用的文...
分类:
其他好文 时间:
2014-07-12 17:19:42
阅读次数:
205