一、设计堆内存溢出异常:OutOfMemoryError: JVM参数:-XX:+HeapOnOutOfMemoryError :到处内存溢出的堆信息(hprof文件) 执行后报错: 查看文件:文件保存在项目文件夹中,但是要查看其中内容,你需要借助Eclipse Memory Analyzer工具。 ...
分类:
其他好文 时间:
2019-10-04 23:15:20
阅读次数:
125
Textbook: 《计算机组成与设计——硬件/软件接口》 HI 《计算机体系结构——量化研究方法》 QR Ch4. Cache Optimization 本章要讨论的问题就是 How to Improve Cache Performance? 前面讲过 Average memory access ...
分类:
系统相关 时间:
2019-10-04 17:20:48
阅读次数:
157
procs memory swap-- io -system-- cpu r b swpd free buff cache si so bi bo in cs us sy id wa st 说明 procs:进程 r 表示运行队列(就是说多少个进程真的分配到CPU) b 表示阻塞的进程 memory ...
分类:
系统相关 时间:
2019-10-04 11:29:39
阅读次数:
208
[toc] Golang 接口与反射知识要点 这篇文章以 Go 官方经典博客 "The Laws of Reflection" 为基础,详细介绍文中涉及的知识点,并有所扩展。 1. 接口类型变量 首先,我们谈谈接口类型的内存布局(memory layout),其他基础类型、Struct、Slice、 ...
分类:
其他好文 时间:
2019-10-04 10:00:09
阅读次数:
77
Almost Acyclic Graph "CodeForces 915D " time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Y ...
分类:
编程语言 时间:
2019-10-04 00:10:19
阅读次数:
102
上一篇介绍的是以太坊下基于geth+remix-ide智能合约环境的搭建和部署运行,本篇介绍的是基于truffle+ganache。 ganache相当于是geth的图形化操作界面,相对于纯指令操作的geth较为简单易上手,并且运行交易和生成区块的过程一目了然。 【前期准备】 1.Node.js安装 ...
总结: 阅读下面文章需要15分钟 提问者的问题是JavaScript中内存是怎么分配的,在介绍的过程作者涉及计到了JS中 Scope Chain和调用函数call生成lexicial environment和environment record(被作者合并称为 binding objects)的过程 ...
分类:
编程语言 时间:
2019-10-02 14:52:47
阅读次数:
88
题目: time limit per test 2 seconds time limit per test memory limit per test 256 megabytes memory limit per test input standard input input output stan ...
分类:
其他好文 时间:
2019-10-02 14:47:35
阅读次数:
82
这次就边学边总结吧,不等到最后啦 Textbook: 《计算机组成与设计——硬件/软件接口》 HI 《计算机体系结构——量化研究方法》 QR Ch3. Memory Hierarchy 1. Physical Memory SRAM:CPU缓存(比如PentiumII的外置二级缓存芯片) DRAM: ...
分类:
其他好文 时间:
2019-10-02 14:41:40
阅读次数:
306
F. SUM and REPLACE time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Let D(x) be the number of ...
分类:
其他好文 时间:
2019-10-02 14:34:23
阅读次数:
77