NOT searches - OUT of memory

Post Reply
skalyanaraman
Posts: 109
Joined: Tue May 29, 2001 9:13 pm

NOT searches - OUT of memory

Post by skalyanaraman »

Hi,
We are running searches of the form,

tsql "select count(DOCID) from tbldoc where DOCTEXT NOT like 'orbiter'"

This runs for a long time and we get a "OUT of memory error" and the machine goes off-line (this is on linux).

The machine is a linux machine with 1/2Gig of memory and this tsql is the only process running.
The version of texis is 4.03.1060800870 of Aug 13, 2003.

The same thing looks like is happening on solaris from the Apr 15, 2003 version. We started this query and it took a long time. But we killed it.

Any help will be greatly appreciated.

Thanks!!
skalyanaraman
Posts: 109
Joined: Tue May 29, 2001 9:13 pm

NOT searches - OUT of memory

Post by skalyanaraman »

Thanks!!
The problem is we just don't do the count, we also write the DOCID's to a file. And this is a generic functionality of our website. So, we have to change our code if we want to treat NOT searches as a special case.
We also found out that the same problem exists in our Apr 15, 2003 version on Solaris.

Any more info on this issue?

Do you think it will be a separate fix in a build for us?

Thanks for all the help in advance.
skalyanaraman
Posts: 109
Joined: Tue May 29, 2001 9:13 pm

NOT searches - OUT of memory

Post by skalyanaraman »

The table has a BLOB field names DOCTEXT.
So, these are the sizes.

tbldoc.tbl - 430MB
tbldoc.blb - 4.4GB

So, the table is around 4.5GB.
Total number of rows - 517600

We are searching the DOCTEXT field. This field has been fully indexed.

Number of rows that is "like 'orbiter'" - 309

So, everything else is "not like 'orbiter'" - 517291 rows

This last search is the one that gives out of memory.

Hope this helps!!!
skalyanaraman
Posts: 109
Joined: Tue May 29, 2001 9:13 pm

NOT searches - OUT of memory

Post by skalyanaraman »

Hi,
I was just wondering whether you were able to re-create the problem there with the information provided in the last post.

We have tested it on our side on different data and could replicate it. Do you think it is the structure of the data or any other parameters specific to us?

Thanks!!
skalyanaraman
Posts: 109
Joined: Tue May 29, 2001 9:13 pm

NOT searches - OUT of memory

Post by skalyanaraman »

Hi,
Just wondering what the status of the NOT search and memory fragmentation fix is.
Please let us know, if you have any info.

Thanks in advance for all the help!!
skalyanaraman
Posts: 109
Joined: Tue May 29, 2001 9:13 pm

NOT searches - OUT of memory

Post by skalyanaraman »

Thanks.
Can we get a ftp site where we can download the Linux and Solaris versions of this fix?

Also, can we get electronic copied in CDs for linux and Solaris mailed to us? Who do I have to contact to request this mailing of the media?

Thanks!!
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

NOT searches - OUT of memory

Post by mark »

Please contact sales on the "Contact Us" page to arrange updates.
Post Reply