File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Testing and the fly likes Memory Debugger Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Memory Debugger " Watch "Memory Debugger " New topic

Memory Debugger

pradeep andhra

Joined: Sep 18, 2006
Posts: 9
Hi Ranchers,

I am doing a JProbe testing on a use-case. Inspite of closing all open resources (resultset and PreparedJDBCStatement) , the snapshot(Jprobe) reports instances of OracleStatement on the heap. The memory of this is considerably high . I wish to know why these instances were not garbage collected by the JVM. The application uses Oracle type 4 driver.

The instance view detail lists a number of
T4CNumberAccessorXXXXXXX(rowSpaceChar). What is this?

Requesting replies ASAP!. Thanks in advance

Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
JProfiler allows you to find the root of of reference tree, i.e. finding out which object is holding the referenced objects from being garbage collected. Not sure whether JProbe can do something similar.

And I have no idea what a T4CNumberAccessorXXXXXXX(rowSpaceChar) is, sorry.

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I agree. Here's the link:
subject: Memory Debugger
jQuery in Action, 3rd edition