Search notes:

ORA-30009: Not enough memory for CONNECT BY operation

create table tq84_100_000_records as
select
   level  id,
   lpad('x', 1000, 'x') val
from
   dual connect by level <= 1e7;

See also

The prior clause of hierarchical queries using start with and connect by.
Forcing an SQL statement to execute a given amount of time.
Other Oracle error messages

Index