Increasing the JVM heap size for XDE for Java - IBM

文章推薦指數: 80 %
投票人數:10人

A Microsoft Visual C++ Runtime Library error occurs when using IBM® Rational® XDE™ for Java™ integrated with IBM Websphere® Studio Application Developer ... IBMSupport   Noresultswerefoundforyoursearchquery. Tips Toreturnexpectedresults,youcan: Reducethenumberofsearchterms.Eachtermyouusefocusesthesearchfurther. Checkyourspelling.Asinglemisspelledorincorrectlytypedtermcanchangeyourresult. Trysubstitutingsynonymsforyouroriginalterms.Forexample,insteadofsearchingfor"javaclasses",try"javatraining" DidyousearchforanIBMacquiredorsoldproduct?Ifso,followtheappropriatelinkbelowtofindthecontentyouneed. Ourapologies Searchresultsarenotavailableatthistime.Pleasetryagainlateroruseoneoftheothersupportoptionsonthispage. IncreasingtheJVMheapsizeforXDEforJava Troubleshooting Problem AMicrosoftVisualC++RuntimeLibraryerroroccurswhenusingIBM®Rational®XDE™forJava™integratedwithIBMWebsphere®StudioApplicationDeveloperversion5.1.2. Cause Duringdevelopment,largenumbersofprojectsmaybecreatedandthismayaffecttheperformanceofXDE.WhenbuildingaprojectorreverseengineeringanEJB,aVisualC++errorcanoccur.TheMicrosoftVisualC++RuntimeLibraryerrormessageissimilarto:RuntimeError!Program<...o>ThisapplicationhasrequestedtheRuntimetoterminateitinanunusualway.Pleasecontacttheapplication'ssupportteamformoreinformation.Thiserrormessageisagenericone.Howeverinthiscontext,theproblempointstoinsufficientJVMheapsizethatisneededtorunXDE. ResolvingTheProblem AworkaroundtothisproblemistoincreasetheminimumandmaximumheapsizeoftheJVM.Todoso: GotoC:\ProgramFiles\Rational\XDE\eclipse Openthefilexde.ini Inthefile,youwillseethefollowingentry -run="C:\ProgramFiles\IBM\WebSphereStudio\\eclipse\eclipse.exe"-vm"C:\ProgramFiles\IBM\WebSphereStudio\eclipse\jre\bin\javaw.exe"-data"C:\temp\XDEWorkspace"-featurecom.rational.xde-perspectivecom.rational.hshell.ratltool.ratlLayout -vmargs-DRCSI_SUPPORT_LOG=rational_support.log Nexttothecommand-vmargs,addthefollowingcommand:"-Xmx512m-Xms150m"where "-Xmx512m"-referstoamaximumheapsizeof512MB "-Xms150m"-referstoaminimumheapsizeof150MB Theresultinglinewillbe: "C:\ProgramFiles\IBM\WebSphereStudio\\eclipse\eclipse.exe"-vm "C:\ProgramFiles\IBM\WebSphereStudio\eclipse\jre\bin\javaw.exe"-data "C:\temp\XDEWorkspace"-featurecom.rational.xde -perspectivecom.rational.hshell.ratltool.ratlLayout -vmargs Xm512m  -Xms150m -DRCSI_SUPPORT_LOG=rational_support.log Savethexde.inifile RestartXDE [{"Product":{"code":"SSSJ2Z","label":"RationalXDEJava"},"BusinessUnit":{"code":"BU053","label":"Cloud&DataPlatform"},"Component":"Integrations","Platform":[{"code":"PF033","label":"Windows"}],"Version":"2003.06.13;2003.06.14;2003.06.15;2003.06.16","Edition":"","LineofBusiness":{"code":"","label":""}},{"Product":{"code":"SSSHYJ","label":"RationalXDEDeveloper"},"BusinessUnit":{"code":"BU053","label":"Cloud&DataPlatform"},"Component":"forJava","Platform":[{"code":"PF033","label":"Windows"}],"Version":"","Edition":"","LineofBusiness":{"code":"","label":""}}] Wasthistopichelpful? NotusefulUseful DocumentInformation Modifieddate: 16June2018 UID swg21208166 PageFeedback Shareyourfeedback Needsupport? SubmitfeedbacktoIBMSupport 1-800-IBM-7378(USA) Directoryofworldwidecontacts



請為這篇文章評分?