Increasing the JVM heap size for XDE for Java - IBM
文章推薦指數: 80 %
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
延伸文章資訊
- 1How to increase the maximum memory allocated on the stack ...
- 2Visual Studio 16.7 reporting compiler is out of heap space ...
When compiling a Visual C++ project that successfully compiled under Visual Studio MSVC 16.6 yest...
- 3How to increase HEAP size in VC++ 6.0 environment - C / C++
becuase of the heap size limitation of the Visual Studio which stands ... On a side note, this fo...
- 4/HEAP | Microsoft Docs
MSVC 連結器或EDITBIN/HEAP 選項會設定堆積大小總計,並選擇性地設定其他堆積區塊的大小。
- 5cpp-docs/heap-set-heap-size.md at main - GitHub
Open the project's Property Pages dialog box. For details, see Set C++ compiler and build propert...