I have no idea how, with only casual developer use of a RemObjects DataAbstract custom server in Delphi, I could be reaching a “Maximum pool size reached” exception with only ONE client connected at a time, and a total of less than 100 connections and SDK method invocations. How is it possible to leak that badly and how do I figure out how come this is happening?
Is this some kind of “Pool cleanup by garbage collection triggered by an exception” (thus it trips my debugger) or is this a bad thing? What is it and what do I do about it?
Of course it could be so. So I can suggest one way to control count of created connection. You can use BeforeAcquireConnection event to control count of created connections and BeforeReleaseConnection event to control count of released connections. So you can see is your application work correctly with connections.