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 36826 - OutOfMemoryError during compile
Summary: OutOfMemoryError during compile
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-24 16:07 UTC by davidpaules
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
my ide.log file for my installation of NetBeans (269.37 KB, text/plain)
2003-10-24 16:09 UTC, davidpaules
Details

Note You need to log in before you can comment on or make changes to this bug.
Description davidpaules 2003-10-24 16:07:21 UTC
I had NetBeans up for a few days and then one day 
I tried to compile and it gave me this error. I 
was instructed to report it here.
Comment 1 davidpaules 2003-10-24 16:09:46 UTC
Created attachment 11965 [details]
my ide.log file for my installation of NetBeans
Comment 2 pzajac 2003-11-11 14:10:11 UTC
reassigned to the java module.
Comment 3 Jan Pokorsky 2004-03-03 18:44:38 UTC
From the log I can read that you encountered the same error during two
sessions of ide. Does it mean that you can reproduce it?

For now it is too vague to determine where is the problem. I would
recommend you to enable the memory meter in your main toolbar and
watch during what steps memory is allocated and not released.

BTW do you use internal compilation?

How large is your source path (number of files in the filesystems tab
and their size)?
Comment 4 davidpaules 2004-03-05 14:42:58 UTC
I haven't seen the bug since reporting it here. I have no idea how to
reproduce the bug. I was taking a stab in the dark that it might have
been related to leaving NetBeans running for days at a time.

I don't know if I use internal or external compilation. I believe I
use external compilation (how would I know? When I select the
Build-?Compile All menu option, nothing tells me what kind of compiler
is being used.)

The project this occurred on was around 1000 source files. Those
source files depended on 7 .jar files located on a remote server. Each
jar likely includes 100 or more classes.
Comment 5 Jan Pokorsky 2004-03-11 17:22:05 UTC
To find out what compiler you use as default look at
Menu/Tools/Options/Editing/Java Sources/Default Compiler.

Comment 6 davidpaules 2004-03-11 17:53:14 UTC
I was right. I do use External Compilation.
Comment 7 Jan Pokorsky 2004-03-11 18:07:50 UTC
Hmm, so nothing strange what could show where the problem is (java or
other module). For now I close this as works for me. Feel free to
reopen the issue if you encounter it again. Thanks