Bug #2352
RCP: 0.7.9, CQP corpus re-load "not ready"
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 ->
- drop each CQP corpus (to free as much of C heap memory as possible)
- unload cqplib (to free remaining memory pointers - typically in C stack memory - but assuming possible memory leaks)
- load cqplib
- 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
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