Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Performance & Availability
Berkeley DB Family
Berkeley DB XML
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Jan 12, 2012 8:52 PM by
External Function memory leak
Jan 12, 2012 8:52 PM
The ExternalFunction.java sample code distributed with v.2.5.16 has a memory leak.
You can see this by changing the loop to iterate a million times; eventually it runs out of memory and crashes.
(I used jdk 1.7 u2 on Windows 7.)
I tried adding explicit calls to delete() for every created Java object in the example, none of which helped.
As far as I can tell, it is simply not possible to use external functions from Java without leaking memory.
Any thoughts on this?
This content has been marked as final.
Show 0 replies