How to fix the Oracle error ORA-06580: Hash Join ran out of memory while keeping large rows in memory?

In this post, you’ll learn more about the Oracle ErrorORA-06580: Hash Join ran out of memory while keeping large rows in memory with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-06580: Hash Join ran out of memory while keeping large rows in memory

Reason for the Error ORA-06580: Hash Join ran out of memory while keeping large rows in memory

Hash Join reserves 3 slots (each slot size = DB_BLOCK_SIZE * HASH_JOIN_MULTIBLOCK_IO_COUNT) for a row. If a row is larger than that, this error will be raised.

How to fix the Error ORA-06580: Hash Join ran out of memory while keeping large rows in memory ?

You can fix this error in Oracle by following the below steps

Increase HASH_JOIN_MULTIBLOCK_IO_COUNT so that each joined row fits in a slot. HASH_AREA_SIZE may also need to be increaed.

Tags :

Leave Your Comment