当前位置:网站首页>Kettle JVM memory setting - the effect is not obvious
Kettle JVM memory setting - the effect is not obvious
2022-07-27 19:20:00 【The bearer of dark cuisine】
1、 View local JVM Memory size
JVM The initial allocated memory is -Xms Appoint , The default is physical memory 1/64;JVM The maximum allocated memory is -Xmx finger set , The default is physical memory 1/4. The default free heap memory is less than 40% when ,JVM It's going to pile up until -Xmx The maximum limit of ; The free heap memory is larger than 70% when ,JVM It will reduce the pile until -Xms The minimum limit of . So the server is generally set up -Xms、 -Xmx Equal to avoid at every time GC Then adjust the size of the heap . You can use JVM Provided -Xmn -Xms -Xmx And other options to set heap memory , In general, we should -Xms and -Xmx The options are set to the same , and -Xmn by 1/4 Of -Xmx value , It is recommended that the maximum value of heap be set to the maximum value of available memory 80%.
Local computer configuration

2、 Set according to local size kettle Corresponding memory
kettle When setting memory, you need to set the corresponding memory according to the size of local memory .
My current host is 8GB Of memory ,JVM At most, you can use 2GB(8GB Of 1/4).
stay kettle Set up JVM Memory time , Generally speaking, online reference is that the maximum stack memory does not exceed the total memory 3/8 Some also say yes Half , In short, there must be a degree .
modify spoon.bat:
if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms7680m" "-Xmx7680m" "-XX:MaxPermSize=3840m"3、 Compare the efficiency improvement ratio after modification
At present excel The speed of the output ~~~15 strip / second ---》

After the change ---- A little bit faster Ignore it

2019-6-24 Add ~~~~
excel The output really hasn't changed much , however ~~~~
Now reading data from the database is really ten times faster ...

边栏推荐
- 200行代码快速入门文档型数据库MonogoDB
- Kinect for unity3d - backgroundremovaldemo learning
- C # one method returns multiple values. Suggestions collection
- 专项测试之「 性能测试」总结
- 阿里云对象存储OSS的开通和使用
- How can I get started quickly when I change my career to soft testing and job hopping to a new company?
- kettle JVM内存设置---效果不明显
- Greedy method, matroid and submodular function (refer)
- Express get/post/delete... Request
- Useful resources for ns2
猜你喜欢

Technology Summit 58 Liu Yuan in the same city was invited to attend qecon 2022 global software quality & effectiveness conference

Nacos的基本使用(1)——入门

kettle switch / case 控件实现分类处理

专项测试之「 性能测试」总结

汇编语言入门基础(1)

Kinect for Unity3d----KinectManager

Kinect for Unity3d----KinectManager

Win10 tips (1) -- transfer desktop location

Webmagic+selenium+chromedriver+jdbc垂直抓取数据。

I'm afraid I won't use the JMeter interface testing tool if I accept this practical case
随机推荐
Useful resources for ns2
Latex use - control the display position of tables or graphics
Mongodb learning notes (1) - install mongodb and its related configurations
101. (cesium chapter) cesium particle system - snow
Resource for NS2 beginner
There is another example of repeater
Unity-显示Kinect深度数据
Learning notes of Microcomputer Principles - common addressing methods
Selenium自动化测试面试题全家桶
Latex use - subfigure vertical graphics
阿里云对象存储OSS的开通和使用
JS common utils encapsulation
MongoDB学习笔记(1)——安装MongoDB及其相关配置
WSN Journal indexed by SCI(转)
Jmeter接口自动化-如何解决请求头Content-Type冲突问题
Down sampling - signal phase and aliasing
kettle8.2 安装及常见问题
How to generate random numbers with standard distribution or Gaussian distribution
新系统安装MySQL+SQLyog
ipfs通过接口获得公钥、私钥,并加密存储。第一弹