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 250772 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED DUPLICATE of bug 253331
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-27 15:55 UTC by Exceptions Reporter
Modified: 2016-06-22 07:26 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 215736


Attachments
stacktrace (2.28 KB, text/plain)
2015-02-27 15:55 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-02-27 15:55:14 UTC
This issue was reported manually by thurka.
It already has 1 duplicates 


Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows NT (unknown)

User Comments:
GUEST: -------------------------------------------------------------------------------
>Log Session: Friday, August 29, 2014 11:53:36 AM CST
>System Info: 
  Product Version         = NetBeans IDE 8.0 (Build 201403101706) (#b8e35b888b3f)
  Operating System        = Windows NT (unknown) version 6.2 running on x86
  Java; VM; Vendor        = 1.7.0; Java HotSpot(TM) Client VM 21.0-b17; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0-b147
  Java Home               = C:\Program Files (x86)\Java\jdk1.7.0\jre
  System Locale; Encoding = zh_CN (nb); GBK
  Home Directory          = C:\Users\admin
  Current Directory       = E:\wyj\NetBeans 8.0
  User Directory          = C:\Users\admin\AppData\Roaming\NetBeans\8.0
  Cache Directory         = C:\Users\admin\AppData\Local\NetBeans\Cache\8.0
  Installation            = E:\wyj\NetBeans 8.0\nb
                            E:\wyj\NetBeans 8.0\ergonomics
                            E:\wyj\NetBeans 8.0\ide




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:75)
   at java.awt.image.Raster.createPackedRaster(Raster.java:470)
   at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1032)
   at java.awt.image.BufferedImage.<init>(BufferedImage.java:338)
   at com.sun.java.swing.plaf.windows.XPStyle$SkinPainter.createImage(XPStyle.java:673)
   at sun.swing.CachedPainter.paint0(CachedPainter.java:139)
Comment 1 Exceptions Reporter 2015-02-27 15:55:17 UTC
Created attachment 152284 [details]
stacktrace
Comment 2 Tomas Hurka 2015-02-27 15:59:53 UTC
It looks like OOME is caused by parsing a large file (47M). See char[]#475576. The file looks really strange. It has a lot of following lines:
-----
<?php exit;?>04-09 14:01:21 | 2 | array_keys() expects parameter 1 to be array, boolean given | phpcms\libs\functions\global.func.php | 1416
-----
Comment 3 Ondrej Brejla 2015-02-27 17:24:00 UTC
Probably a log file, afaik we fixed parsing of such a files after 8.0.
Comment 4 Tomas Mysik 2016-06-22 07:26:15 UTC
Please update you desktop icon (and Start menu item) for NetBeans to point to
the netbeans64.exe and not netbeans.exe, this should help.

Thanks.

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