今开发反馈一问题,发现fastdfs中有两个组无法上传文件,简单测试了下:fdfs_upload_file/etc/fdfs/storage.conf/root/1.jpg会返回给我N00~N02,N04,N06~N10但缺少了N03,N05通过fdfs_monitor和监控(23000端口)都是没问题的,于是专门对比了N02和N03,N05的区别之处:发现N0..
分类:
Web程序 时间:
2016-10-09 01:03:02
阅读次数:
393
第一类内存溢出,也是大家认为最多,第一反应认为是的内存溢出,就是堆栈溢出: 那什么样的情况就是堆栈溢出呢?当你看到下面的关键字的时候它就是堆栈溢出了: Java.lang.OutOfMemoryError: ......Java heap space..... 也就是当你看到heap相关的时候就肯定 ...
分类:
其他好文 时间:
2016-10-08 16:25:47
阅读次数:
181
leetcode 上的题目 Determine whether an integer is a palindrome. Do this without extra space. 由于不能使用额外空间,所以不能把数字转化为字符串后进行比较。因为这样空间复杂度将为线性。 leetcode给出了几点提示 ...
分类:
其他好文 时间:
2016-10-08 13:24:55
阅读次数:
175
1. 归并排序 归并排序是基于一种被称为“分治”(divide and conquer)的策略。 Sort List Sort a linked list in O(n log n) time using constant space complexity. method 1: merge sort ...
分类:
编程语言 时间:
2016-10-07 07:45:56
阅读次数:
199
PermGen space的全称是Permanent Generation space,是指内存的永久保存区域OutOfMemoryError: PermGen space从表面上看就是内存益出,解决方法也一定是加大内存。说说为什么会内存益出:这一部分用于存放Class和Meta的信息,Class在 ...
分类:
编程语言 时间:
2016-10-07 01:42:11
阅读次数:
172
Error:Unable to start the daemon process: could not reserve enough space for object heap.Please assign more memory to Gradle in the project's gradle.p ...
分类:
系统相关 时间:
2016-10-05 20:05:47
阅读次数:
1124
最近被 OutOfMemory Error折腾得够呛,记载一点设置JVM虚拟机内存Java heap space的方法。 Tomcat 7 参考: http://www.davidghedini.com/pg/entry/install_tomcat_7_on_centos http://blog. ...
分类:
编程语言 时间:
2016-10-05 13:15:01
阅读次数:
179
Ctrl+/ :注释当前行,再按则取消注释 Ctrl+Space :代码助手完成一些代码的插入(但一般和输入法有冲突,可以修改输入法的热键,也可以暂用Alt+/来代替) Ctrl+1 :快速修复(最经典的快捷键,就不用多说了) Ctrl+D :删除当前行 Ctrl+Alt+↓ :复制当前行到下一行(... ...
分类:
系统相关 时间:
2016-10-05 12:50:03
阅读次数:
238
Given a linked list, determine if it has a cycle in it. Follow up:Can you solve it without using extra space? ...
分类:
其他好文 时间:
2016-10-03 17:03:00
阅读次数:
83
Problem Description Your task is to Calculate a + b. Input The input will consist of a series of pairs of integers a and b, separated by a space, one ...
分类:
其他好文 时间:
2016-10-03 00:12:17
阅读次数:
143