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 69747 - java.lang.OutOfMemoryError in console
Summary: java.lang.OutOfMemoryError in console
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2005-12-02 12:11 UTC by Maros Sandor
Modified: 2008-12-22 18:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
OOME (2.17 KB, text/plain)
2005-12-02 12:12 UTC, Maros Sandor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maros Sandor 2005-12-02 12:11:07 UTC
I noticed suddenly there is this exception in console. I played with CVS and had
two output tabs open in the Output window (which was not in front). Other than
that, I saw no symptoms of IDE being short of memory.
Comment 1 Maros Sandor 2005-12-02 12:12:38 UTC
Created attachment 27496 [details]
OOME
Comment 2 Milos Kleint 2005-12-02 12:49:10 UTC
what OS? what jdk version? how big was the output? do you have enough free space
on disk?

please note that there are many possible OutOfMemoryException sources, the most
frequent "heap" OOME being just one of them. This looks like a problem is
java.nio memory mapping (which uses OS memory I think, not the java process one).
Comment 3 Maros Sandor 2005-12-02 13:08:03 UTC
WinXP, 1.5.0_05, output was small, cca 100 lines, I have plenty of free disk space.
Comment 4 Milos Kleint 2005-12-05 08:54:14 UTC
does it happen consistently or just one time issue?

I've rechecked the java.nio documentation and it seemed your computer didn't
have enough memory to perform the memory mapping. We do currenly the mapping
only for a  portion of the whole output file. So even for really big files we
should be on the safe side.

closing as works for me, cannot reproduce. please reopen if you have steps to
reproduce. (at least on your machine)