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 184677

Summary: OutOfMemoryError: Java heap space
Product: javascript Reporter: drathinam <drathinam>
Component: EditorAssignee: Petr Pisl <ppisl>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 160403
Attachments: stacktrace

Description drathinam 2010-04-22 00:52:28 UTC
Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) Client VM, 1.5.0_17-b04, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_17-b04
OS: Windows Vista

User Comments:
GUEST: Scanning projects

GUEST: I opened NetBeans PHP project

GUEST: just starting up w 2 symfony based php projects open and opening connection to mysql. Think this is a long running problem w Scan Project for External Changes that seems to abend with this out of memory error. The memory indicator in netbeans does not indicate that allocated ram has been reached, far from it with approximately 208 MB used out of 406.9MB max in indicator.

GUEST: Netbeans was scanning projects which took a a fairly long time resulting in this error.

GUEST: With the latest update, still getting this error at end of scan projects task. Notice that the scan porjects task intermittently fails to copy the php files to the apache web server docs folder.




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.lang.String.<init>(String.java:174)
   at java.io.Win32FileSystem.resolve(Win32FileSystem.java:240)
   at java.io.File.<init>(File.java:284)
   at org.netbeans.modules.versioning.system.cvss.CvsVisibilityQuery.isHiddenFolder(CvsVisibilityQuery.java:137)
   at org.netbeans.modules.versioning.system.cvss.CvsVisibilityQuery.isVisible(CvsVisibilityQuery.java:99)
   at org.netbeans.modules.versioning.system.cvss.CvsVisibilityQuery.isVisible(CvsVisibilityQuery.java:89)
Comment 1 drathinam 2010-04-22 00:52:33 UTC
Created attachment 97827 [details]
stacktrace
Comment 2 Ondrej Vrabec 2010-04-22 07:41:43 UTC
Most of the reports are from org.netbeans.modules.javascript.editing.embedding.JsEmbeddingProvider - see e.g. http://statistics.netbeans.org/exceptions/exception.do?id=374540 (there's a heap dump attached)
Comment 3 Petr Pisl 2010-05-07 09:08:56 UTC
Unforntunately the stacktrace for OutOfMemoryError exception doesn't explain nothing, because it shows the trace, when it happen, but not the objects that consume the memory. 

This issue can be connected with issue #185063
Comment 4 Petr Pisl 2012-09-21 12:39:20 UTC
The JS editor is rewritten. Closing this issue, because there is different code.