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 249579 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED DUPLICATE of bug 239611
Alias: None
Product: db
Classification: Unclassified
Component: Show Data (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-31 07:36 UTC by mesbahum
Modified: 2014-12-31 10:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 208363


Attachments
stacktrace (1.61 KB, text/plain)
2014-12-31 07:36 UTC, mesbahum
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mesbahum 2014-12-31 07:36:22 UTC
Build: NetBeans IDE 8.0.2 (Build 201408251540)
VM: OpenJDK 64-Bit Server VM, 24.65-b04, OpenJDK Runtime Environment, 1.7.0_71-b14
OS: Linux

User Comments:
GUEST: <Please provide a description of the problem or the steps to reproduce>

GUEST: Run specific query with large data

mesbahum: restarting IDE

GUEST: <Please provide a description of the problem or the steps to reproduce>

GUEST: i don't know. Just shut down NB than start it up and error report dialog show up :)

GUEST: I don't know what the problem is, the only thing I've notice is that NetBeans takes about 15 minutes to start

eftewuer: I was executing SQL query (View data command) on table with thousands of records.

GUEST: I was just closing  netbeans without any files opened.




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at oracle.jdbc.driver.Accessor.setCapacity(Accessor.java:831)
   at oracle.jdbc.driver.OracleStatement.increaseCapacity(OracleStatement.java:3523)
   at oracle.jdbc.driver.OracleStatement.fetchMoreRows(OracleStatement.java:3580)
   at oracle.jdbc.driver.InsensitiveScrollableResultSet.fetchMoreRows(InsensitiveScrollableResultSet.java:1008)
   at oracle.jdbc.driver.InsensitiveScrollableResultSet.last(InsensitiveScrollableResultSet.java:644)
   at org.netbeans.modules.db.dataview.output.SQLExecutionHelper.loadDataFrom(SQLExecutionHelper.java:786)
Comment 1 mesbahum 2014-12-31 07:36:25 UTC
Created attachment 151324 [details]
stacktrace
Comment 2 matthias42 2014-12-31 10:40:08 UTC
From the description and stack trace this happens, when the system tries to determine the number of the last row in the set. As oracle implemented scrollable resultsets only as a _very_ thin simulation on the client side this is the result.

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