解决ODI 12C Studio 运行缓慢问题

一、配置 ODI 12C Studio

1.1 修改ODI Studio process的-Xms和-Xmx

ide.conf: modifying the initial Heap size (-Xms), and/or maximum Heap size (-Xmx) of the ODI Studio Java process.

路径: "$ODI_HOME\jdeveloper\ide\bin\ide.conf  (我的路径为D:\Oracle\Middleware\Oracle_Home\jdeveloper\ide\bin\ide.conf)

# Set the default memory options for the Java VM which apply to both 32 and 64-bit VM‘s.
# These values can be overridden in the user .conf file, see the comment at the top of this file.
AddVMOption  -Xms128M
AddVMOption  -Xmx800M

不过此文件头有这么一段:

# This configuration file is not intended to be modified by the user.  Doing so
# may cause the product to become unstable or unusable.  If options need to be
# modified or added, the user may do so by modifying the custom configuration files
# located in the user‘s home directory.  The location of these files is dependent
# on the product name and host platform, but may be found according to the
# following guidelines:
#
# Windows Platforms:
#   The location of user/product files are often configured during installation,
#   but may be found in:
#     %APPDATA%\<product-name>\<product-version>\product.conf
#     %APPDATA%\<product-name>\<product-version>\jdev.conf
#
# Unix/Linux/Mac/Solaris:
#   $HOME/.<product-name>/<product-version>/product.conf
#   $HOME/.<product-name>/<product-version>/jdev.conf
#
# In particular, the directives to set the initial and maximum Java memory
# and the SetJavaHome directive to specify the JDK location can be overridden
# in that file instead of modifying this file.
#
#-----------------------------------------------------------------------------

因此我们去找 %APPDATA%\<product-name>\<product-version>\product.conf

我的为 C:\Users\XQZT\AppData\Roaming\odi\1.0.0.0.0\product.conf,初始内容如下

SetJavaHome C:\Program Files\Java\jdk1.7.0_67

将初始堆和最大堆大小修改为原来的两倍

SetJavaHome C:\Program Files\Java\jdk1.7.0_67
AddVMOption  -Xms256M
AddVMOption  -Xmx1600M

1.2 修改ODI Studio process的MaxPermSize

"odi.conf" file : modifying the other Java properties of the ODI Studio process.

路径:"$ODI_HOME\odi\studio\bin\odi.conf"

(我的路径为 D:\Oracle\Middleware\Oracle_Home\odi\studio\bin\odi.conf)

IncludeConfFile ../../../jdeveloper/ide/bin/ide.conf
AddVMOption -Dproduct.cluster.dirs=..
AddVMOption -Doracle.fmw.dir=odi/studio/
AddVMOption -XX:MaxPermSize=256M

可以修改 AddVMOption -XX:MaxPermSize

二、配置代理agent的  ODI_INIT_HEAP and ODI_MAX_HEAP

D:\Oracle\Middleware\Oracle_Home\user_projects\domains\odi_domain\bin\setODIDomainEnv.cmd (setODIDomainEnv.sh)

In Oracle Data Integrator 12c the ODI_INIT_HEAP and ODI_MAX_HEAP parameters are located in the setODIDomainEnv script file within an ODI domain bin directory.

修改里面的内容

set WLS_MEM_ARGS_64BIT=-Xms512m -Xmx512m

set WLS_MEM_ARGS_32BIT=-Xms512m –Xmx512m

------

set MEM_PERM_SIZE_64BIT=-XX:PermSize=128m

set MEM_PERM_SIZE_32BIT=-XX:PermSize=128m

 

说明:

JVM主要管理两种类型的内存:堆和非堆。

方法区、JVM内部处理或优化所需的内存(如JIT编译后的代码缓存)、每个类结构(如运行时常数池、字段和方法数据)以及方法和构造方法的代码都在非堆内存中。

堆是运行时数据区域,所有类实例和数组的内存均从此处分配。

-Xms128m JVM初始分配的堆内存

-Xmx512m JVM最大允许分配的堆内存,按需分配

-XX:PermSize=64M JVM初始分配的非堆内存

-XX:MaxPermSize=128M JVM最大允许分配的非堆内存,按需分配

参考:

 ODI 12C Studio running slowly

http://www.oracle.com/us/products/middleware/data-integration/odi-performance-guide-wp-2147067.pdf

Xms Xmx PermSize MaxPermSize 区别

java基础---->java虚拟机运行环境数据区域说明

时间: 2024-08-05 18:49:51

解决ODI 12C Studio 运行缓慢问题的相关文章

解决小米手机不能运行Android Studio程序的问题

转载自:解决小米手机不能运行Android Studio程序的问题 问题描述 Android Studio升级到2.3版本之后,小米手机MIUI8不能运行Android Studio程序,报如下错误: Installation failed with message Failed to establish session. It is possible that this issue is resolved by uninstalling an existing version of apk i

Android Studio 运行出现 Error:Execution failed for task &#39;:app:transformResourcesWithMergeJavaResForDebug&#39;.

转载请标明出处: http://www.cnblogs.com/why168888/p/5978381.html 本文出自:[Edwin博客园] 我引用compile 'com.squareup.retrofit2:converter-jackson:2.1.0'Gradle没有错误,运行APP就出了这个error. 错误日志:Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.> c

Visual Studio运行Python报No module named &#39;django&#39;

在Visual Studio上进行第一个Python项目尝试时, 使用Django框架, 结果运行时提示 Traceback (most recent call last):  File "E:\WorkSpaces\Visual Studio\AppTest\DjangoWebProject1\manage.py", line 15, in <module>    from django.core.management import execute_from_comman

【转】MIUI8以及ViVO X9上在Android Studio运行出错集及其解决方案

最近用一台红米4高配版(6.0)以及ViVo X9(7.1)来做测试机,它是小米MIUI系统的最新版本MIUI8,我的AS是2.3版本,在网上查看了相关问题,在小米5和红米note4x等配备了MIUI8系统的手机都遇到了相同的问题,所以我相信大家第一次用MIUI8系统手机来测试肯定也会遇到这些问题.下面来列举自己在开发中使用MIUI8遇到的坑,也希望可以帮助大家快速解决问题. 1.Installation failed with message INSTALL_CANCELED_BY_USER.

FusionInsight LibrA与ODI 12c的完美结合

本文介绍如何通过ODI 12c同步PostgreSQL数据到FusionInsight LibrA. 1.FusionInsight LibrA客户端配置 在ODI服务上配置FusionInsight LibrA客户端,完成客户端认证操作. [[email protected] ~]$ source /u02/huawei/client/bigdata_env [[email protected] ~]$ kinit candon Password for [email protected]:

用android studio运行weex项目错误汇总

在本地使用命令weex run android运行weex项目时报错:"Error: No android devices found.",后面发现这是个坑,需要使用android studio启动项目来运行. 在本地下载安装好android studio环境和工具后,将weex项目下platforms->android文件引入(如果是ios则引入ios文件夹),然后编译运行,在编译运行中遇到了如下几个问题,在此汇总记录: 1.Could not find com.android

系统运行缓慢,CPU 100%,以及Full GC次数过多问题的排查思路

处理过线上问题的同学基本上都会遇到系统突然运行缓慢,CPU 100%,以及Full GC次数过多的问题.当然,这些问题的最终导致的直观现象就是系统运行缓慢,并且有大量的报警.本文主要针对系统运行缓慢这一问题,提供该问题的排查思路,从而定位出问题的代码点,进而提供解决该问题的思路. 对于线上系统突然产生的运行缓慢问题,如果该问题导致线上系统不可用,那么首先需要做的就是,导出jstack和内存信息,然后重启系统,尽快保证系统的可用性.这种情况可能的原因主要有两种: 代码中某个位置读取数据量较大,导致

如何解决win7系统无法运行cmd命令提示符

如何解决win7系统无法运行cmd命令提示符 CMD命令可以帮助我们很快的执行所需要的程序命令,可以查询系统中很多的信息和解决系统很多的故障,对我们来说非常方便,但是最近有用户反馈自己win7电脑无法运行cmd命令提示符窗口了,那么接下来就给大家介绍解决win7无法运行cmd命令提示符的方法. 工具/原料 win7系统 Regedit注册表 方法/步骤 在桌面打开开始菜单,选择"控制面板",如下图所示: 在打开的控制面板窗口中,选项"系统",如下图所示: 3.打开的

解决Firefox已阻止运行早期版本Adobe Flash

解决Firefox已阻止运行早期版本Adobe Flash 类别    [随笔分类]web 最近火狐浏览器不知抽什么风,每次打开总提示"Firefox已阻止(null)运行早期版本的Adobe Flash".要命的是它提示的解决办法根本不管用,最终还是自己在网上找了插件才解决的.下面看看具体操作吧. 方法/步骤 先看现象. 它会有"继续屏蔽"和"允许"两个按钮. 点了"允许"后会提示"本次允许"和"