码迷,mamicode.com
首页 >  
搜索关键字:heap space    ( 20988个结果
Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: PermGen space
在Eclipse 调试 springside showcase项目中,tomcat报异常 Exception in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: PermGen space在google半天后,找到解决方法...
分类:编程语言   时间:2014-07-18 15:37:53    阅读次数:307
css知识点
1、文本显示一行 text-overflow:ellipsis; white-space:nowrap; overflow:hidden; text-overflow属性仅是注解,当文本溢出时是否显示省略标记。并不具备其它的样式属性定义。我们想要实现溢出时产生省略号的效果。还必须定义:强制文...
分类:Web程序   时间:2014-07-18 15:25:57    阅读次数:273
[leetcode]Palindrome Number
Palindrome NumberDetermine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers b...
分类:其他好文   时间:2014-07-18 15:17:26    阅读次数:201
Xms Xmx PermSize MaxPermSize 区别
Xms Xmx PermSize MaxPermSize 区别Eclipse崩溃,错误提示:MyEclipse has detected that less than 5% of the 64MB of PermGen (Non-heap memory) space remains. It is s...
分类:其他好文   时间:2014-07-18 14:14:51    阅读次数:202
[ACM] POJ 2442 Sequence (堆的性质)
解题思路:         有m行,每行n个数,从每行中取出一个数相加一起求出sum,这样的sum有n的m次方个。要求的前n个最小的sum值。 第一次使用STL里面的堆,一开始对pop_heap()有点不太理解,后来明白了,比如对数组heap[n],最大下标为n-1建堆,默认的是建立大顶堆,heap[0]是数组中最大的数,写一条pop_heap()语句,就是把heap[0]和 heap[n...
分类:其他好文   时间:2014-07-18 14:11:34    阅读次数:281
堆和堆排序
堆有两种: max-heap 和 min-heap. Max-heap 一般用来排序,Min-heap 用来实现 priority queue.max-heap的定义是:for each i: A[parent(i)] >= A[i]min-heap: for each i: A[parent(i)...
分类:其他好文   时间:2014-07-18 10:23:12    阅读次数:180
[leetcode]Set Matrix Zeroes
Set Matrix ZeroesGiven amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.Follow up:Did you use extra space?A straight...
分类:其他好文   时间:2014-07-17 23:34:02    阅读次数:486
python实现将文件中的每一行文本记录,保存到MongoDB数据库,并防止重复插入
文本如下:#日期 流水号 被浏览页面URL 第×页 访问者IP 访问时间 是否入口 操作系统 浏览器 语言 时区 屏幕分辨率 屏幕色彩位数 省份 城市 接入商 上网场所 是否安装ALEXA2014-7-17 11452775496 http://www.imaibo.net/space/1781.....
分类:数据库   时间:2014-07-17 18:34:14    阅读次数:353
【leetcode刷题笔记】Recover Binary Search Tree
Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space is ...
分类:其他好文   时间:2014-07-17 17:32:50    阅读次数:246
SUBLIME TEXT 2中,光标移入移出括号的快捷键设置
无赖右方向键→和End键都在键盘的另一边,每次输入完一个函数,光标在各种括号中间,有什么更好的方式将光标移出来呢?在Sublime Text 2中,我们可以自己设置快捷键: { "keys": ["ctrl+alt+space"], "command": "move", "args": {"by":...
分类:其他好文   时间:2014-07-17 17:28:58    阅读次数:228
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!