DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Mon, 2018-05-21, 23:24

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Mon, 2018-01-29, 12:02 
Offline

Joined: Fri, 2014-05-09, 12:44
Posts: 4
Hi,

I'm using dcmqridx to add DICOM files to a database.
Starting with an empty (non-existent) database.
After ca. 30 studies containing some 200 images each, I get lots of "*** DB ALERT: attempt to seek beyond 33554432 bytes" messages.
I'm trying to understand whether I've hit some internal limit of dcmqridx/dcmqrscp and whether there's a way to get around it.

Additional information:
Windows 10 64bit OS
index.dat file at that time is 44.093.440 bytes large

Thanks for your help,

Michael


Top
 Profile  
 
PostPosted: Mon, 2018-01-29, 18:54 
Offline
DCMTK Developer

Joined: Tue, 2011-05-03, 14:38
Posts: 1934
Location: Oldenburg, Germany
This one was easy to find (in the source code of "dcmqrdb/libsrc/dcmqrdbi.cc"):

Code:
    /*
    ** print an alert if we are seeking to far
    ** what is the limit? We don't expect the index file to be
    ** larger than 32Mb
    */
    const long maxFileSize = 33554432;
    if (pos > maxFileSize) {
        DCMQRDB_ERROR("*** DB ALERT: attempt to seek beyond " << maxFileSize << " bytes");
    }


Top
 Profile  
 
PostPosted: Tue, 2018-01-30, 09:59 
Offline

Joined: Fri, 2014-05-09, 12:44
Posts: 4
Thanks.

Next time I will know how to find it myself.

Michael

J. Riesmeier wrote:
This one was easy to find (in the source code of "dcmqrdb/libsrc/dcmqrdbi.cc"):

Code:
    /*
    ** print an alert if we are seeking to far
    ** what is the limit? We don't expect the index file to be
    ** larger than 32Mb
    */
    const long maxFileSize = 33554432;
    if (pos > maxFileSize) {
        DCMQRDB_ERROR("*** DB ALERT: attempt to seek beyond " << maxFileSize << " bytes");
    }


Top
 Profile  
 
PostPosted: Tue, 2018-01-30, 12:09 
Offline
DCMTK Developer

Joined: Tue, 2011-05-03, 14:38
Posts: 1934
Location: Oldenburg, Germany
Regarding the "internal limits": yes, there are hard-coded limits, e.g. the following:

Code:
/// upper limit for the number of studies per storage area
#define DB_UpperMaxStudies              500
/// upper limit for the number bytes per study
#define DB_UpperMaxBytesPerStudy        0x40000000L
[...]
#define MAX_MAX_STUDIES         DB_UpperMaxStudies
#define MAX_NUMBER_OF_IMAGES    10000


The "DB Alert" on the size of the "index.dat" file should probably rather be a warning than an error message.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group