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 182838 - [69cat] [69cat][ruby] Out of heap space parsing YAML files.
Summary: [69cat] [69cat][ruby] Out of heap space parsing YAML files.
Status: RESOLVED DUPLICATE of bug 182835
Alias: None
Product: ruby
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-26 04:03 UTC by esmithbss
Modified: 2010-03-26 12:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2010-03-26 04:03:25 UTC
[ BUILD # : 201003230200 ]
[ JDK VERSION : 1.6.* ]

One of my projects continuously generates an out of heap space exception while
parsing the yaml fixture files, but I do not receive any exception window or
anything indicating the problem except for my IDE locking up.

Here is the exception:

INFO [org.netbeans.modules.tasklist.todo.TodoTaskScanner]
java.lang.OutOfMemoryError: Java heap space
	at java.util.Arrays.copyOf(Arrays.java:2882)
	at
java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
	at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:515)
	at java.lang.StringBuffer.append(StringBuffer.java:306)
	at
org.netbeans.modules.tasklist.todo.TodoTaskScanner.getContent(TodoTaskScanner.ja
va:374)
	at
org.netbeans.modules.tasklist.todo.TodoTaskScanner.scanComments(TodoTaskScanner.
java:193)
	at
org.netbeans.modules.tasklist.todo.TodoTaskScanner.scan(TodoTaskScanner.java:102
)
	at org.netbeans.modules.tasklist.impl.TaskIndexer.index(TaskIndexer.java:121)
	at
org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor$2.run(Indexable.j
ava:172)
	at
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater.runIndexer(Reposito
ryUpdater.java:231)
	at
org.netbeans.modules.parsing.spi.indexing.Indexable$MyAccessor.index(Indexable.j
ava:170)
	at
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doIndex(Reposi
toryUpdater.java:1640)
	at
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.access$1200(Re
positoryUpdater.java:1403)
	at
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(Reposito
ryUpdater.java:1571)
	at
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work$2.run(Reposito
ryUpdater.java:1569)
	at
org.netbeans.modules.parsing.impl.indexing.errors.TaskCache.refreshTransaction(T
askCache.java:450)
	at
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.index(Reposito
ryUpdater.java:1569)
	at
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.s
canSource(RepositoryUpdater.java:3180)
	at
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$AbstractRootsWork.s
canSources(RepositoryUpdater.java:3082)
	at
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(R
epositoryUpdater.java:2833)
	at
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(Repo
sitoryUpdater.java:1975)
	at
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(Repositor
yUpdater.java:3552)
	at
org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(Repository
Updater.java:3494)
	at
org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor
.java:574)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:8
86)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
[catch] at java.lang.Thread.run(Thread.java:619)
Comment 1 esmithbss 2010-03-26 04:11:52 UTC
I have a 132MB heap dump file generated by the IDE, but I need a place to upload it as a 24MB compressed tbz2.
Comment 2 Erno Mononen 2010-03-26 12:15:32 UTC

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