RMAN issues

My database backups have been running fine up to last friday. It crashed, when the online backup started, rman was pulling so much memory during the backup. Since then we have not been able to perform a hot online backup. I am using Netbackup 4.5, with the oracle plug-in, Windows 2000.
Initially the problem was that RMAN thought everything was already backed up, so I preformed a crosscheck. After preforming the crosscheck, we started receiving the message below.


The error message is below.

RMAN-10015: error compiling PL/SQL program
RMAN-10033: error during compilation of job step 2: ORA-00603: ORACLE server session terminated by fatal error
ORA-04030: out of process memory when trying to allocate 1971712 bytes (PLS non-lib hp,BAMIMA: Grow Bam Buffer)


I have expanded the memory in the shared_pool_size, so I am pretty sure this is not really a memory issue. I also changed the default on the shared_pool_reserved_size to 10%.
Nothing seemed to work. Last resort was to restart the database. That did not help either.


Please help
Michelle WilkinsParking System AdministratorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

schwertnerCommented:
No Os, no Oracle version?????

Cause
process stack was 8192 when it displayed with ulimit -a


Fix
Make stack to unlimited using
$ulimit -s unlimited
Michelle WilkinsParking System AdministratorAuthor Commented:
Sorry, Os is windows 2000 and Oracle version is 9I.
jwittenmCommented:
Has your number of datafiles grown recently?  Even by one?  Check Bug 3174292.  Workaround listed in the bug is below.

Workaround:
  There is not really a good workaround for this except to
  edit a text file and restart RMAN session.
  The file to be edited is '?/rdbms/admin/recover.bsq'.

  Following line should be changed from:
 
   krmicd.setChannelInfo
    (devtype,
     node,
     maxsize,
     sys.dbms_backup_restore.deviceQuery
       (sys.dbms_backup_restore.DEVICEQUERY_PROXY),
     sys.dbms_backup_restore.deviceQuery
       (sys.dbms_backup_restore.DEVICEQUERY_MAXPROXY));
  to
   krmicd.setChannelInfo
    (devtype,
     node,
     maxsize,
     sys.dbms_backup_restore.deviceQuery
       (sys.dbms_backup_restore.DEVICEQUERY_PROXY),
     64);

  The last number (64) indicates the a PLSQL procedure for proxy backup needs to
  be generated for every 64 files. You can make this number higher or lower
  according to your needs.

  Always backup this file before changing it.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Michelle WilkinsParking System AdministratorAuthor Commented:
It is a mystery, Oracke is on the problem. I thank you for your assistance.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.