一、修改redis.conf。保证下次服务器或者Redis重启仍然生效 # maxmemory <bytes> # 3.104GB # redis-cli>info # >used_memory:3254690792 maxmemory 3254857828 maxmemory-policy all ...
分类:
其他好文 时间:
2020-01-11 11:49:50
阅读次数:
97
// smart pointer implements #include <iostream> #include <memory> using namespace std; template<typename T> class SharePtr; template<typename T> class ...
分类:
其他好文 时间:
2020-01-10 23:50:34
阅读次数:
104
以下是几个关于linux 内存知识的文章,可以方便的学习linux 内存管理以及排查实际问题 参考链接 https://techtalk.intersec.com/2013/07/memory-part-1-memory-types/ https://techtalk.intersec.com/20 ...
分类:
系统相关 时间:
2020-01-10 22:39:21
阅读次数:
105
主要考虑安装 redis rdb tools pip install rdbtools 然后,使用 redis-memory-for-key工具: redis-memory-for-key -s b.redis -p 6379 -d 6 myhash 具体用法参考redis-memory-for-k ...
分类:
其他好文 时间:
2020-01-10 18:54:28
阅读次数:
379
AMM:automatic memory management自动内存管理 手动设置 total memory size for this instance maximum memory size for this instance 数据库自动分配 total sga size sga compon ...
分类:
数据库 时间:
2020-01-10 17:17:42
阅读次数:
98
什么时候需要调节Executor的堆外内存大小? 当出现一下异常时: shuffle file cannot find,executor lost、task lost,out of memory 出现这种问题的现象大致有这么两种情况: 上述情况下,就可以去考虑调节一下executor的堆外内存。也许 ...
分类:
其他好文 时间:
2020-01-10 12:34:38
阅读次数:
91
1. mount 2. uts HOSTNAME和domain的隔离 名称空间 3. pid 4. network 5. user 6. ipc 进程间通信 7. cgroup 使用unshare 进行创建namespace 容器中常用的cgroup 1. cpu 2. memory 3. devi ...
分类:
其他好文 时间:
2020-01-09 18:47:28
阅读次数:
59
FileStreamResult 抛出异常: InvalidOperationException: Response Content-Length mismatch 解决方案: Stream 必须 seek begin 伪代码如下: ...
分类:
其他好文 时间:
2020-01-09 13:10:19
阅读次数:
134
1.高性能硬件上的程序部署策略 例如:64位jdk与使用多个32位虚拟机 2.集群间同步导致的内存溢出 例如:网络不能满足传输要求时 3.堆外内存导致的溢出错误 除了Java堆和永生代之外,还有其他区域会占用较多内存 Direct Memory 4.外部命令导致系统缓慢 例如:Runtime.get ...
分类:
其他好文 时间:
2020-01-09 10:41:48
阅读次数:
81
library frmDll; { Important note about DLL memory management: ShareMem must be the first unit in your library's USES clause AND your project's (select ...