`
can_do
  • 浏览: 248767 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
java.lang.OutOfMemoryError: Java heap space Dumping heap to java_pid5328.hprof ... Heap dump file created [529688434 bytes in 4.197 secs] Exception in thread "EMQ Broker[broker-cnd] Scheduler" java.lang.OutOfMemoryError: Java heap space         at com.xxx.xxx.store.kahadb.disk.journal.DataF ...
>>>SoftReferences【软引用】 || WeakReferences【弱引用】 || StrongReferences【强引用】 >>>引用关系由强到弱为:StrongReferences > SoftReferences > WeakReferences >>>StrongReferences是不能被GC掉的,无论大GC还是小GC,而WeakReferences在小GC时,就可以被清除掉,SoftReferences也可以被GC掉,只是时机有JVM控制,在heap紧张时才触发,典型如:在抛出OutOfMemory ...
【问题】 MQ长期运行后,出现老代GC不掉的现象分析。 通过HA工具分析后,发现对象TransportConnection占用绝对部分heap空间。 问题分解:实际可以归结为两个方面的问题,如下: 1、VMTransport的建立是由网桥建立动作触发的;即【VMTransport】对象在内存中的增加; 2、VMTransport能否被回收和内存中该对象的引用有关;即【VMTransport】对象在内存中的减少; 【分析】 (1)VMTransport和TransportConnection数量是1:1的关系。 (2)【jms.pool.ConnectionPool】和【 jms.pool. ...
storm vs sparkUpdate: additional question about Storm The question is to compare Spark to Storm (see comments below). Spark is still based on the idea that, when the existing data volume is huge, it is cheaper to move the process to the data, rather than moving the data to the process. Each node st ...
在windows下提示端口号不能绑定,但查无原因。 ******************************************** Caused by: java.net.BindException: Address already in use: JVM_Bind java.io.IOException: Transport Connector could not server socket: tcp://0.0.0.0:61616 due to: java.net.BindException: Address already in use: JVM_Bind) D:\tools ...
1.【Storm】==>tuple || bolt || spout || topology Storm is a distributed, real-time computation system. On a Storm cluster, you execute topologies, which process streams of tuples (data).   Each topology is a graph consisting of spouts (which produce tuples) and bolts (which transform tuples). ...
1、Tomcat集群配置关键点: ////////////////////////begin/////////////// <1>All your session attributes must implement java.io.Serializable    ==>session中存储的对象必须是可序列化的,即实现类【java.io.Serializable】 <2>Uncomment the Cluster element in server.xml    ==>在server.xml中使用Cluster元素; <3>If you have ...
通过Java代码启动Jetty的方式有以下几种: 【第一种】在java代码中通过标准的jetty.xml配置文件启动,示例代码如下: EmbeddedViaXml.java ////////////////////////////////begin///////////////////////////////// package jetty; import java.io.File; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import j ...
【日志】 **************************** org.osgi.jmx.framework.FrameworkMBean to MBeanServer com.sun.jmx.mbeanserver.JmxMBeanServer@59530fe3 with name osgi.core:type=framework,version=1.7,framework=org.apache.felix.framework,uuid=f1ea2aaa-5ff1-4df3-8b5a-4aa2b7f85569 INFO  | JMX OSGi Agent   | core         ...
I、环境要求: 1.64bit Linux 2.64bit JDK 3.Memory够大,512GB 4.cpu:64 processors II、测试工具:【DieLikeADog.java】 java -server -Xmx6G -Xms6G -Xmn600M -Xss228K -XX:PermSize=50M -XX:MaxPermSize=50M -XX:+DisableExplicitGC DieLikeADog III、检查配置: 1.ps -Lf <pid> |wc -l ...
         hypervisor || domain0 || domainU     ==>Xen改进后,domainU也可以直接访问具体的硬件设备了===>???     ==>Hypervisor ==>是一个软件层==>在硬件之上,os之下,负责cpu调度和memory分配;     ==>Domain0==>Xen DomainManagement-and-Control==>DMC==>是一个修改的Linux kernel运行在hypervisor之上,       其可以访问IO资源,也可以和其他的虚拟机资源交互,如Do ...
应答模式和transaction的关系==> 0.Session.SESSION_TRANSACTED (0) 1.Session.AUTO_ACKNOWLEDGE (1) 2.Session.CLIENT_ACKNOWLEDGE (2) 3.Session.DUPS_OK_ACKNOWLEDGE (3) 4.EMQSession.INDIVIDUAL_ACKNOWLEDGE (4) 说明:SESSION_TRANSACTED是专门用作事务的应答模式的,非事务时,采用其他4种。 /////////////begin////// 1.AUTO_ACKNOWLEDGE     With thi ...
一、WMIC ==>Windows Management Instrumentation Command-line 0.wmic /? 1.wmic os ==>获取os的更多信息,最近登录时间,os安装时间,序列号等 2.wmic bios ==>bios information 3.wmic csproduct==>Computer system product information from SMBIOS. 4.wmic memorychip==>Memory chip information 二、systeminfo 三、tracert =>trac ...
【问题】jetty独立启动使用原生的xml格式,hotdeploy是ok的, 但是embedded到mq中,采用spring bean格式,配置报错,但配置应该是正确的。 spring bean配置段如下:放置在server bean配置属性中。 /////////begin/////// <!--  hotdeploy =begin= --> <property name="bean"> <list> <bean id="deploymentManager" class="org.eclipse.je ...
Kernel编译步骤: 1、获取内核介质 【wget http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.4.tar.gz】 如果要获取其他版本,只需要版本号即可,如:linux-3.8.tar.gz、linux-3.16.4.tar.gz等。 2、解压文件到指定目录 【tar -zxvf linux-3.4.tar.gz -C /usr/src/kernel】 3、切换到解压后的指定目录 【cd /usr/src/kernel/linux-3.4】 4、设置要编译的kernel参数 【make menuconfig】==>已菜单方式进行 ...
Global site tag (gtag.js) - Google Analytics