用命令 tail -f /root/apache-tomcat-6.0.20/logs/catalina.out(需要找到tomcat路径) 查看日志,查看是否有错误 linux中tomcat内存溢出解决办法 常见的一般会有下面三种情况:1.OutOfMemoryError: Java heap s ...
分类:
系统相关 时间:
2017-01-22 14:46:17
阅读次数:
209
algoritm.in / algoritm.out Even though he isn't a student of computer science, Por Costel the pig has started to study Graph Theory. Today he's learni ...
分类:
其他好文 时间:
2017-01-22 07:56:39
阅读次数:
304
关于堆和栈已经是程序员的一个月经话题,大部分有是基于os层来聊的。 那么,在赤裸裸的单片机下的堆和栈是什么样的分布呢?以下是网摘: 刚接手STM32时,你只编写一个 int main() { while(1); } BUILD://Program Size: Code=340 RO-data=252 ...
分类:
其他好文 时间:
2017-01-20 11:10:40
阅读次数:
204
#include<bits/stdc++.h>using namespace std;const int maxx = 100000 + 10;int Heap[maxx];int main() { int n,num = 0,x; scanf("%d",&n); for(int i=1; i<=n ...
分类:
编程语言 时间:
2017-01-19 21:21:38
阅读次数:
177
215. Kth Largest Element in an Array 4 C++ Solutions using Partition, Max-Heap, priority_queue and multiset respectively Well, this problem has a naiv ...
分类:
编程语言 时间:
2017-01-19 08:46:05
阅读次数:
212
1. 什么是内存泄漏(memory leak)? 指由于疏忽或错误造成程序未能释放已经不再使用的内存的情况。内存泄漏并非指内存在物理上的消失,而是应用程序分配某段内存后,由于设计错误,失去了对该段内存的控制,因而造成了内存的浪费。 2. 两种类型的内存泄漏: 堆内存泄漏(Heap leak)。对内存 ...
分类:
其他好文 时间:
2017-01-18 07:43:11
阅读次数:
142
BSS段:BSS段(bss segment)通常是指用来存放程序中未初始化的全局变量的一块内存区域。 BSS是英文Block Started by Symbol的简称。BSS段属于静态内存分配。 数据段:数据段(data segment)通常是指用来存放程序中已初始化的全局变量的一块内存区域。 数据 ...
分类:
其他好文 时间:
2017-01-10 23:29:46
阅读次数:
215
一、错误提示 今天在开发的时候遇到一个崩溃问题,“This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird c ...
分类:
移动开发 时间:
2017-01-10 14:49:07
阅读次数:
214
jcmd ##Refer to http://www.cnblogs.com/tang88seng/p/4497725.html java -XX:+PrintFlagsFinal -version ##Display all JVM options java -XX:+PrintCommandLi ...
分类:
编程语言 时间:
2017-01-10 11:53:09
阅读次数:
464
第1篇 基础篇 第1章 Android触摸事件传递机制 1.1 触摸事件的类型 1.2 事件传递的三个阶段 1.3 View的事件传递机制 1.4 ViewGroup的事件传递机制 第2章 Android View的绘制流程 2.1 绘制的整体流程 2.2 MeasureSpec 2.3 Measu ...
分类:
移动开发 时间:
2017-01-10 11:28:53
阅读次数:
347