堆内存设置原理JVM堆内存分为2块:PermanentSpace 和 Heap Space。Permanent 即持久代(Permanent Generation),主要存放的是Java类定义信息,与垃圾收集器要收集的Java对象关系不大。Heap = { Old + NEW = {Eden, fr...
分类:
其他好文 时间:
2015-08-19 09:22:23
阅读次数:
189
一、JVM内存模型JVM主要管理两种类型内存:堆(Heap)和非堆(Permanent区域)。1、Heap是运行时数据区域,所有类实例和数组的内存均从此处分配。Heap区分两大块,一块是 Young Generation,另一块是Old Generation: 1)在Young Generatio....
分类:
其他好文 时间:
2015-08-17 16:49:43
阅读次数:
145
'clear', 'copy', 'fromkeys', 'get', 'has_key', 'items', 'iteritems', 'iterkeys', 'itervalues', 'keys', 'modified', 'new', 'on_update', 'permanent', 'p...
分类:
其他好文 时间:
2015-08-03 16:10:12
阅读次数:
126
分几个帖子 跟大家一起学习一下内存分析的方法。这次先来聊聊为什么会发生内存泄漏:我们知道JVM根据generation(代)来进行GC,一共被分为young generation(年轻代)、tenured generation(老年代)、permanent generation(永久代, perm ...
分类:
其他好文 时间:
2015-07-22 12:51:20
阅读次数:
112
开启端口:
firewall-cmd --zone=public --add-port=80/tcp --permanent
命令含义:
--zone
#作用域
--add-port=80/tcp
#添加端口,格式为:端口/通讯协议
--permanent
#永久生效,没有此参数重启后失效
重启防火墙:
firewall-cmd --reload 或者service fire...
分类:
其他好文 时间:
2015-07-22 10:40:43
阅读次数:
104
PermGen space:全称是Permanent Generation space。就是说是永久保存的区域,用于存放Class和Meta信息,Class在被Load的时候被放入该区域 Heap space:存放Instance。 GC(Garbage Collection)应该不会对PermGen s...
分类:
系统相关 时间:
2015-07-21 17:31:04
阅读次数:
220
502.A database is running In ARCHIVBXXMS mode. It has two online redo log groups and each group
has one member.
A LGWR Input/output (I/O) fells due to permanent media failure that has resulted In th...
分类:
其他好文 时间:
2015-07-19 11:53:41
阅读次数:
140
package com.qunar.training.questionDate;
public class Permanent {
public static boolean isLeapYear(int year){//能被4整除但不能被100整除,或者能被400整除
boolean leapYear = false;
if((year % 100 == 0 && year % ...
分类:
系统相关 时间:
2015-07-14 18:18:24
阅读次数:
167
先看一下JVM的内存模型: ? ? 从大的方面来讲,JVM的内存模型分为两大块: ? 永久区内存(?Permanent space?)和堆内存(heap space)。 ? 栈内存(stack space)一般都不归在JVM内存模型中,因为栈内存属于...
分类:
其他好文 时间:
2015-07-06 12:36:37
阅读次数:
105
centos7防火墙配置CentOS7使用的是LinuxKernel3.10.0的内核版本,新版的Kernel内核已经有了防火墙netfilter,并且firewalld的使用效能更高,稳定性更好。CentOS7配置防火墙的两种方法:一、使用xml配置文件的方式配置;方法一cp/usr/lib/firewalld/services/http.xml/etc/firew..
分类:
其他好文 时间:
2015-07-04 01:07:59
阅读次数:
261