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 161056

Summary: OutOfMemoryError: Requested array size exceeds VM limit
Product: php Reporter: Filip Zamboj <fzamboj>
Component: DebuggerAssignee: rmatous <rmatous>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=148126
Issue Type: DEFECT Exception Reporter: 148126
Attachments: stacktrace

Description Filip Zamboj 2009-03-24 17:55:57 UTC
Build: NetBeans IDE Dev (Build 2009-03-24_15-05-05 )
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b02
OS: Linux, 2.6.27-11-generic, amd64

User Comments:
fzamboj: well, 

I run debugging of my website on localhost using JavaScript Debugger. Beside fact I couldn't run javascript debugger in firefox (still looking for a reason) I returned backed to IDE while it was starting and clicked on Variables window. This exception was thrown right after I clicked.

GUEST: clicking on variables tab of debug session

GUEST: debugin just started, and called reload og page - evoking jump to breakpoint

charlie_smith: I was debugging a PHP project and clicked on the variables tab to view current memory.



Stacktrace: 
java.lang.OutOfMemoryError: Requested array size exceeds VM limit
        at java.util.ArrayList.<init>(ArrayList.java:112)
        at org.netbeans.modules.php.dbgp.models.VariablesModelFilter.getFilteredChildren(VariablesModelFilter.java:146)
        at org.netbeans.modules.php.dbgp.models.VariablesModelFilter.getChildrenCount(VariablesModelFilter.java:112)
        at org.netbeans.spi.viewmodel.Models$CompoundTreeModel.getChildrenCount(Models.java:714)
        at org.netbeans.spi.viewmodel.Models$CompoundModel.getChildrenCount(Models.java:3158)
        at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.evaluateLazily(TreeModelNode.java:804)
Comment 1 Filip Zamboj 2009-03-24 17:56:02 UTC
Created attachment 78775 [details]
stacktrace
Comment 2 Filip Zamboj 2009-03-24 18:34:11 UTC
highering to P1 because I can't see any workaround how to see local variables :(. Don't hesitate to lower priority if
you find out a reason :). 

 

Comment 3 rmatous 2009-03-24 21:52:21 UTC

*** This issue has been marked as a duplicate of 160956 ***