{"id":3761,"date":"2011-12-09T15:18:29","date_gmt":"2011-12-09T20:18:29","guid":{"rendered":"http:\/\/jianmingli.com\/wp\/?p=3761"},"modified":"2018-10-10T15:53:02","modified_gmt":"2018-10-10T20:53:02","slug":"jdeveloper-11g-increase-jvm-memory","status":"publish","type":"post","link":"https:\/\/jianmingli.com\/wp\/?p=3761","title":{"rendered":"JDeveloper 11g: Increase JVM Memory"},"content":{"rendered":"<div class='toc wptoc'>\n<h2>Contents<\/h2>\n<ol class='toc-odd level-1'>\n\t<li>\n\t\t<a href=\"#Increase_JDeveloper_IDE_JVM_Memory\">Increase JDeveloper IDE JVM Memory<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Increase_Integrated_WebLogic_JVM_Memory\">Increase Integrated WebLogic JVM Memory<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Increase_Integrated_WebLogic_JVM_MaxPemGen_Size\">Increase Integrated WebLogic JVM MaxPemGen Size<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Resolve_Stuck_Integrated_WLS\">Resolve Stuck Integrated WLS<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Modify_JDeveloper_SCA_Compiler_JVM_Memory\">Modify JDeveloper SCA Compiler JVM Memory<\/a>\n\t<\/li>\n<\/ol>\n<\/ol>\n<\/ol>\n<\/div>\n<div class='wptoc-end'>&nbsp;<\/div>\n<span id=\"Increase_JDeveloper_IDE_JVM_Memory\"><h3>Increase JDeveloper IDE JVM Memory<\/h3><\/span>\n<p>* Open C:\\Oracle\\Middleware\\jdeveloper\\ide\\bin\\ide.conf<br \/>\n* Increase memory setting:<\/p>\n<pre lang=\"bash\">\r\n@REM AddVMOption  -Xmx640M\r\n@REM AddVMOption  -Xms128M\r\n\r\nAddVMOption  -Xmx2048M\r\nAddVMOption  -Xms512M\r\n<\/pre>\n<p>* Open C:\\Oracle\\Middleware\\jdeveloper\\jdev\\bin\\jdev.conf<br \/>\n* Increase perm memory setting:<\/p>\n<pre lang=\"bash\">\r\nAddVMOption  -XX:MaxPermSize=256M\r\n<\/pre>\n<span id=\"Increase_Integrated_WebLogic_JVM_Memory\"><h3>Increase Integrated WebLogic JVM Memory<\/h3><\/span>\n<p>* Open C:\\Users\\jli\\AppData\\Roaming\\JDeveloper\\systemxx.xx.xx\\DefaultDomain\\bin\\setDomainEnv.cmd<br \/>\n* Increase memory setting (Note that this can not be more than the memory allocated to IDE itself):<\/p>\n<pre lang=\"bash\">\r\n@REM set XMS_SUN_64BIT=256\r\n@REM set XMS_SUN_32BIT=256\r\n@REM set XMX_SUN_64BIT=512\r\n@REM set XMX_SUN_32BIT=512\r\n\r\nset XMS_SUN_64BIT=512\r\nset XMS_SUN_32BIT=512\r\nset XMX_SUN_64BIT=768\r\nset XMX_SUN_32BIT=768\r\n\r\nset XMS_JROCKIT_64BIT=512\r\nset XMS_JROCKIT_32BIT=512\r\nset XMX_JROCKIT_64BIT=768\r\nset XMX_JROCKIT_32BIT=768\r\n\r\nif \"%JAVA_VENDOR%\"==\"Sun\" (\r\n  @set WLS_MEM_ARGS_64BIT=-Xms256m -Xmx512m\r\n  @set WLS_MEM_ARGS_32BIT=-Xms256m -Xmx512m\r\n  set WLS_MEM_ARGS_64BIT=-Xms512m -Xmx768m\r\n  set WLS_MEM_ARGS_32BIT=-Xms512m -Xmx768m\r\n) else (\r\n  @set WLS_MEM_ARGS_64BIT=-Xms512m -Xmx512m\r\n  @set WLS_MEM_ARGS_32BIT=-Xms512m -Xmx512m\r\n  set WLS_MEM_ARGS_64BIT=-Xms512m -Xmx768m\r\n  set WLS_MEM_ARGS_32BIT=-Xms512m -Xmx768m\r\n)\r\n<\/pre>\n<span id=\"Increase_Integrated_WebLogic_JVM_MaxPemGen_Size\"><h3>Increase Integrated WebLogic JVM MaxPemGen Size<\/h3><\/span>\n<span id=\"\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/12\/jdev11g_IntegratedWLS_increasePemGen_1.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/12\/jdev11g_IntegratedWLS_increasePemGen_1-300x52.jpg\" alt=\"jdev11g_IntegratedWLS_increasePemGen_1\" width=\"300\" height=\"52\" class=\"aligncenter size-medium wp-image-11104\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/12\/jdev11g_IntegratedWLS_increasePemGen_1-300x52.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/12\/jdev11g_IntegratedWLS_increasePemGen_1.jpg 590w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<span id=\"_1\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/12\/jdev11g_IntegratedWLS_increasePemGen_2.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/12\/jdev11g_IntegratedWLS_increasePemGen_2-300x100.jpg\" alt=\"jdev11g_IntegratedWLS_increasePemGen_2\" width=\"300\" height=\"100\" class=\"aligncenter size-medium wp-image-11105\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/12\/jdev11g_IntegratedWLS_increasePemGen_2-300x100.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/12\/jdev11g_IntegratedWLS_increasePemGen_2.jpg 684w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<span id=\"_2\"><h6><a href=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/12\/jdev11g_IntegratedWLS_increasePemGen_3.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/12\/jdev11g_IntegratedWLS_increasePemGen_3-300x215.jpg\" alt=\"jdev11g_IntegratedWLS_increasePemGen_3\" width=\"300\" height=\"215\" class=\"aligncenter size-medium wp-image-11106\" srcset=\"https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/12\/jdev11g_IntegratedWLS_increasePemGen_3-300x215.jpg 300w, https:\/\/jianmingli.com\/wp\/wp-content\/uploads\/2011\/12\/jdev11g_IntegratedWLS_increasePemGen_3.jpg 692w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/h6><\/span>\n<span id=\"Resolve_Stuck_Integrated_WLS\"><h3>Resolve Stuck Integrated WLS<\/h3><\/span>\n<p>* See <a href=\"?p=4019\">this post<\/a>.<\/p>\n<span id=\"Modify_JDeveloper_SCA_Compiler_JVM_Memory\"><h3>Modify JDeveloper SCA Compiler JVM Memory<\/h3><\/span>\n<p>* Go to: jdeveloper\\bin<br \/>\n* Open file: ant-sca-compile.xml<br \/>\n* Modify jvmarg parameters:<\/p>\n<pre lang=\"xml\">\r\n    <target name=\"scac\" description=\"Compile and validate a composite\">\r\n      <scac input=\"${scac.input}\" outXml=\"${scac.output}\" error=\"${scac.error}\" appHome=\"${scac.application.home}\" failonerror=\"true\" displayLevel=\"${scac.displayLevel}\" reportErrors=\"${scac.reportSchemaValidationErrors}\">\r\n        <jvmarg value=\"-Xms128m\"\/>\r\n        <jvmarg value=\"-Xmx512m\"\/>\r\n        <jvmarg value=\"-XX:PermSize=32m\"\/>\r\n        <jvmarg value=\"-XX:MaxPermSize=256m\"\/>\r\n        <!-- jvmarg value=\"-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005\"\/ -->\r\n      <\/scac>\r\n    <\/target>    \r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Increase JDeveloper IDE JVM Memory * Open C:\\Oracle\\Middleware\\jdeveloper\\ide\\bin\\ide.conf * Increase memory setting: @REM AddVMOption -Xmx640M @REM AddVMOption -Xms128M AddVMOption -Xmx2048M AddVMOption -Xms512M * Open C:\\Oracle\\Middleware\\jdeveloper\\jdev\\bin\\jdev.conf * Increase perm memory setting: AddVMOption -XX:MaxPermSize=256M Increase Integrated WebLogic JVM Memory * Open C:\\Users\\jli\\AppData\\Roaming\\JDeveloper\\systemxx.xx.xx\\DefaultDomain\\bin\\setDomainEnv.cmd &hellip; <a href=\"https:\/\/jianmingli.com\/wp\/?p=3761\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[78],"tags":[],"class_list":["post-3761","post","type-post","status-publish","format-standard","hentry","category-jdev"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8cRUO-YF","_links":{"self":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3761","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3761"}],"version-history":[{"count":15,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3761\/revisions"}],"predecessor-version":[{"id":12259,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3761\/revisions\/12259"}],"wp:attachment":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}