---
title: Data Pump export hang / uses excessive memory with many "WITH GRANT OPTION" grants superceded
description: Large numbers of WITH GRANT OPTION object grants can cause Data Pump to run slowly and run out of memory.
url: https://renaps.com/en/blog/how-to/data-pump-export-hang-uses-excessive-memory-with-many-with-grant-option-grants-superceded
language: en
translations:
  fr: https://renaps.com/fr/blog/how-to/data-pump-export-hang-uses-excessive-memory-with-many-with-grant-option-grants-superceded
date: 2016-04-19
updated: 2026-01-17
author: Patrick Hamou
tags:
- Oracle Database
- Data Pump
- Performance Tuning
- Database Administration
---

# Data Pump export hang / uses excessive memory with many "WITH GRANT OPTION" grants superceded

This note gives a brief overview of bug 9791589.  [Click here](https://support.oracle.com/epmos/faces/DocumentDisplay?id=245840.1) for details of each of the sections below.

Affects Oracle Server (Rdbms) BELOW v12.1 on all platforms.

Note that this fix can cause / expose the problem described in [Bug:10185319 ](https://support.oracle.com/epmos/faces/DocumentDisplay?id=10185319.8)\
 Note that this fix has been [superceded](https://support.oracle.com/epmos/faces/DocumentDisplay?id=245840.1#TAGS_SUPERCEDED) by the fix in [Bug:10195109 ](https://support.oracle.com/epmos/faces/DocumentDisplay?id=10195109.8)

This issue is fixed in 12.1.0.1 (Base Release)

## Symptoms

- Error May Occur
- Hang (Process Hang)
- Leak (Memory Leak / Growth)
- ORA-4030

## Related To

- Datapump Export/Import

## Description

Large numbers of WITH GRANT OPTION object grants can cause Data Pump to run slowly and run out of memory.\
 \
 **Rediscovery Notes:**\
 expdp (Data Pump export) appears to hang.  The hang occurs with\
 INCLUDE=OBJECT\_GRANT and does not occur with EXCLUDE=OBJECT\_GRANT.\
 \
 eg:\
 Processing object type DATABASE\_EXPORT/SCHEMA/TYPE/GRANT/OWNER\_GRANT/OBJECT\_GRANT\
 ORA-39014: One or more workers have prematurely exited.\
 ORA-39029: worker 1 with process name "DW00" prematurely terminated\
 ORA-31671: Worker process DW00 had an unhandled exception.\
 ORA-4030: out of process memory when trying to allocate 4032 bytes (kxs-heap-w,kghsseg : kokeismo)\
 ORA-06512: at "SYS.KUPW\$WORKER", line 1714\
 ORA-06512: at line 2

## Workaround

Use EXCLUDE=OBJECT\_GRANT
