Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dtp-dev] Memory leak in connectivity framework

Hi,
 
I am wondering if it is a bug with data tools connectivity framework, I was running into OutOfMemory when making consecutive (>50) connections to oracle db server, I suspect there is an memory leak out there, here are the steps to reproduce:
 
 
1. Open Database Development perspective
2. Click "New Connection Profile" button to launch "New Connection Profile" wizard
3. Choose "SQL Model-JDBC" Connection, press "Next"
4. Enter name and press "Next"
5. On the driver list, select "Oracle JDBC Driver for Oracle 10" (create one if not available on the list)
6. Enter valid Database, URL, User name and password information
7. Click "Test Connection" button
8. Repeat step 7 for >50 times
 
Same problem for DTP 0.9 RC3 (Eclipse 3.2)
 
Thanks,
David

From: dtp-dev-bounces@xxxxxxxxxxx [mailto:dtp-dev-bounces@xxxxxxxxxxx] On Behalf Of Anil Samuel
Sent: Tuesday, May 23, 2006 5:50 PM
To: DTP development mailing list
Subject: Re: [dtp-dev] Add more nodes to Schema tree node

Hi Larry

I did figure out this bit.

Following derby's SQL model example; I tried creating a model reverse engineered from Annotated Java source. The wizard that handle the process didnot pick the java sources. I found ClassCastException when I checked the workspace log file. I sent an email to this mailing list with Subject "CCE during Annotated Java Import"; but no response yet. I have to get this working ASAP.

Regards
Anthos
On 24/05/2006, at 5:15 AM, Lawrence E Dunnell wrote:


Anil,

Actually, the getters on DatabaseVendorDefinition are for "Schema Definition", "Sequence Definition", etc.  These getters are used get the definition objects that contain properties describing the database's support for features of those objects.  For instance, the Table Definition object has methods such as isAuditSupported(),  isDataCaptureSupported(), isEncodingSupported(), etc.   For what you are trying to do, the dbdefinition is not involved at all.

I don't have any experience extending the SQL model so I cannot be of any help there, however there is derby model extension in DTP that can be used as an example in the org.eclipse.datatools.modelbase.derby plug-in.

Larry Dunnell
Internet address: ledunnel@xxxxxxxxxx


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

Back to the top