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 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED WONTFIX
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-22 00:52 UTC by drathinam
Modified: 2012-09-21 12:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 160403


Attachments
stacktrace (3.11 KB, text/plain)
2010-04-22 00:52 UTC, drathinam
Details

Note You need to log in before you can comment on or make changes to this bug.
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.