- This topic has 3 replies, 2 voices, and was last updated 18 years, 4 months ago by Greg.
-
AuthorPosts
-
NicolangeloMemberI am having problems reverse engineering large projects (~1000 classes), it seems that I get out of memory errors. Also the Eclipse IDE will seem to react very slowly during and after the reverse engineering process.
What can be done to improve the MyEclipse performance for these cases?
*** Date: Thu Jul 13 15:38:07 EDT 2006
*** System properties:
OS=Windows2000
OS version=5.0
Java version=1.4.2_03*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.1.1 GA
Build id: 20060309-4.1.1-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.0
Build id: I20050627-1435Eclipse Platform
Version: 3.1.0
Build id: I20050627-1435Eclipse RCP
Version: 3.1.0
Build id: I20050627-1435Eclipse Java Development Tools
Version: 3.1.0
Build id: I20050627-1435Eclipse Plug-in Development Environment
Version: 3.1.0
Build id: I20050627-1435Eclipse Project SDK
Version: 3.1.0
Build id: I20050627-1435Eclipse Graphical Editing Framework
Version: 3.1
Build id: 200509301327Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
69c_4c
-vm
C:\WINNT\system32\javaw.exe
GregMemberThe problem most likely is that you are running out of memory. In general you need to launch eclipse with much more memory than the default. You can use the MyEclipse shortcut that was installed by the installer for some better defaults.
However, in your case, you should probably use the following arguments:
eclipse.exe -vmargs -Xmx1024M -XX:MaxPermSize=256M
NicolangeloMember1024 MB as the Xmx memory size seems like alot of memory to be using!
Why is so much needed? I haven’t seen other tools requiring so much…
GregMemberWell, maybe its a bit much. 🙂
But the point is that you shouldn’t run out with that setting. You are probably ok with the default setting for MyEclipse which is 512M.
-
AuthorPosts