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 267839 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: NEW
Alias: None
Product: utilities
Classification: Unclassified
Component: Image (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Jan Peska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-02 16:24 UTC by reghat
Modified: 2017-02-14 18:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 204300


Attachments
stacktrace (1.09 KB, text/plain)
2016-09-02 16:24 UTC, reghat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description reghat 2016-09-02 16:24:54 UTC
Build: NetBeans IDE Dev (Build 201607010002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 10

User Comments:
GUEST: left Netbeans then came back in and it give me this error. didn't happen while using it.

GUEST: Opened many jpg files. About 180 of them. Not all at the same time.
The procedure: Opened the jpg file, changed the file name depending on the image. Then the next file. If many were open, I closed them all.

GUEST: No idea...

GUEST: There was a constant check for external changes which could not be canceled.

reghat: Problems appeared after have tried to add a big picture (7.90Mo).

GUEST: opening netbeans

GUEST: Loading large JPG image.

GUEST: I have no Problem, but netbeans say: error...

GUEST: I don't know the problem. I closed Netbeans because of the cpu usage of the java process. It gets 80-100% of i7 power.

GUEST: Don't know

GUEST: i forgot

GUEST: idk

GUEST: programing in javascript

GUEST: trying to copy a picture from one folder to another

GUEST: .

GUEST: <Please provide a description of the problem or the steps to reproduce>
<record>
  <date>2014-11-03T10:40:28</date>
  <millis>1415036428405</millis>
  <sequence>236</sequence>
  <logger>org.openide.util.RequestProcessor</logger>
  <level>SEVERE</level>
  <thread>25</thread>
  <param>C:\Users\mhussain4\AppData\Roaming\NetBeans\8.0\var\log\heapdump.hprof</param>
  <exception>
    <message>java.lang.OutOfMemoryError: Java heap space</message>
    <frame>
      <class>java.awt.image.DataBufferByte</class>
      <method>&lt;init&gt;</method>
      <file>${java.home}lib/rt.jar</file>
    </frame>
    <frame>
      <class>java.awt.image.ComponentSampleModel</class>
      <method>createDataBuffer</method>
      <file>${java.home}lib/rt.jar</file>
    </frame>
    <frame>
      <class>java.awt.image.Raster</class>
      <method>createWritableRaster</method>
      <file>${java.home}lib/rt.jar</file>
    </frame>
    <frame>
      <class>javax.imageio.ImageTypeSpecifier</class>
      <method>crea




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.awt.image.DataBufferByte.<init>(DataBufferByte.java:92)
   at java.awt.image.ComponentSampleModel.createDataBuffer(ComponentSampleModel.java:445)
   at java.awt.image.Raster.createWritableRaster(Raster.java:941)
   at javax.imageio.ImageTypeSpecifier.createBufferedImage(ImageTypeSpecifier.java:1074)
   at javax.imageio.ImageReader.getDestination(ImageReader.java:2892)
   at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:1071)
Comment 1 reghat 2016-09-02 16:24:57 UTC
Created attachment 161882 [details]
stacktrace