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.
Summary: | OutOfMemoryError: PermGen space (-XX:MaxPermSize not set on JDK 7) | ||
---|---|---|---|
Product: | platform | Reporter: | divinity |
Component: | Launchers&CLI | Assignee: | Libor Fischmeistr <lfischmeistr> |
Status: | RESOLVED INCOMPLETE | ||
Severity: | normal | CC: | UTKARSH_SRIVASTAVA |
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Windows 8 x64 | ||
Issue Type: | DEFECT | Exception Reporter: | 213069 |
Attachments: | stacktrace |
Description
divinity
2014-11-29 20:28:30 UTC
Created attachment 150792 [details]
stacktrace
I couldn't extract report 768117 and rest two (748253, 754585) are from same user. It seems Lookup filled Perm Memory. I'm sorry, I have no idea what could be wrong. Reassigning to platform/Module System. Tomas, can you please evaluate? Thank you. None of the reports have: -XX:MaxPermSize=384m specified as command line option. Since all reports are from JDK 7, it means that default 96M PermSize is used and this causes OOME: PermSize. For some reason launcher thinks that netbeans is running on JDK 8 and it did not append -XX:MaxPermSize=384m command line option. Note also that it happens only on Windows. Reassigning to platform/launcher. Without launcher log we cannot do anything... To get launcher log please run NetBeans with --trace option: netbeans.exe --trace launcher.log Then please attach the log and reopen. Thanks I cannot reproduce this bug. When I start NetBeans on Windows 7 64bit with JDK 7u51, IDE Log contains "-XX:MaxPermSize=384m". I tried both netbeans.exe and netbeans64.exe. Maybe there is some problem with JDK installation. Reporters, can you please try explicitly setting JDK home in netbeans.conf? (netbeans_jdkhome, see http://wiki.netbeans.org/FaqNetbeansConf) Thank you. Product Version: NetBeans IDE Dev (Build 20150731-0f4c61a19fcc) Java: 1.7.0_51; Java HotSpot(TM) 64-Bit Server VM 24.51-b03 Runtime: Java(TM) SE Runtime Environment 1.7.0_51-b13 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) User directory: C:\Users\jhavlin\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\jhavlin\AppData\Local\NetBeans\Cache\dev *** Bug 251514 has been marked as a duplicate of this bug. *** |