Last active
December 11, 2018 09:45
-
-
Save CedricL46/2f7d5e65935067a4a681fecbc9c32f8c to your computer and use it in GitHub Desktop.
see full tutorial here : https://cedricleruth.com/how-to-increase-and-tune-your-jdeveloper-performance/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################################################## | |
### You need to update 4 files to remove the memory limit and strongly improve your jdeveloper performance : ### | |
################################################################################################################## | |
################################################################################################################## | |
### Update the jdev.conf file (e.g : XXXX\Middleware\jdeveloper\jdev\bin\jdev.conf) ############################ | |
################################################################################################################## | |
################################################################################################################## | |
### Your JDK need to be at least 1.7 for jdev to use a huge number of memory ################################### | |
### So change the SetJavaHome from to your jdk1.7 path ######################################################### | |
### e.g : ###################################################################################################### | |
################################################################################################################## | |
# | |
# Directive SetJavaHome is not required by default, except for the base | |
# install, since the launcher will determine the JAVA_HOME. On Windows | |
# it looks in ..\..\jdk, on UNIX it first looks in ../../jdk. If no JDK | |
# is found there, it looks in the PATH. | |
# | |
SetJavaHome C:\Program Files\Java\jdk1.7.0_79 | |
#SetJavaHome C:\Oracle\Middleware\jdk160_24 | |
################################################################################################################## | |
### Then update the MaxPermSize with the maximum memory available to your computer ############################# | |
### e.g: ####################################################################################################### | |
################################################################################################################## | |
# | |
# MaxPermSize is required to run JDeveloper with Sun Microsystems virtual | |
# machine (-client and -server). The default value is 64M, which isn't | |
# enough to run JDeveloper successfully. With the default value, JDeveloper | |
# will end up running out of memory at some point in time. For technical | |
# details, see: http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html | |
# | |
AddVMOption -XX:MaxPermSize=8192M #if you have 8+ Gb ram available or 1024M / 2048M / 4096M etc | |
################################################################################################################## | |
### Change your ide.conf(XXXX\Middleware\jdeveloper\ide\bin\ide.conf) file with the same value as above :####### | |
################################################################################################################## | |
# | |
# If you are getting the 'Low Memory Warning' Message Dialog while running | |
# JDeveloper, please increase the -Xmx value below from the default 800M to | |
# something greater, like 1024M or 1250M. If after increasing the value, | |
# JDeveloper is no longer starting up because it fails to create a virtual | |
# machine, then please reduce the modified -Xmx value, or use a 64bit JDK | |
# which allows for very very large value for -Xmx. | |
# | |
AddVMOption -Xmx8192M | |
AddVMOption -Xms512M | |
###################################################################################### | |
### That's it your jDeveloper can now speed up to 8gb memory (if you put 8192M) #### | |
###################################################################################### | |
################################################################################################################################### | |
### If you also need to speed up your integrated weblogic change the setDomainEnv file as follow : ############################## | |
### For windows(C:\Users\YOUR_USER\AppData\Roaming\JDeveloper\system11.1.2.3.39.62.76.1\DefaultDomain\bin\setDomainEnv.cmd) ##### | |
### For linux(XXXX\system11.1.2.3.39.62.76.1\DefaultDomain\bin\setDomainEnv.sh) ################################################# | |
################################################################################################################################### | |
set XMS_SUN_64BIT=512 | |
set XMS_SUN_32BIT=256 | |
set XMX_SUN_64BIT=8192 | |
set XMX_SUN_32BIT=512 | |
set XMS_JROCKIT_64BIT=256 | |
set XMS_JROCKIT_32BIT=256 | |
set XMX_JROCKIT_64BIT=8192 | |
set XMX_JROCKIT_32BIT=512 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment