Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread Upgrading von 2.27b1 to 2.30b2
Wed, Jan 30 2019 8:17 AMPermanent Link

Gruetzmacher

hello,
after a while i decided to go for the promising upgrade.
i use delphi xe2 and edb with sources. so it just meant to change the library path for the sources used.
when starting the program (without changing anything else) i received

Handle objects container capacity (2048) exceeded

it is highly unlikely that so many open cursors exists though the startform of my app uses 7 lookups.
i never had this kind of exception before and use madexcept for memory-leak detection.
i have exactly 3 gateways that the program must pass to access edb. counting it took 29 times until the error appeared.

did someone have a similar experience? is there something else to consider? i did not change anything in the configuration but tested locally only.

the call stack is attached

thank you



Attachments: edberror-error.txt
Fri, Feb 1 2019 2:30 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Hendrik,

<< Handle objects container capacity (2048) exceeded >>

This means that you're opening a *lot* of tables and not closing them.  Are you executing a particular operation many times ?  If so, then that's where I would start looking.

Tim Young
Elevate Software
www.elevatesoft.com
Sat, Feb 2 2019 12:52 AMPermanent Link

Gruetzmacher

hello tim,
this application runs since many years. i mostly just change the database engine.
shouldn't i get this error with 2.27b1 (and the previous versions) as well?

as written: edb is accessed maximum 29 times (query or get table) in this case.
there are no memory leaks.
there is a form that contains a master/detailgrid (table-based).
the mastertable is pimped with lookupfields (about 7 in this case) - these are the handles that are open.
when closing the form the handles (tdataset) are freed.

i am a bit clueless i have to admit ...
Wed, Feb 6 2019 11:49 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Hendrik,

<< this application runs since many years. i mostly just change the database engine.shouldn't i get this error with 2.27b1 (and the previous versions) as well? >>

Yes, provided that you didn't change anything else and introduce a bug.

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Feb 7 2019 12:58 AMPermanent Link

Gruetzmacher

hello tim,
i can confirm that i can run a blank project with 2.30b2 against the data.
however with my specific project i get this error - but with 2.27b1 i don't

Tim Young [Elevate Software] wrote:

Hendrik,

<< this application runs since many years. i mostly just change the database engine.shouldn't i get this error with 2.27b1 (and the previous versions) as well? >>

Yes, provided that you didn't change anything else and introduce a bug.

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Feb 11 2019 11:07 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Hendrik,

<< i can confirm that i can run a blank project with 2.30b2 against the data.
however with my specific project i get this error - but with 2.27b1 i don't >>

If you want to send me a working client application .exe along with the database, I can run it here against the EDB Server in the debugger and tell you exactly where the problem is.

Just make sure to include instructions if the .exe requires some setup (.ini files, etc.) before running.

Tim Young
Elevate Software
www.elevatesoft.com
Image