?
Solved

ORA-01000 maximum open cursors exceeded

Posted on 2004-08-25
5
Medium Priority
?
474 Views
Last Modified: 2010-03-31
I have written a large java program that inserts & Queries an Oracle database frequently.

I have started to notice I am getting the above mentioned error:
ORA-01000 maximum open cursors exceeded

I was wondering what would cause this (Code -wise) e.g. not closing statements ??

Thanks for any help
0
Comment
Question by:chocobogo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 225 total points
ID: 11893328
>>e.g. not closing statements ??

YES - first place to start looking
0
 
LVL 2

Accepted Solution

by:
lmpsteelwire earned 225 total points
ID: 11893490
use the .close on your recordsets...that should fix it
0
 

Author Comment

by:chocobogo
ID: 11893748
Cheers, I expected as much...

Where else should I look if I still get this error after closing all the statements & resultSets ?
0
 
LVL 2

Expert Comment

by:lmpsteelwire
ID: 11893785
hmm...i dont know if you have a global connection or  you open/close connections...but be sure to close connections as well, when ur done using them
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 11893854
>>use the .close on your recordsets...that should fix it

Closing Statements automatically closes ResultSets. Check connections as well
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses
Course of the Month11 days, 16 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question