-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible issue with a large quantity of class files #57
Comments
I just tried 1.4. My "guess" is that it is a memory issue. The directory tree fully displays, but as I go down the list to open a class file, some open others do not. There doesn't appear to be a pattern, so I'm thinking it has to do with the sequence the classes are loaded in. Assuming they don't load alphabetically... I am using the "Windows" exe version. |
Hi Craig. The C++ version suffers from the limitation of Win32 GDI : once all the GDI handles are consumed, some bugs appear on the GUI. For the Java/Groovy version, the graphic resources saturation is less clear for me. To validate your hypothesis, you can try to increase Xmx:
Another hypothesis may be that the background indexing mechanism, consumes too much resource (CPU & memory) and destabilizes the JVM. |
With a 32 bit java at 768m I see the following: Using a 64 bit java with Xmx = 2048m I get the following: Both hinge at the same point PogoMetaMethodSite.java:207. I've played with a few other settings for Xmx (all on 64 bit) and it seems to bounce around between the two above stacktraces. Interestingly, my max memory usage on the box ends up around 6.4 gig using both 4096m and 5120m. |
OK. I see on both stacktraces:
This method executes a recursive search on indexes to enable or disable hyperlinks on the page. I can add a try-catch to prevent this stack overflow. |
Note 1: The C++ version had a similar issue and wouldn't display the + sign next to the large directory.
Note 2: I'm stuck at Java 7 67, so that may affect the issue.
I have a large codebase with about 58,000 files, mostly class files and about 140 jar files. One directory has about 27,000 files, mostly class files no jars. When jd-gui tries to open something in that codebase, it never displays in the source code window, the tree window does appear to work.
I have a smaller codebase for a different project with about 18,000 files. That works fine.
The text was updated successfully, but these errors were encountered: