Community
Participate
Working Groups
When doing multiple (a few hundred) runs of using transient database connection profiles to connect for use with the SQM parser, the process gets OutOfMemoryError. When a transient profile is done and deleted from the connection profile manager, some weak references are still kept, and associated memory are not garbage collected. The attached patch calls #dispose immediately when deleting a transient profile, so all its managed connections kept in mFactoryIDToManagedConnection are released immediately.
Created attachment 170095 [details] Patch
Committed patch. Tagged with v201005270426. Fitz, this is just adding a call to #dispose. Let me know if you see any issue with the patch. Thanks.
Patch looks pretty straightforward to me. :)