My Oracle Support Banner

JDeveloper 12.2.1.x Hangs When Editing/Opening Large XML Files (Doc ID 2364371.1)

Last updated on MARCH 19, 2021

Applies to:

Oracle JDeveloper - Version to [Release 12c]
Information in this document applies to any platform.


Experiencing performance issues when attempting to open and/or edit JSPX in JDeveloper. The IDE becomes unresponsive and hangs. Sometimes below error is logged in the messages tab:

oracle.javatools.buffer.JdkReadWriteLockImplementation$DeadlockScanner scan
SEVERE: Starvation (possible deadlock) detected:
Oracle JDeveloper 1648 (JDEVADF_12.
Oracle Corporation Java 1.8.0_111-b14

JDeveloper can hang, freeze or crash even if systems has 16 GB of RAM and JDeveloper is set to use more memory.

And taking a thread dump can show the following:

"AWT-EventQueue-0" id=15 WAITING on
at sun.misc.Unsafe.park(Native Method)
- waiting on
at java.util.concurrent.locks.LockSupport.park(
at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(
at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.lock(
at oracle.javatools.buffer.JdkReadWriteLockImplementation.lock(
at oracle.javatools.buffer.JdkReadWriteLockImplementation.writeLock(
at oracle.javatools.buffer.ReadWriteLock.writeLock(
at oracle.javatools.buffer.AbstractTextBuffer.writeLock(
at oracle.javatools.buffer.TextBufferDecorator.writeLock(
at oracle.javatools.editor.BasicDocument.writeLock(
at oracle.javatools.editor.BasicWriteAction.lock(
at oracle.javatools.editor.BasicAction.actionPerformed(
at oracle.javatools.editor.BasicWriteAction.actionPerformed(
at oracle.javatools.editor.BasicEditorKit$DefaultKeyTypedAction.actionPerformed(

This is specially noticeable when working with big XML files in projects with large class paths.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.