Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359947 - Indexer locks up whole Eclipse UI
Summary: Indexer locks up whole Eclipse UI
Status: RESOLVED INVALID
Alias: None
Product: PTP
Classification: Tools
Component: Photran.Unknown (show other bugs)
Version: 7.0   Edit
Hardware: All All
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Photran Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-05 03:54 EDT by Greg Watson CLA
Modified: 2011-10-13 11:16 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Watson CLA 2011-10-05 03:54:20 EDT
The Photran indexer is extremely slow. I have a fortran 90 file that contains 14,115 lines and the indexer has been running on the file for over 30 minutes. This is one of 4,365 files in the code. While this is bad, what is even worse is that the entire UI is locked up while the indexer is running. I don't see any reason for this, and see it as a serious design flaw that makes Photran refactoring pretty useless for real applications.
Comment 1 Jeffrey Overbey CLA 2011-10-05 10:51:09 EDT
Do you have the file open in a Fortran editor?  There's a good chance it's deadlocking.

Can you send/attach the file?  If not, can you give a basic idea of its structure?  Is it preprocessed?

I agree that the indexer is slow -- this is exacerbated when there are many lines in a single file -- but it shouldn't be taking that long...
Comment 2 Jeffrey Overbey CLA 2011-10-13 11:12:28 EDT
Greg, you said the underlying cause was an OutOfMemoryError, right?
Comment 3 Greg Watson CLA 2011-10-13 11:16:56 EDT
Yes, that appears to be the case. At least when I reran the indexer with the heap size increased to 1GB, I didn't see the problem again.