History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-17769
Type: Bug Bug
Status: Open Open
Assignee: Gregory Shrago
Reporter: David Freels
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

IDEA stops responding when an iBatis xml file is opened.

Created: 15 Apr 08 17:10   Updated: 16 Apr 08 19:05
Component/s: XML editing

Environment:
Windows XP Professional Version 2002 Service Pack 2
Intel Core 2 Duo T7500 @ 2.20 GHz 2.19 GHz - 2GB ram.

Build: 8,280
Severity: Extreme


 Description  « Hide
When opening an iBatis xml file, either select an element in the structure pane or wait a few seconds and IDEA will stop responding and consume 50% CPU (dual core system).

 All   Comments   Work Log   Change History      Sort Order:
David Freels - 15 Apr 08 22:07
idea.exe.vmoptions:

-Xms32m
-Xmx512m
-XX:MaxPermSize=192m
-ea
-agentlib:yjpagent=disablej2ee,sessionname=IntelliJIDEA

Here is the possible culprit found in the log file:

2008-04-15 14:00:25,608 [ 300433] ERROR - #com.intellij.util.Timed -
java.lang.OutOfMemoryError: Java heap space
at sun.reflect.ByteVectorImpl.resize(ByteVectorImpl.java:66)
at sun.reflect.ByteVectorImpl.add(ByteVectorImpl.java:45)
at sun.reflect.ClassFileAssembler.emitByte(ClassFileAssembler.java:56)
at sun.reflect.ClassFileAssembler.emitConstantPoolUTF8(ClassFileAssembler.java:89)
at sun.reflect.AccessorGenerator.emitBoxingContantPoolEntries(AccessorGenerator.java:281)
at sun.reflect.MethodAccessorGenerator.generate(MethodAccessorGenerator.java:337)
at sun.reflect.MethodAccessorGenerator.generateMethod(MethodAccessorGenerator.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:28)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.util.io.MappedBufferWrapper$1.run(MappedBufferWrapper.java:171)
at java.security.AccessController.$$YJP$$doPrivileged(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java)
at com.intellij.util.io.MappedBufferWrapper.clean(MappedBufferWrapper.java:161)
at com.intellij.util.io.MappedBufferWrapper.unmapMappedByteBuffer142b19(MappedBufferWrapper.java:152)
at com.intellij.util.io.MappedBufferWrapper.unmap(MappedBufferWrapper.java:74)
at com.intellij.util.io.MappedBufferWrapper.dispose(MappedBufferWrapper.java:215)
at com.intellij.util.Timed$1.run(Timed.java:86)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)


Gregory Shrago - 16 Apr 08 19:05
please post idea stack trace here (Ctrl+break in console) when it stops responding