Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 16 of 16 total
Thread MemoryStream into Table
Fri, Oct 26 2007 5:02 PMPermanent Link

Aage Johansen
Tim Young [Elevate Software] wrote:
> Aage,
>
> << There must be something that I miss.  What? >>
>
> Did you verify that the images were saved as JPGs in the database ?  If so,
> then you should try bumping up the BLOB block size for the table to at least
> 1-2k.
>


I could display the images without problems.
The problem was the way I used the MemoryStream.  I faintly recall
someone on these lists having a similar problem some time ago.
As soon as I changed my code the problem went away.

Only problem now: the full dataset exceeds the 4GB limit.  Maybe the
easiest workaround is splitting the data (which it is possible to do in
a meaningful way).


--
Aage J.
Mon, Oct 29 2007 4:31 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Aage,

<< I could display the images without problems. The problem was the way I
used the MemoryStream.  I faintly recall
someone on these lists having a similar problem some time ago. As soon as I
changed my code the problem went away. >>

Hmm, the memory stream size should be accurate, however, I wonder if the
memory stream contained the uncompressed bitmap image instead of the
compressed jpeg itself.

<< Only problem now: the full dataset exceeds the 4GB limit.  Maybe the
easiest workaround is splitting the data (which it is possible to do in a
meaningful way). >>

Why not just use LargeFileSupport:=True ?

http://www.elevatesoft.com/dbisam4d7_enabling_large_file_support.htm

--
Tim Young
Elevate Software
www.elevatesoft.com

Mon, Oct 29 2007 6:19 PMPermanent Link

Aage Johansen
Tim Young [Elevate Software] wrote:
> Aage,
>
> << Only problem now: the full dataset exceeds the 4GB limit.  Maybe the
> easiest workaround is splitting the data (which it is possible to do in a
> meaningful way). >>
>
> Why not just use LargeFileSupport:=True ?
>
> http://www.elevatesoft.com/dbisam4d7_enabling_large_file_support.htm
>

I just did this an hour or so ago!
Haven't tested yet...

I thought I would have to do more than this, and the dbisam4b2006.pdf
manual was missing this line (Engine.LargeFileSupport:=TrueWinkwhich I
just found in the dbisam4d6.hlp today.

--
Aage J.
Tue, Oct 30 2007 5:23 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Aage,

<< I thought I would have to do more than this, and the dbisam4b2006.pdf
manual was missing this line (Engine.LargeFileSupport:=TrueWinkwhich I just
found in the dbisam4d6.hlp today. >>

I will make sure that this is corrected.

--
Tim Young
Elevate Software
www.elevatesoft.com

Tue, Oct 30 2007 5:25 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Aage,

<< I thought I would have to do more than this, and the dbisam4b2006.pdf
manual was missing this line (Engine.LargeFileSupport:=TrueWinkwhich I just
found in the dbisam4d6.hlp today. >>

Where are you seeing this ?  I checked the "Enabling Large File Support "
topic and it seems to be okay.

--
Tim Young
Elevate Software
www.elevatesoft.com

Tue, Oct 30 2007 6:49 PMPermanent Link

Aage Johansen
Tim Young [Elevate Software] wrote:
> Aage,
>
> << I thought I would have to do more than this, and the dbisam4b2006.pdf
> manual was missing this line (Engine.LargeFileSupport:=TrueWinkwhich I just
> found in the dbisam4d6.hlp today. >>
>
> Where are you seeing this ?  I checked the "Enabling Large File Support "
> topic and it seems to be okay.
>


The pdf may already be updated.  My version of dbisam4b2006.pdf is dated
21.02.2006 (!!!).  Anyway, it is (was?) on page 30 (ch. 2.5).

--------------------------------
....
The following example shows how you would enable large file support
using the default global Engine function
in the dbisamtb unit (Delphi and Kylix) or dbisamtb header file
(C++Builder):
<THE MISSING LINE SHOULD HAVE BEEN HERE>
Note
The LargeFileSupport property must be set before the engine is started
or an exception will be raised.

2.6 Configuring and Starting the Server
....
--------------------------------


--
Aage J.
« Previous PagePage 2 of 2
Jump to Page:  1 2
Image