码迷,mamicode.com
首页 >  
搜索关键字:permgen space    ( 18346个结果
LeetCode 笔记28 Maximum Gap
Given an unsorted array, find the maximum difference between the successive elements in its sorted form.Try to solve it in linear time/space.Return 0 ...
分类:其他好文   时间:2015-03-11 23:05:38    阅读次数:170
Sort List
Sort List问题:Sort a linked list inO(nlogn) time using constant space complexity.思路: 归并排序我的代码:public class Solution { public ListNode sortList(ListN...
分类:其他好文   时间:2015-03-11 21:30:59    阅读次数:165
关于Myeclipse下的JVM启动异常的问题:Out Of Memery / Could not reserve enough space for object heap
以下都是初步理解:这主要是JVM内存配置的问题,网上有很多参考资料,但是我们不能死板硬套,必须根据自己工程的实际情况配置相关的参数。1、按照jvm的设计规则,JVM内存分为堆(Heap)和非堆(Non-heap)内存 "Java 虚拟机具有一个堆,堆是运行时数据区域,所有类实例和数组的内存均从此处....
分类:系统相关   时间:2015-03-11 21:12:48    阅读次数:275
Length of Last Word
Length of Last Word问题:Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the strin...
分类:其他好文   时间:2015-03-11 21:11:05    阅读次数:124
【SICP练习】105 练习3.5-3.6
练习3-5原文Exercise 3.5. Monte Carlo integration is a method of estimating definite integrals by means of Monte Carlo simulation. Consider computing the area of a region of space described by a predicate...
分类:其他好文   时间:2015-03-11 19:43:30    阅读次数:118
每天一个linux命令(1):more命令
more命令,功能类似cat,cat命令是整个文件的内容从上到下显示在屏幕上。more会以一页一页的显示方便使用者逐页阅读,而最基本的指令就是按空白键(space)就往下一页显示,按b键就会往回(back)一页显示,而且还有搜寻字串的功能。more命令从前向后读取文件,因此在启动时就加载整个文件。1...
分类:系统相关   时间:2015-03-11 16:28:37    阅读次数:224
缓存Cache
stringkjid="0001";if(Cache[kjid]==null){S_spacesp=Lib.S_spaceLib.SelectOne(kjid);Cache.Add(kjid,sp,null,DateTime.Now.AddHours(3),TimeSpan.Zero,CacheItemPriority.Normal,null);}S_spacespW=(S_space)Cache[kjid];Cache.Remove(kjid);S_spacespp=Lib.S_spaceLib.Selec..
分类:系统相关   时间:2015-03-11 15:00:27    阅读次数:184
计算机底层知识拾遗(六)理解页缓存page cache和地址空间address_space
在这篇计算机底层知识拾遗(五)理解块IO层 中讲了块缓存buffer cache块缓存,这篇说说页缓存page cache以及相关的地址空间address_space的要点。 在Linux 2.4内核中块缓存buffer cache和页缓存page cache是并存的,表现的现象是同一份文件的数据,可能即出现在buffer cache中,又出现在页缓存中,这样就造成了物理内存的浪费。Linux ...
分类:系统相关   时间:2015-03-11 14:58:59    阅读次数:263
awk 的一个奇怪异常
awk: cmd. line:1: (FILENAME=- FNR=192) fatal: print to "standard output" failed (No space left on device)1045827 awk: cmd. line:1: (FILENAME=- FNR=218...
分类:其他好文   时间:2015-03-11 12:34:30    阅读次数:539
[LeetCode] Set Matrix Zeroes
Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra space?A s...
分类:其他好文   时间:2015-03-11 12:25:49    阅读次数:134
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!