Out of memory exception when loading from briefcasefile

Hi.
Some of my customers has an client application that work in a briefcase mode.
The files is saved to local disk with use of the TDAFileBriefcase class.
But “often” when they start up the application and try to load data from the briefcase file they get the exception:
“Out of memory” and can not load data.

I execute this code: "fBriefcase := TDAFileBriefcase.Create(DABriefcaseFileNamePath,true,true);"
This exception is raised in
uDABriefcase.pas
procedure TDAFileBriefcase.LoadData;
line --> lstreamer.Initialize(lfilestream, aiRead);

I have an dataset here that give this error. But it is filled with sensitive data so I can not post it here.

thanks

Hello,

I can’t reproduce the situation you describe. Please provide us with additional information: what Delphi and DA versions you use, what DB and driver you work with. Maybe there are some specific conditions when exception is raised? And what size has file you are trying to load?

You could also send your testcase and dataset on support@remobjects.com.

Best regards

Hi.
If you can guarantee that the dataset not will be available to unauthorized persons, I can make a complete test case that will demonstrate the issue and send it to support@remobjects.com.
Can you assure me?

thanks

Hi,

Of course, you can be sure that your dataset won’t be available for unauthorized persons.

Thank you.
I just sent an testproject both with a working dataset and a error dataset to support@remobjects.com

Thanks for testcase.
By some reasons, BriefcaseWithError.daBriefcase was written with incomplete data - it doesn’t contain list of contained tables.

Can you provide your code, how this briefcase was written, pls?