Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.Shutdown and Jena connections

652134Mar 20 2009 — edited Mar 24 2009
System Specs:
Oracle 11.1.0.6.0
Oracle Jena Drivers Release 2
Jena 2.5.6
Java 1.5
Web Server: Glassfish

Hello,
We are running a web application against our Oracle database. We are using the Jena drivers to open SPARQL queries. Recently we started seeing some Java Heap memory exceptions on our glassfish server. We dumped the java heap hprof file. We then analyzed the contents. Within the Heap there is an object called java.lang.Shutdown. This object maintains a HashMap of references of object that the JVM will cleanup once the web server is shutdown. It appears that this list accumulates oracle.spatial.rdf.client.jena.Oracle$1. According to the heap tool, there are 5000 of these objects accumulated in the java.lang.Shutdown. Is there a way to free these up programmatically (or avoid registering them with the java.lang.Shutdown)? I believe I am correctly closing the Oracle connections. I do not see any active Oracle JDBC connections on the server.

Thanks,
Chuck
This post has been answered by alwu-Oracle on Mar 23 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 21 2009
Added on Mar 20 2009
7 comments
2,832 views