This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 216494

Summary: JPA autocomplete hangs editor
Product: javaee Reporter: autozoom <autozoom>
Component: EditorAssignee: issues@javaee <issues>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P1    
Version: 7.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description autozoom 2012-08-07 16:33:29 UTC
We have a large J2EE project with hundreds of entities; opening a JPA entity in the java editor hangs the IDE (my guess is that the JPA query autocomplete scans every entity and gets way too busy).
Netbeans process completely occupies a CPU core and eats memory (more than 1.2GB and counting).
Only way to exit is to kill the Netbeans process with task manager.
This makes 7.2 pretty unusable for us (considering switching back to 7.1.2)
Comment 1 autozoom 2012-08-07 16:36:48 UTC
Increasing permgen space to 64M and max heap size to 1536M doesn't help
The Netbeans process is not busy in I/O operations
Comment 2 Sergey Petrov 2012-08-07 16:44:52 UTC
it looks like a duplicate of issue 216053. it's hard to say without thread dump/snapshot.
feel free to reopen if it's something different in your opinion.
it's good if you can provide your snapshot also.

*** This bug has been marked as a duplicate of bug 216053 ***