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 52846 - out of memory exception
Summary: out of memory exception
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Execution (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2005-01-03 03:20 UTC by crichey
Modified: 2008-12-22 17:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NetBeans log file (114.94 KB, text/plain)
2005-01-03 03:21 UTC, crichey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description crichey 2005-01-03 03:20:00 UTC
I executed a single file compile via F9 and
received an out of memory exception.
Comment 1 crichey 2005-01-03 03:21:03 UTC
Created attachment 19426 [details]
NetBeans log file
Comment 2 _ rkubacki 2005-01-03 09:12:59 UTC
This is a problem with perm generation. Please can you provide steps
that led to this state? What you have done in the IDE before OOME? 

I've seen a lot of error messages in the log from previous sessions
mostly related to web/j2ee development or use of DB support. Do you
use your own Ant scripts (I mean project with existing Ant script)?
Comment 3 Petr Nejedly 2005-01-03 13:10:31 UTC
You probably got this after long usage of the IDE, right?
There probably is some ant task that causes a leak in number of loaded
classes, most probably some custom task.
We need to know the details of your build script and a way how to
reproduce the problem. If it is a class leak similar to issue 43113,
repetitive invocation of the compile action should be enough to
reproduce it with your setup.

Please try reproducing it and if you suceed, send us your build script
and other minimal setup needed for reproduction. We can't analyze it
otherwise...
Comment 4 crichey 2005-01-03 16:54:15 UTC
Yes, it did occur after prolonged use of the IDE and during that time
I had done several single file compile actions. I am not using any
custom ANT scripts. I will see if I can reproduce the error.
Comment 5 Petr Nejedly 2005-01-05 08:43:45 UTC
What kind of project (java app/with existing source/web) are you using?
Do you use any special java flags like -J-XX:+UseConcMarkSweepGC for
running NB?
Comment 6 Antonin Nebuzelsky 2005-01-12 10:27:01 UTC
For the moment, we need more info. Marking as incomplete.
Comment 7 Antonin Nebuzelsky 2005-02-16 14:34:26 UTC
Closing. Feel free to reopen if you provide more information.
Comment 8 Tomas Danek 2005-08-02 10:19:35 UTC
seems to be an abandoned issue. closing