Bug #2352

RCP: 0.7.9, CQP corpus re-load "not ready"

Added by Serge Heiden almost 6 years ago. Updated over 4 years ago.

Status:New Start date:03/06/2018
Priority:Normal Due date:
Assignee:- % Done:

80%

Category:Import Spent time: -
Target version:TXM 0.8.0

Description

Currently, reloading a X CQP corpus in the current session (search engine restart) can lead to a "X corpus not ready" status whereas the X corpus could be correct (on disk).

Solution

  • after X import or load, check the X corpus status: if the status is not ready ->
    1. drop each CQP corpus (to free as much of C heap memory as possible)
    2. unload cqplib (to free remaining memory pointers - typically in C stack memory - but assuming possible memory leaks)
    3. load cqplib
    4. load each CQP corpus
      • check the X corpus status: if the status is not ready -> invite to quit TXM and relaunch it (see #2351)

Related issues

related to Bug #2351: RCP: 0.7.9, CQP corpus re-load "not ready" user message New 03/06/2018

History

#1 Updated by Serge Heiden almost 6 years ago

  • Description updated (diff)

#2 Updated by Sebastien Jacquot over 5 years ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0

#3 Updated by Matthieu Decorde over 4 years ago

  • % Done changed from 0 to 80

Also available in: Atom PDF